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 
01601     Container CreateContainer();
01602 
01606     Animation CreateAnimation(in View3D theView3d);
01607 
01608     void DeleteResult(in Result theResult);
01609 
01610     void DeletePrs3d(in Prs3d thePrs3d);
01611   };
01612 
01619   interface View: Base {
01620 
01625     enum ViewRepresentation {
01626       OBJECTBROWSER,
01627       VIEWER,
01628       PYTHON,
01629       MESSAGES
01630     };
01631 
01632     void ShowPart (in ViewRepresentation ViewRepr, in boolean state );
01633 
01634     boolean IsPartShown( in ViewRepresentation ViewRepr );
01635 
01645     void SplitRight();
01646 
01652     void SplitLeft();
01653 
01659     void SplitBottom();
01660 
01666     void SplitTop();
01667 
01671     void OnTop();
01672 
01679     void Attract (in View theView);
01680 
01687     void AttractAll (in View theView);
01688 
01696     void SetRelativePositionInSplitter (in double thePosition);
01697 
01705     void SetRelativeSizeInSplitter (in double theSize);
01706 
01712     void SetRelativePositionX (in double thePosition);
01713 
01719     void SetRelativePositionY (in double thePosition);
01720 
01726     void SetRelativeSizeX (in double theSize);
01727 
01733     void SetRelativeSizeY (in double theSize);
01734 
01738     void SetViewWidth (in long Width); //setting width of view
01739     void SetViewHeight (in long Height); //setting height of view
01740     long GetViewWidth(); //getting view width
01741     long GetViewHeight(); //getting view height
01742     enum ViewPosition {TOP, CENTER, BOTTOM, RIGHT, LEFT}; //position of the study frame
01743     void SetViewPositionHorizontal (in ViewPosition ViewPosHor); //setting of the horizontal view position
01744     void SetViewPositionVertical (in ViewPosition ViewPosVer); //setting of the vertical view position
01745     void SetRelativePosition( in double x, in double y );
01746     void SetRelativeSize( in double x, in double y );
01747     void Minimize(); // Minimizes to the task bar or to the bottom of the Desktop the %View frame.
01748     void Restore(); // Restores the %View frame.
01749     void Maximize(); // Maximizes the %View frame.
01750 
01755     void SetTitle(in string theTitle);
01756 
01760     string GetTitle();
01761 
01766     void SetBackground(in SALOMEDS::Color theColor);
01767 
01771     SALOMEDS::Color GetBackground();
01772 
01776     void EraseAll();
01777 
01781     void DisplayAll();
01782 
01787     void Erase(in PrsObject thePrsObj);
01788 
01793     void Display(in PrsObject thePrsObj);
01794 
01800     void DisplayOnly(in PrsObject thePrsObj);
01801 
01805     void Update();
01806 
01812     boolean SavePicture(in string theFileName);
01813   };
01814 
01815   //-------------------------------------------------------
01820   interface View3D : View {
01825     enum ViewType{ FRONT, BACK, LEFT, RIGHT, TOP, BOTTOM};
01826 
01830     enum Axis{ XAxis, YAxis, ZAxis};
01831 
01835     typedef double XYZ[3];
01836 
01840     void FitAll();
01841 
01846     void SetView(in ViewType theType);
01847 
01853     void SetPointOfView(in XYZ theCoord);
01854 
01860     XYZ GetPointOfView();
01861 
01865     void SetViewUp(in XYZ theDir);
01866 
01870     XYZ GetViewUp();
01871 
01876     void SetFocalPoint(in XYZ theDir);
01877 
01882     XYZ GetFocalPoint();
01883 
01887     void SetParallelScale(in double theScale);
01888 
01892     double GetParallelScale();
01893 
01899     void ScaleView(in Axis theAxis, in double theParam);
01900 
01904     void RemoveScale();
01905 
01911     boolean SaveViewParams(in string theName);
01912 
01918     boolean RestoreViewParams(in string theName);
01919 
01920 
01925     PresentationType GetPresentationType(in ScalarMap thePrs);
01926 
01932     string SetPresentationType(in ScalarMap thePrs, in PresentationType thePrsType);
01933 
01938     boolean IsShrinked(in ScalarMap thePrs);
01939 
01945     string SetShrinked(in ScalarMap thePrs, in boolean isShrinked);
01946 
01951     boolean IsShaded(in ScalarMap thePrs);
01952 
01958     string SetShaded(in ScalarMap thePrs, in boolean isShaded);
01959 
01964     double GetOpacity(in ScalarMap thePrs);
01965 
01971     string SetOpacity(in ScalarMap thePrs, in double theOpacity);
01972 
01977     double GetLineWidth(in ScalarMap thePrs);
01978 
01984     string SetLineWidth(in ScalarMap thePrs, in double theLineWidth);
01985   };
01986 
01987   //-------------------------------------------------------
01992   interface TableView : View {
01993   };
01994 
01995   //-------------------------------------------------------
02001   interface XYPlot : View {
02005     void SetSubTitle(in string theTitle);
02006 
02009     string GetSubTitle();
02010 
02015     enum CurveType { POINTS, MULTYLINE, SPLINE};
02016 
02020     void SetCurveType(in CurveType theType);
02021 
02024     CurveType GetCurveType();
02025 
02030     void SetMarkerSize(in long theSize);
02031 
02035     long GetMarkerSize();
02036 
02039     void EnableXGrid(in boolean theMajor, in long theNumMajor, in boolean theMinor, in long theNumMinor);
02040 
02043     void EnableYGrid(in boolean theMajor, in long theNumMajor, in boolean theMinor, in long theNumMinor);
02044 
02048     void SetHorScaling(in Scaling theScaling);
02049 
02052     Scaling GetHorScaling();
02053 
02057     void SetVerScaling(in Scaling theScaling);
02058 
02061     Scaling GetVerScaling();
02062 
02066     void SetXTitle(in string theTitle);
02067 
02070     string GetXTitle();
02071 
02075     void SetYTitle(in string theTitle);
02076 
02079     string GetYTitle();
02080 
02083     void ShowLegend(in boolean theShowing);
02084 
02087     void FitAll();
02088 
02091     void FitXRange(in double xMin, in double xMax);
02092 
02095     void FitYRange(in double yMin, in double yMax);
02096 
02099     void FitRange(in double xMin, in double xMax,
02100             in double yMin, in double yMax);
02101 
02102     void GetFitRanges(out double xMin,out double xMax,
02103                 out double yMin,out double yMax);
02104   };
02105 
02106   //-------------------------------------------------------
02111   interface ViewManager: Base {
02118     View GetCurrentView();
02119 
02124     View3D Create3DView();
02125 
02130     TableView CreateTableView(in Table theTable);
02131 
02136     XYPlot CreateXYPlot();
02137 
02141     void Destroy(in View theView);
02142   };
02143 };
02144 
02145 #endif