idl/VISU_Gen.idl

Go to the documentation of this file.
00001 //  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
00002 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
00003 // 
00004 //  This library is free software; you can redistribute it and/or 
00005 //  modify it under the terms of the GNU Lesser General Public 
00006 //  License as published by the Free Software Foundation; either 
00007 //  version 2.1 of the License. 
00008 // 
00009 //  This library is distributed in the hope that it will be useful, 
00010 //  but WITHOUT ANY WARRANTY; without even the implied warranty of 
00011 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
00012 //  Lesser General Public License for more details. 
00013 // 
00014 //  You should have received a copy of the GNU Lesser General Public 
00015 //  License along with this library; if not, write to the Free Software 
00016 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
00017 // 
00018 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00019 //
00020 //  File   : VISU_Gen.idl
00021 //  Author : Alexey Petrov
00022 
00029 #ifndef __VISU_GEN__
00030 #define __VISU_GEN__
00031 
00032 #include "SALOME_Exception.idl"
00033 #include "SALOME_GenericObj.idl"
00034 #include "SALOME_Component.idl"
00035 #include "SALOMEDS.idl"
00036 #include "SALOMEDS_Attributes.idl"
00037 #include "MED.idl"
00038 
00042 module VISU {
00043   //-------------------------------------------------------
00044   typedef string IdType;
00045 
00050   enum Scaling{ LINEAR, 
00051           LOGARITHMIC 
00052            };
00053 
00058   enum Entity{ NODE, 
00059                EDGE, 
00060             FACE, 
00061             CELL  
00062             };
00063 
00068   enum VISUType {
00069     TNONE, 
00070     TCURVE, 
00071     TTABLE, 
00072     TCONTAINER, 
00073     TMESH, 
00074     TSCALARMAP, 
00075     TISOSURFACE, 
00076     TDEFORMEDSHAPE, 
00077     TSCALARMAPONDEFORMEDSHAPE, 
00078     TGAUSSPOINTS, 
00079     TPLOT3D, 
00080     TCUTPLANES, 
00081     TCUTLINES, 
00082     TVECTORS, 
00083     TSTREAMLINES, 
00084     TVISUGEN, 
00085     TVIEWMANAGER, 
00086     TRESULT, 
00087     TXYPLOT, 
00088     TTABLEVIEW, 
00089     TVIEW3D, 
00090     TGAUSSVIEW, 
00091     TENTITY, 
00092     TFAMILY, 
00093     TGROUP, 
00094     TFIELD, 
00095     TTIMESTAMP, 
00096     TANIMATION, 
00097     TALL
00098   };
00099 
00100   interface Base {
00104     IdType GetID();
00105 
00109     VISUType GetType();
00110   };
00111 
00117   interface RemovableObject : Base {
00121     void RemoveFromStudy();
00122   };
00123 
00128   interface PrsObject : RemovableObject {
00129   };
00130 
00131   //-------------------------------------------------------
00136   interface Table : PrsObject {
00141     void SetTitle(in string theTitle);
00142 
00147     string GetTitle();
00148 
00152     enum Orientation {
00153       HORIZONTAL, 
00154       VERTIACAL   
00155     };
00156 
00162     void SetOrientation(in Orientation theOrientation);
00163 
00169     Orientation GetOrientation();
00170 
00175     long GetNbRows();
00176 
00181     long GetNbColumns();
00182   };
00183 
00184   //-------------------------------------------------------
00190   interface Curve : PrsObject {
00195     void SetTitle(in string theTitle);
00196 
00201     string GetTitle();
00202 
00208     void SetColor(in SALOMEDS::Color theColor);
00209 
00215     SALOMEDS::Color GetColor();
00216 
00222     enum MarkerType { NONE,
00223                 CIRCLE,
00224                 RECTANGLE,
00225                 DIAMOND,
00226                 DTRIANGLE,
00227                 UTRIANGLE,
00228                 LTRIANGLE,
00229                 RTRIANGLE,
00230                 CROSS,
00231                 XCROSS
00232     };
00233 
00241     void SetMarker(in MarkerType theType);
00242 
00250     MarkerType GetMarker();
00251 
00256     enum LineType{ VOIDLINE, SOLIDLINE, DASHLINE, DOTLINE, DASHDOTLINE, DASHDOTDOTLINE};
00257 
00263     void SetLine(in LineType theType, in long theLineWidth);
00264 
00269     LineType GetLine();
00270 
00275     long GetLineWidth();
00276   };
00277 
00278   //-------------------------------------------------------
00284   interface Container : PrsObject {
00289     void AddCurve(in Curve theCurve);
00290 
00295     void RemoveCurve(in Curve theCurve);
00296 
00301     long GetNbCurves();
00302 
00306     void Clear();
00307   };
00308 
00309   //-------------------------------------------------------
00314   interface Prs3d : PrsObject, SALOME::GenericObj {
00315     //interface Prs3d : PrsObject{
00316     void SetOffset(in float theDx, in float theDy, in float theDz);
00317     void GetOffset(out float theDx, out float theDy, out float theDz);
00318   };
00319 
00324   enum PresentationType{ POINT,
00325                 WIREFRAME,
00326                 SHADED,
00327                 INSIDEFRAME,
00328                 SURFACEFRAME,
00329                 SHRINK
00330   };
00331 
00337   interface Mesh : Prs3d {
00342     void SetCellColor(in SALOMEDS::Color theColor);
00343 
00347     SALOMEDS::Color GetCellColor();
00348 
00353     void SetNodeColor(in SALOMEDS::Color theColor);
00354 
00358     SALOMEDS::Color GetNodeColor();
00359 
00364     void SetLinkColor(in SALOMEDS::Color theColor);
00365 
00369     SALOMEDS::Color GetLinkColor();
00370 
00376     void SetPresentationType(in PresentationType theType);
00377 
00382     PresentationType GetPresentationType();
00383   };
00384 
00385 
00386   //-------------------------------------------------------
00395   interface ColoredPrs3d : Prs3d {
00398     void SetScalarMode(in long theScalarMode);
00399 
00402     long GetScalarMode();
00403 
00407     double GetMin();
00408 
00412     double GetMax();
00413 
00420     void SetPosition(in double X, in double Y);
00421 
00425     double GetPosX();
00426 
00430     double GetPosY();
00431 
00438     void SetSize(in double theWidth, in double theHeight);
00439 
00444     double GetWidth();
00445 
00450     double GetHeight();
00451 
00456     void SetNbColors(in long theNbColors);
00457 
00463     long GetNbColors();
00464 
00470     void SetLabels(in long theNbLabels);
00471 
00477     long GetLabels();
00478 
00483     void SetTitle(in string theName);
00484 
00488     string GetTitle();
00489   };
00490 
00491 
00492   //-------------------------------------------------------
00501   interface ScalarMap : ColoredPrs3d {
00506     void SetScaling(in Scaling theScaling);
00507 
00511     Scaling GetScaling();
00512 
00518     void SetRange(in double theMin, in double theMax);
00519 
00521     enum Orientation {
00522       HORIZONTAL, 
00523       VERTICAL    
00524     };
00525 
00531     void SetBarOrientation(in Orientation theOrientation);
00532 
00536     Orientation GetBarOrientation();
00537   };
00538 
00539   //-------------------------------------------------------
00544   //-------------------------------------------------------
00545   interface GaussPoints : ColoredPrs3d {
00546   };
00547 
00552   interface DeformedShape : ScalarMap {
00557     void SetScale(in double theScale);
00558 
00562     double GetScale();
00563 
00566     boolean IsColored();
00567 
00572     void ShowColored(in boolean theColored);
00573 
00577     SALOMEDS::Color GetColor();
00578 
00583     void SetColor(in SALOMEDS::Color theColor);
00584   };
00585 
00586   //-------------------------------------------------------
00591   interface ScalarMapOnDeformedShape : ScalarMap {
00592     
00596     void SetSourceRange(in double theMinRange,in double theMaxRange);
00600     double GetSourceRangeMin();
00604     double GetSourceRangeMax();
00605     
00610     void SetScale(in double theScale);
00611 
00615     double GetScale();
00616 
00624     void SetScalarField(in string theMeshName,in string theFieldName,
00625                in long theIteration,in Entity theEntity);
00626 
00627   };
00628   //-------------------------------------------------------
00636   interface Plot3D : ScalarMap {
00641     enum Orientation { XY,   
00642                  YZ,   
00643                  ZX }; 
00654     void SetOrientation (in Orientation theOrientation, in double theXAngle, in double theYAngle);
00655 
00659     Orientation GetOrientationType();
00660 
00665     double GetRotateX();
00666 
00671     double GetRotateY();
00672 
00678     void SetPlanePosition (in double  thePlanePosition,
00679                   in boolean theIsRelative);
00680 
00684     double GetPlanePosition();
00685 
00689     boolean IsPositionRelative();
00690 
00696     void SetScaleFactor (in double theScaleFactor);
00697 
00702     double GetScaleFactor();
00703 
00708     void SetContourPrs (in boolean theIsContourPrs );
00709 
00713     boolean GetIsContourPrs();
00714 
00719     void SetNbOfContours (in long theNb);
00720 
00724     long GetNbOfContours();
00725   };
00726 
00727   //-------------------------------------------------------
00734   interface CutPlanes : ScalarMap {
00739     enum Orientation {XY, 
00740                       YZ, 
00741                 ZX}; 
00752     void SetOrientation(in Orientation theOrientation, in double theXAngle, in double theYAngle);
00753 
00757     Orientation GetOrientationType();
00758 
00762     double GetRotateX();
00763 
00767     double GetRotateY();
00768 
00778     void SetDisplacement(in double theDisp);
00779 
00783     double GetDisplacement();
00784 
00790      void SetPlanePosition(in long thePlaneNumber, in double thePlanePosition);
00791 
00796      void SetDefault(in long thePlaneNumber);
00797 
00801     double GetPlanePosition(in long thePlaneNumber);
00802 
00807     boolean IsDefault(in long thePlaneNumber);
00808 
00813     void SetNbPlanes(in long theNb);
00814 
00818     long GetNbPlanes();
00819   };
00820 
00821   //-------------------------------------------------------
00836   interface CutLines : ScalarMap {
00845     void SetOrientation(in CutPlanes::Orientation theOrientation, in double theXAngle, in double theYAngle);
00846 
00856     void SetOrientation2(in CutPlanes::Orientation theOrientation, in double theXAngle, in double theYAngle);
00857 
00861     CutPlanes::Orientation GetOrientationType();
00862 
00866     CutPlanes::Orientation GetOrientationType2();
00867 
00871     double GetRotateX();
00872 
00876     double GetRotateX2();
00877 
00881     double GetRotateY();
00882 
00886     double GetRotateY2();
00887 
00894     void SetDisplacement(in double theDisp);
00895 
00902     void SetDisplacement2(in double theDisp);
00903 
00907     double GetDisplacement();
00908 
00912     double GetDisplacement2();
00913 
00917     void SetBasePlanePosition(in double thePlanePosition);
00918 
00921     double GetBasePlanePosition();
00922 
00927     void SetLinePosition(in long thePlaneNumber, in double thePlanePosition);
00928 
00932     double GetLinePosition(in long thePlaneNumber);
00933 
00936     void SetDefault();
00937 
00942     boolean IsDefault();
00943 
00948     void SetDefaultPosition(in long thePlaneNumber);
00949 
00955     boolean IsDefaultPosition(in long thePlaneNumber);
00956 
00961     void SetNbLines(in long theNb);
00962 
00966     long GetNbLines();
00967   };
00968 
00978   interface StreamLines : DeformedShape {
00982     enum Direction{ FORWARD,
00983               BACKWARD,
00984               BOTH
00985     };
00986 
01007     boolean SetParams(in double theIntStep,
01008                 in double thePropogationTime,
01009                 in double theStepLength,
01010                 in Prs3d thePrs3d,
01011                 in double thePercents,
01012                 in Direction theDirection);
01013 
01016     double GetIntegrationStep();
01017 
01020     double GetPropagationTime();
01021 
01024     double GetStepLength();
01025 
01028     Prs3d GetSource();
01029 
01033     double GetUsedPoints();
01034 
01037     Direction GetDirection();
01038   };
01039 
01048   interface IsoSurfaces : ScalarMap {
01054     void SetNbSurfaces(in long theNb);
01055 
01059     long GetNbSurfaces();
01060   };
01061 
01062   //-------------------------------------------------------
01067   interface Vectors : DeformedShape {
01072     void SetLineWidth(in double theWidth);
01073 
01077     double GetLineWidth();
01078 
01082     enum GlyphType{ ARROW,
01083                     CONE2,
01084                     CONE6,
01085                     NONE
01086                   };
01087 
01093     void SetGlyphType(in GlyphType theType);
01094 
01098     GlyphType GetGlyphType();
01099 
01103     enum GlyphPos{ CENTER, 
01104                    TAIL,   
01105                    HEAD  
01106                  };
01107 
01113     void SetGlyphPos(in GlyphPos thePos);
01114 
01118     GlyphPos GetGlyphPos();
01119   };
01120 
01121   //-------------------------------------------------------
01136   interface Animation : Base {
01140     void addField(in SALOMEDS::SObject theObject);
01141 
01146     void generatePresentations(in long theFieldNum);
01147 
01153     boolean generateFrames();
01154 
01157     void clearView();
01158 
01162 
01165     void startAnimation();
01166 
01169     void stopAnimation();
01170 
01173     void nextFrame();
01174 
01177     void prevFrame();
01178 
01181     void firstFrame();
01182 
01185     void lastFrame();
01186 
01190     void gotoFrame(in long theFrame);
01195     long getNbFields();
01196 
01199     long getNbFrames();
01200 
01203     boolean isRunning();
01204 
01207     long getCurrentFrame();
01208 
01211     ColoredPrs3d getPresentation(in long theField, in long theFrame);
01212 
01216     void setPresentationType(in long theFieldNum, in VISUType theType);
01217 
01221     VISUType getPresentationType(in long theFieldNum);
01222 
01226     void setSpeed(in long theSpeed);
01227 
01230     long getSpeed();
01231 
01236     boolean isProportional();
01237 
01246     void setAnimationRange(in double theMin, in double theMax);
01247 
01250     double getMinRange();
01251 
01254     double getMaxRange();
01255 
01260     boolean isRangeDefined();
01261 
01266     void dumpTo(in string thePath);
01267 
01275     string setDumpFormat(in string theFormat);
01276 
01279     boolean isCycling();
01280 
01284     double getMinTime();
01285 
01289     double getMaxTime();
01290 
01296     void setProportional(in boolean theProp);
01297 
01303     void setCycling(in boolean theCycle);
01304 
01305     SALOMEDS::SObject publishInStudy();
01306 
01307     void saveAnimation();
01308 
01309     void restoreFromStudy(in SALOMEDS::SObject theSObj);
01310 
01311     boolean isSavedInStudy();
01312   };
01313 
01320   interface Result : RemovableObject, SALOME::GenericObj {
01323     boolean BuildAll();
01324 
01326     boolean Build(in boolean theIsBuildAll, in boolean theIsAtOnce);
01327 
01329     boolean IsDone();
01330 
01332     boolean IsEntitiesDone();
01333 
01335     void SetBuildFields(in boolean theIsBuildFields, in boolean theIsCalculateMinMax);
01336 
01338     boolean IsFieldsDone();
01339 
01341     void SetBuildGroups(in boolean theIsBuildGroups);
01342 
01344     boolean IsGroupsDone();
01345 
01347     boolean IsMinMaxDone();
01348   };
01349 
01350   //-------------------------------------------------------
01351   interface ViewManager;
01352   interface View3D;
01353 
01360   interface VISU_Gen : Engines::Component, SALOMEDS::Driver, Base {
01363     void SetCurrentStudy(in SALOMEDS::Study theStudy);
01364 
01367     SALOMEDS::Study GetCurrentStudy();
01368 
01373     ViewManager GetViewManager();
01374 
01378     SALOMEDS::SObject ImportTables(in string theFileName);
01379 
01383     boolean ExportTableToFile(in SALOMEDS::SObject theTable, in string theFileName);
01384 
01390     Result ImportFile(in string theFileName);
01391 
01397     Result CreateResult(in string theFileName);
01398 
01404     Result CopyAndImportFile(in string theFileName);
01405 
01409     Result ImportMed(in SALOMEDS::SObject theMedSObject);
01410 
01414     Result ImportMedField(in SALOME_MED::FIELD theField);
01415 
01424     void RenameEntityInStudy(in Result theResult,
01425                     in string theMeshName,
01426                     in Entity theEntity,
01427                     in string theNewName);
01428     void RenameFamilyInStudy(in Result theResult,
01429                     in string theMeshName,
01430                     in Entity theEntity,
01431                     in string theSubMeshName,
01432                     in string theNewName);
01433     void RenameGroupInStudy(in Result theResult,
01434                    in string theMeshName,
01435                    in string theSubMeshName,
01436                    in string theNewName);
01437 
01444     Mesh MeshOnEntity(in Result theResult, in string theMeshName, in Entity theEntity);
01445 
01453     Mesh FamilyMeshOnEntity(in Result theResult, in string theMeshName,
01454                    in Entity theEntity, in string theFamilyName);
01455 
01462     Mesh GroupMesh(in Result theResult, in string theMeshName, in string theGroupName);
01463 
01472     ScalarMap ScalarMapOnField(in Result theResult, in string theMeshName,
01473                       in Entity theEntity, in string theFieldName,
01474                       in double theIteration);
01475 
01484     GaussPoints GaussPointsOnField(in Result theResult, in string theMeshName,
01485                        in Entity theEntity, in string theFieldName,
01486                        in double theIteration);
01487 
01496     DeformedShape DeformedShapeOnField(in Result theResult, in string theMeshName,
01497                            in Entity theEntity, in string theFieldName,
01498                            in double theIteration);
01499 
01508     ScalarMapOnDeformedShape ScalarMapOnDeformedShapeOnField(in Result theResult, in string theMeshName,
01509                                         in Entity theEntity, in string theFieldName,
01510                                         in double theIteration);
01511 
01520     Vectors VectorsOnField(in Result theResult, in string theMeshName,
01521                   in Entity theEntity, in string theFieldName,
01522                   in double theIteration);
01523 
01532     IsoSurfaces IsoSurfacesOnField(in Result theResult, in string theMeshName,
01533                        in Entity theEntity, in string theFieldName,
01534                        in double theIteration);
01535 
01544     StreamLines StreamLinesOnField(in Result theResult, in string theMeshName,
01545                        in Entity theEntity, in string theFieldName,
01546                        in double theIteration);
01547 
01556     CutPlanes CutPlanesOnField(in Result theResult, in string theMeshName,
01557                       in Entity theEntity, in string theFieldName,
01558                       in double theIteration);
01559 
01568     CutLines CutLinesOnField(in Result theResult, in string theMeshName,
01569                     in Entity theEntity, in string theFieldName,
01570                     in double theIteration);
01571 
01580     Plot3D Plot3DOnField(in Result theResult, in string theMeshName,
01581                 in Entity theEntity, in string theFieldName,
01582                 in double theIteration);
01583 
01588     Table CreateTable(in string theTableEntry);
01589 
01596     Curve CreateCurve(in Table theTable, in long theHRow, in long theVRow);
01597     
01606     Curve CreateCurveWithZ( in Table theTable, in long theHRow, in long theVRow, in long theZRow );
01607 
01611     Container CreateContainer();
01612 
01616     Animation CreateAnimation(in View3D theView3d);
01617 
01618     void DeleteResult(in Result theResult);
01619 
01620     void DeletePrs3d(in Prs3d thePrs3d);
01621   };
01622 
01629   interface View: Base {
01630 
01635     enum ViewRepresentation {
01636       OBJECTBROWSER,
01637       VIEWER,
01638       PYTHON,
01639       MESSAGES
01640     };
01641 
01642     void ShowPart (in ViewRepresentation ViewRepr, in boolean state );
01643 
01644     boolean IsPartShown( in ViewRepresentation ViewRepr );
01645 
01655     void SplitRight();
01656 
01662     void SplitLeft();
01663 
01669     void SplitBottom();
01670 
01676     void SplitTop();
01677 
01681     void OnTop();
01682 
01689     void Attract (in View theView);
01690 
01697     void AttractAll (in View theView);
01698 
01706     void SetRelativePositionInSplitter (in double thePosition);
01707 
01715     void SetRelativeSizeInSplitter (in double theSize);
01716 
01722     void SetRelativePositionX (in double thePosition);
01723 
01729     void SetRelativePositionY (in double thePosition);
01730 
01736     void SetRelativeSizeX (in double theSize);
01737 
01743     void SetRelativeSizeY (in double theSize);
01744 
01748     void SetViewWidth (in long Width); //setting width of view
01749     void SetViewHeight (in long Height); //setting height of view
01750     long GetViewWidth(); //getting view width
01751     long GetViewHeight(); //getting view height
01752     enum ViewPosition {TOP, CENTER, BOTTOM, RIGHT, LEFT}; //position of the study frame
01753     void SetViewPositionHorizontal (in ViewPosition ViewPosHor); //setting of the horizontal view position
01754     void SetViewPositionVertical (in ViewPosition ViewPosVer); //setting of the vertical view position
01755     void SetRelativePosition( in double x, in double y );
01756     void SetRelativeSize( in double x, in double y );
01757     void Minimize(); // Minimizes to the task bar or to the bottom of the Desktop the %View frame.
01758     void Restore(); // Restores the %View frame.
01759     void Maximize(); // Maximizes the %View frame.
01760 
01765     void SetTitle(in string theTitle);
01766 
01770     string GetTitle();
01771 
01776     void SetBackground(in SALOMEDS::Color theColor);
01777 
01781     SALOMEDS::Color GetBackground();
01782 
01786     void EraseAll();
01787 
01791     void DisplayAll();
01792 
01797     void Erase(in PrsObject thePrsObj);
01798 
01803     void Display(in PrsObject thePrsObj);
01804 
01810     void DisplayOnly(in PrsObject thePrsObj);
01811 
01815     void Update();
01816 
01822     boolean SavePicture(in string theFileName);
01823   };
01824 
01825   //-------------------------------------------------------
01830   interface View3D : View {
01835     enum ViewType{ FRONT, BACK, LEFT, RIGHT, TOP, BOTTOM};
01836 
01840     enum Axis{ XAxis, YAxis, ZAxis};
01841 
01845     typedef double XYZ[3];
01846 
01850     void FitAll();
01851 
01856     void SetView(in ViewType theType);
01857 
01863     void SetPointOfView(in XYZ theCoord);
01864 
01870     XYZ GetPointOfView();
01871 
01875     void SetViewUp(in XYZ theDir);
01876 
01880     XYZ GetViewUp();
01881 
01886     void SetFocalPoint(in XYZ theDir);
01887 
01892     XYZ GetFocalPoint();
01893 
01897     void SetParallelScale(in double theScale);
01898 
01902     double GetParallelScale();
01903 
01909     void ScaleView(in Axis theAxis, in double theParam);
01910 
01914     void RemoveScale();
01915 
01921     boolean SaveViewParams(in string theName);
01922 
01928     boolean RestoreViewParams(in string theName);
01929 
01930 
01935     PresentationType GetPresentationType(in ScalarMap thePrs);
01936 
01942     string SetPresentationType(in ScalarMap thePrs, in PresentationType thePrsType);
01943 
01948     boolean IsShrinked(in ScalarMap thePrs);
01949 
01955     string SetShrinked(in ScalarMap thePrs, in boolean isShrinked);
01956 
01961     boolean IsShaded(in ScalarMap thePrs);
01962 
01968     string SetShaded(in ScalarMap thePrs, in boolean isShaded);
01969 
01974     double GetOpacity(in ScalarMap thePrs);
01975 
01981     string SetOpacity(in ScalarMap thePrs, in double theOpacity);
01982 
01987     double GetLineWidth(in ScalarMap thePrs);
01988 
01994     string SetLineWidth(in ScalarMap thePrs, in double theLineWidth);
01995   };
01996 
01997   //-------------------------------------------------------
02002   interface TableView : View {
02003   };
02004 
02005   //-------------------------------------------------------
02011   interface XYPlot : View {
02015     void SetSubTitle(in string theTitle);
02016 
02019     string GetSubTitle();
02020 
02025     enum CurveType { POINTS, MULTYLINE, SPLINE};
02026 
02030     void SetCurveType(in CurveType theType);
02031 
02034     CurveType GetCurveType();
02035 
02040     void SetMarkerSize(in long theSize);
02041 
02045     long GetMarkerSize();
02046 
02049     void EnableXGrid(in boolean theMajor, in long theNumMajor, in boolean theMinor, in long theNumMinor);
02050 
02053     void EnableYGrid(in boolean theMajor, in long theNumMajor, in boolean theMinor, in long theNumMinor);
02054 
02058     void SetHorScaling(in Scaling theScaling);
02059 
02062     Scaling GetHorScaling();
02063 
02067     void SetVerScaling(in Scaling theScaling);
02068 
02071     Scaling GetVerScaling();
02072 
02076     void SetXTitle(in string theTitle);
02077 
02080     string GetXTitle();
02081 
02085     void SetYTitle(in string theTitle);
02086 
02089     string GetYTitle();
02090 
02093     void ShowLegend(in boolean theShowing);
02094 
02097     void FitAll();
02098 
02101     void FitXRange(in double xMin, in double xMax);
02102 
02105     void FitYRange(in double yMin, in double yMax);
02106 
02109     void FitRange(in double xMin, in double xMax,
02110             in double yMin, in double yMax);
02111 
02112     void GetFitRanges(out double xMin,out double xMax,
02113                 out double yMin,out double yMax);
02114   };
02115 
02116   //-------------------------------------------------------
02121   interface ViewManager: Base {
02128     View GetCurrentView();
02129 
02134     View3D Create3DView();
02135 
02140     TableView CreateTableView(in Table theTable);
02141 
02146     XYPlot CreateXYPlot();
02147 
02151     void Destroy(in View theView);
02152   };
02153 };
02154 
02155 #endif