1 // Copyright (C) 2003 CEA/DEN, EDF R&D
6 // Author : Alexey Petrov
8 /*! \file VISU_Gen.idl This file conatins a set of interfaces of the %VISU module.
9 This module provides various forms of data visualization in %SALOME application.
10 These forms include data tables, XY plots, 3d representations
11 and combination of these forms.
17 #include "SALOME_Exception.idl"
18 #include "SALOME_Component.idl"
19 #include "SALOMEDS.idl"
20 #include "SALOMEDS_Attributes.idl"
24 The main package of interfaces of the post-processing module %VISU.
27 //-------------------------------------------------------
28 typedef string IdType;
30 This enumeration contains a set of elements defining the type of the scaling, which
31 can be applied on different presentations.
33 enum Scaling{ LINEAR, /*!< Linear type of scaling. */
34 LOGARITHMIC /*!< Logarithmic type of scaling. */
36 enum Entity{ NODE, EDGE, FACE, CELL};
38 This enumeration contains a set of elements defining the type of the %VISU object.
41 TCURVE, TTABLE, TCONTAINER, TMESH, TSCALARMAP,
42 TISOSURFACE, TDEFORMEDSHAPE, TCUTPLANES, TCUTLINES, TVECTORS, TSTREAMLINES,
43 TVISUGEN, TVIEWMANAGER, TRESULT,
44 TXYPLOT, TTABLEVIEW, TVIEW3D,
45 TENTITY, TFAMILY, TGROUP, TFIELD, TTIMESTAMP,
49 Returns ID of the object.
53 Returns the type of the presentable object
57 /*! \brief Presentable object interface
59 Presentable object interface is the root class of all presentable objects.
61 interface PrsObject : Base{
63 //-------------------------------------------------------
64 /*! \brief %Table representation interface
66 Presentation parameters of the %Table view.
68 interface Table : PrsObject {
70 Sets the title of the table.
72 void SetTitle(in string theTitle);
74 Gets the title of the table.
78 This enumeration contains a set of elements defining the orientation of the table.
80 enum Orientation{ HORIZONTAL, /*!<Horizontal orientation of the table.*/
81 VERTIACAL /*!<Vertical orientation of the table.*/
84 Sets orientation of the table.
86 void SetOrientation(in Orientation theOrientation);
88 Gets orientation of the table.
90 Orientation GetOrientation();
92 Gets the number of rows of the table
96 Gets the number of columns of the table
100 //-------------------------------------------------------
101 /*! \brief Interface of curve representation.
103 Manages presentation parameters of one curve.
104 It can be used for presentation of a set of curves using a combined presentation.
106 interface Curve : PrsObject{
108 Sets the title of the curve.
110 void SetTitle(in string theTitle);
112 Gets the title of the curve.
116 Sets the color of the curve.
118 void SetColor(in SALOMEDS::Color theColor);
120 Gets the color of the curve.
122 SALOMEDS::Color GetColor();
124 This enumeration contains a set of elements defining the presentation type of markers (data points) with help of
125 which the curve is constructed on the graphics.
127 enum MarkerType{ NONE, CIRCLE, RECTANGLE, DIAMOND,
128 DTRIANGLE, UTRIANGLE, LTRIANGLE, RTRIANGLE,
131 Sets the presentation type of markers (data points) with help of
132 which the curve is constructed on the graphics.
134 void SetMarker(in MarkerType theType);
136 Gets the presentation type of markers (data points) with help of
137 which the curve is constructed on the graphics.
139 MarkerType GetMarker();
141 This enumeration contains a set of elements defining the
142 type of presentation of a curve line on the graphics.
144 enum LineType{ VOIDLINE, SOLIDLINE, DASHLINE, DOTLINE, DASHDOTLINE, DASHDOTDOTLINE};
146 Sets the type of presentation of curve lines on the graphics.
148 void SetLine(in LineType theType, in long theLineWidth);
150 Gets the type of representation of curve lines on the graphics.
155 Gets the width of the curve line.
159 //-------------------------------------------------------
160 /*! \brief The %Container presentable object interface
161 This interface contains a set of methods used for management of a group of curves
162 which are stored in the container.
164 interface Container : PrsObject{
166 Adds a curve into the container.
168 void AddCurve(in Curve theCurve);
170 Removes a curve from the container.
172 void RemoveCurve(in Curve theCurve);
174 Gets the number of curves which are stored in the container.
178 Removes all curves from the container.
183 //-------------------------------------------------------
184 /*! \brief 3D presentation interface
186 This is a root class for all 3D presentations, which can be displayed in %VISU module.
188 interface Prs3d : PrsObject{
189 /*! Kills a 3D presentation.
194 This enumeration contains a set of elements defining the
195 type of presentation of the mesh.
198 enum PresentationType{ POINT,
205 /*! \brief Interface of the mesh.
207 This interface manages the presentation parameters of the mesh.
209 interface Mesh : Prs3d{
211 Sets the color of mesh cells.
213 void SetCellColor(in SALOMEDS::Color theColor);
215 Gets the color of mesh cells.
217 SALOMEDS::Color GetCellColor();
219 Sets the color of mesh nodes.
221 void SetNodeColor(in SALOMEDS::Color theColor);
223 Gets the color of mesh nodes.
225 SALOMEDS::Color GetNodeColor();
228 Sets the color of mesh links.
230 void SetLinkColor(in SALOMEDS::Color theColor);
232 Gets the color of mesh links.
234 SALOMEDS::Color GetLinkColor();
236 Sets the type of representation of the mesh.
238 void SetPresentationType(in PresentationType theType);
240 Gets the type of representation of the mesh.
242 PresentationType GetPresentationType();
244 //-------------------------------------------------------
245 /*! \brief Interface of the %Scalar Map presentation
247 This interface contains presentation parameters of the ScalarMap presentation
249 interface ScalarMap : Prs3d{
250 void SetScalarMode(in long theScaling);
251 long GetScalarMode();
252 void SetScaling(in Scaling theScaling);
254 Gets the type of scaling of the values reflected by this presentation.
256 Scaling GetScaling();
258 Sets scalar range - min and max boundaries of this presentable object.
259 \param theMin Min boundary of this presentable object.
260 \param theMax Max boundary of this presentable object.
262 void SetRange(in double theMin, in double theMax);
264 Gets the min boundary of this presentable object.
268 Gets the max boundary of this presentable object.
272 /*! %Orientation of this presentable object. */
274 HORIZONTAL, /*!< Horizontal orientation of this presentable object.*/
275 VERTICAL /*!< Vertical orientation of this presentable object.*/
278 Sets the type of orientation of this presentable object.
280 void SetOrientation(in Orientation theOrientation);
282 Gets the type of orientation of this presentable object.
284 Orientation GetOrientation();
286 /*! \brief Position of this presentable object.
288 Sets the position of this presentable object origin on the screen.
289 \param X Horizontal position. The value can be between 0 and 1.
290 \param Y Vertical position. The value can be between 0 and 1.
292 void SetPosition(in double X, in double Y);
294 Gets horizontal position of this presentable object origin.
298 Gets vertical position of this presentable object origin.
301 /*! \brief Size of this presentable object.
303 Sets the size of the scalar bar.
304 \param theWidth Width of this presentable object. The value can be between 0 and 1.
305 \param theHeight Height of this presentable object. The value can be between 0 and 1.
307 void SetSize(in double theWidth, in double theHeight);
309 Gets the width of this presentable object.
313 Gets the height of this presentable object.
317 Sets the number of colors which will be used for presentation of this presentable object.
319 void SetNbColors(in long theNbColors);
321 Gets the number of colors which will be used for presentation of this presentable object.
325 Sets the number of labels which will be used for indication of the gradation
326 of this presentable object.
328 void SetLabels(in long theNbLabels);
330 Gets the number of labels which will be used for indication of the gradation
331 of this presentable object.
335 Sets the title of this presentable object. For scalar bar by default - the name of the selected result is used.
337 void SetTitle(in string theName);
339 Gets the title of this presentable object.
343 //-------------------------------------------------------
344 /*! \brief Deformed shape presentation interface
346 Presentation parameters of the deformed shape presentation.
348 interface DeformedShape : ScalarMap{
350 Sets the scale of the presentatable object.
352 void SetScale(in double theScale);
354 Gets the scale of the presentatable object.
359 void ShowColored(in boolean theColored);
361 SALOMEDS::Color GetColor();
362 void SetColor(in SALOMEDS::Color theColor);
364 //-------------------------------------------------------
365 /*! \brief Cut planes interface
367 Presentation parameters of Cut planes presentation. This type of presentation consists of
368 cutting your initial mesh by a definite number of planes. As the result you will see these planes
369 which will be cutted by the borders of the mesh.
371 interface CutPlanes : ScalarMap{
373 This enumeration contains a set of elements defining the orientation in 3D space
376 enum Orientation {XY, YZ, ZX};
378 Sets the type of orientation in 3D space of cut planes presentation.
380 void SetOrientationType(in Orientation theNb);
382 Gets the type of orientation in 3D space of cut planes presentation.
384 Orientation GetOrientationType();
386 Sets the displacement of the cut planes in 3D space.
388 \param theDisp This parameter defines position of the cut planes
389 in 3D space. It varies from 0 to 1. If the chosen value is 0.5, the cut planes
390 will be evenly located regarding each other; in other words, the distance between all
391 of them will equal. If the value is higher or lower than 0.5, the planes will be displaced
392 to one or another side.
394 void SetDisplacement(in double theDisp);
396 Gets the displacement of the cut planes in 3D space.
398 double GetDisplacement();
400 Sets the position of a definite cut plane
402 void SetPlanePosition(in long thePlaneNumber, in double thePlanePosition);
405 Sets the position of the choosen plane to default value
407 void SetDefault(in long thePlaneNumber);
410 Gets the position of the choosen plane
413 double GetPlanePosition(in long thePlaneNumber);
416 Determines whether the choosen plane has default position
419 boolean IsDefault(in long thePlaneNumber);
422 Sets the number of cut planes.
424 void SetNbPlanes(in long theNb);
426 Gets the number of cut planes.
429 /*! Rotation around X-axis.
430 Sets rotation angle of the cut plane presentation.
432 void SetRotateX(in double theAngle);
433 /*! Rotation around X-axis.
434 Gets rotation angle of the cut plane presentation.
437 /*! Rotation around Y-axis.
438 Sets rotation angle of the cut plane presentation.
440 void SetRotateY(in double theAngle);
441 /*! Rotation around Y-axis.
442 Sets rotation angle of the cut plane presentation.
446 //-------------------------------------------------------
447 /*! \brief Cut lines interface
449 Presentation parameters of Cut lines presentation.
451 interface CutLines : ScalarMap{
453 void SetOrientationType(in CutPlanes::Orientation theNb);
454 void SetOrientationType2(in CutPlanes::Orientation theNb);
456 CutPlanes::Orientation GetOrientationType();
457 CutPlanes::Orientation GetOrientationType2();
459 void SetDisplacement(in double theDisp);
460 void SetDisplacement2(in double theDisp);
462 double GetDisplacement();
463 double GetDisplacement2();
465 void SetBasePlanePosition(in double thePlanePosition);
466 double GetBasePlanePosition();
468 void SetLinePosition(in long thePlaneNumber, in double thePlanePosition);
469 double GetLinePosition(in long thePlaneNumber);
474 void SetDefaultPosition(in long thePlaneNumber);
475 boolean IsDefaultPosition(in long thePlaneNumber);
477 void SetNbLines(in long theNb);
480 void SetRotateX(in double theAngle);
481 void SetRotateX2(in double theAngle);
484 double GetRotateX2();
486 void SetRotateY(in double theAngle);
487 void SetRotateY2(in double theAngle);
490 double GetRotateY2();
492 /*! \brief Interface of the stream lines representation
493 This interface contains presentation parameters of
494 stream lines presentations.
496 interface StreamLines : DeformedShape{
497 enum Direction{ FORWARD,
502 void SetDirection(in Direction theDirection);
503 Direction GetDirection();
505 void SetStepLength(in double theStep);
506 double GetStepLength();
508 void SetPropagationTime(in double theTime);
509 double GetPropagationTime();
511 void SetIntegrationStep(in double theStep);
512 double GetIntegrationStep();
514 void SetSource(in Prs3d thePrs3d);
517 void SetUsedPoints(in double thePercents);
518 double GetUsedPoints();
522 /*! \brief Interface of the isometric surface representation
524 This interface contains presentation parameters of
525 isometric surface presentations.
527 interface IsoSurfaces : ScalarMap{
529 Sets the number of isometric surfaces.
531 void SetNbSurfaces(in long theNb);
533 Gets the number of isometric surfaces
535 long GetNbSurfaces();
537 //-------------------------------------------------------
538 /*! \brief Interface of the vector presentation.
540 This interface contains presentation parameters of the vector.
542 interface Vectors : DeformedShape{
544 Sets the width of the line of the vector.
546 void SetLineWidth(in double theWidth);
548 Gets the width of the line of the vector.
550 double GetLineWidth();
552 This enumeration contains a set of elements defining the type of representation of the vector head.
554 enum GlyphType{ ARROW,
560 Sets the type of representation of the vector head.
562 void SetGlyphType(in GlyphType theType);
564 Gets the type of representation of the vector head.
566 GlyphType GetGlyphType();
568 This enumeration contains a set of elements defining the position of the vector head.
571 enum GlyphPos{ CENTER, /*!<In the center of the vector.*/
572 TAIL, /*!<In the tail of the vector.*/
573 HEAD /*!<In the head of the vector.*/
576 Sets the position of the vector head.
578 void SetGlyphPos(in GlyphPos thePos);
580 Gets the position of the vector head.
582 GlyphPos GetGlyphPos();
584 //-------------------------------------------------------
585 interface Animation : Base{
586 void addField(in SALOMEDS::SObject theObject);
588 void generatePresentations(in long theFieldNum);
589 boolean generateFrames();
592 void startAnimation();
593 void stopAnimation();
599 void gotoFrame(in long theFrame);
604 long getCurrentFrame();
606 ScalarMap getPresentation(in long theField, in long theFrame);
608 void setPresentationType(in long theFieldNum, in VISUType theType);
609 VISUType getPresentationType(in long theFieldNum);
611 void setSpeed(in long theSpeed);
614 boolean isProportional();
616 void setAnimationRange(in double theMin, in double theMax);
617 double getMinRange();
618 double getMaxRange();
619 boolean isRangeDefined();
621 void dumpTo(in string thePath);
628 void setProportional(in boolean theProp);
629 void setCycling(in boolean theCycle);
632 /*! \brief Interface %Result
634 This interface serves for inner representation of data generated in other sources. (MED object or file)
635 This data is needed for further construction of graphical presentations.
637 interface Result : Base {
640 //-------------------------------------------------------
641 interface ViewManager;
643 /*! \brief %VISU_Gen interface
645 This is the main interface of %VISU component. It is necessary for creation of
646 post-processing presentations from given %Result and %Table object reference, using the views
647 provided by %ViewManager.
649 interface VISU_Gen : Engines::Component, SALOMEDS::Driver, Base{
650 void SetCurrentStudy(in SALOMEDS::Study theStudy);
651 SALOMEDS::Study GetCurrentStudy();
653 Gets the %ViewManager which is used for creation of
654 post-processing presentations.
656 ViewManager GetViewManager();
659 Imports tables from a file and create TableAttribute in Sudy
661 SALOMEDS::SObject ImportTables(in string theFileName);
663 Imports data from a file.
665 Result ImportFile(in string theFileName);
667 Imports data from a %MED object.
669 Result ImportMed(in SALOMEDS::SObject theMedSObject);
671 Imports data from a %MED field.
673 Result ImportMedField(in SALOME_MED::FIELD theField);
675 Creates a %Mesh on the basis of the data generated in other sources (MED object or file).
677 Mesh MeshOnEntity(in Result theResult, in string theMeshName, in Entity theEntity);
678 Mesh FamilyMeshOnEntity(in Result theResult, in string theMeshName, in Entity theEntity, in string theFamilyName);
679 Mesh GroupMesh(in Result theResult, in string theMeshName, in string theGroupName);
681 Creates a scalar bar presentation.
682 \param theResult Data generated in other sources. (MED object or file)
683 \param theMeshName One of the meshes presented in MED file
684 \param theEntity Type of entity where the field is defined
685 \param theFieldName Group of data attributed to the %MESH. The data can be scalar or vector.
686 \param theIteration Number of iteration on the field
688 ScalarMap ScalarMapOnField(in Result theResult, in string theMeshName, in Entity theEntity, in string theFieldName, in double theIteration);
690 Creates a deformed shape presentation.
691 \param theResult Data generated in other sources. (MED object or file)
692 \param theMeshName One of the meshes presented in MED file
693 \param theEntity Type of entity where the field is defined
694 \param theFieldName Group of data attributed to the %MESH. The data can be scalar or vector.
695 \param theIteration Number of iteration on the field
697 DeformedShape DeformedShapeOnField(in Result theResult, in string theMeshName, in Entity theEntity, in string theFieldName, in double theIteration);
699 Creates a vector presentation.
700 \param theResult Data generated in other sources. (MED object or file)
701 \param theMeshName One of the meshes presented in MED file
702 \param theEntity Type of entity where the field is defined
703 \param theFieldName Group of data attributed to the %MESH. The data can be scalar or vector.
704 \param theIteration Number of iteration on the field
707 Vectors VectorsOnField(in Result theResult, in string theMeshName, in Entity theEntity, in string theFieldName, in double theIteration);
709 Creates an iso surface presentation.
710 \param theResult Data generated in other sources. (MED object or file)
711 \param theMeshName One of the meshes presented in MED file
712 \param theEntity Type of entity where the field is defined
713 \param theFieldName Group of data attributed to the %MESH. The data can be scalar or vector.
714 \param theIteration Number of iteration on the field
717 IsoSurfaces IsoSurfacesOnField(in Result theResult, in string theMeshName, in Entity theEntity, in string theFieldName, in double theIteration);
719 Creates an stream lines presentation.
720 \param theResult Data generated in other sources. (MED object or file)
721 \param theMeshName One of the meshes presented in MED file
722 \param theEntity Type of entity where the field is defined
723 \param theFieldName Group of data attributed to the %MESH. The data can be scalar or vector.
724 \param theIteration Number of iteration on the field
726 StreamLines StreamLinesOnField(in Result theResult, in string theMeshName, in Entity theEntity, in string theFieldName, in double theIteration);
729 Creates a presentation of cut planes.
730 \param theResult Data generated in other sources. (MED object or file)
731 \param theMeshName One of the meshes presented in MED file
732 \param theEntity Type of entity where the field is defined
733 \param theFieldName Group of data attributed to the %MESH. The data can be scalar or vector.
734 \param theIteration Number of iteration on the field
736 CutPlanes CutPlanesOnField(in Result theResult, in string theMeshName, in Entity theEntity, in string theFieldName, in double theIteration);
739 Creates a presentation of cut lines.
740 \param theResult Data generated in other sources. (MED object or file)
741 \param theMeshName One of the meshes presented in MED file
742 \param theEntity Type of entity where the field is defined
743 \param theFieldName Group of data attributed to the %MESH. The data can be scalar or vector.
744 \param theIteration Number of iteration on the field
746 CutLines CutLinesOnField(in Result theResult, in string theMeshName, in Entity theEntity, in string theFieldName, in double theIteration);
749 Creates a table presentation.
751 Table CreateTable(in string theTableEntry);
753 Creates a curve on the basis of points, whose values are taken from the table.
754 \param theTable Table containing the data for construction of curves.
755 \param HRow Index of the row in the table: abscissa of the point.
756 \param VRow Index of the row in the table: ordinate of the point.
758 Curve CreateCurve(in Table theTable, in long theHRow, in long theVRow);
760 Creates a presentation form containing an array of references to the curves.
762 Container CreateContainer();
764 Animation CreateAnimation(in View3D theView3d);
766 /*! \brief %View interface
768 Contains a set of methods used by the %View frame, which can be one of
769 the following types: 3d, Table, XY plot.
770 %View interface is a base for all types of %view interfaces.
772 interface View: Base{
774 Sets the title of the %View frame.
776 void SetTitle(in string theTitle);
778 Gets the title of the %View frame.
782 Sets background color of the %View frame.
784 void SetBackground(in SALOMEDS::Color theColor);
786 Gets background color of the %View frame.
788 SALOMEDS::Color GetBackground();
790 Minimizes to the task bar or to the bottom of the Desktop the %View frame.
794 Restores the %View frame.
798 Maximizes the %View frame.
802 Removes all presentations (presentable objects) from the %view.
806 Displays all presentations (presentable objects) in the %view.
810 Removes a definite presentation (presentable object) from the %view.
812 void Erase(in PrsObject thePrsObj);
814 Displays a definite presentation (presentable object) in the %view.
816 void Display(in PrsObject thePrsObj);
818 Allows to display only a definite presentation (presentable object) in the %view.
819 All other presentations are removed from the %view.
821 void DisplayOnly(in PrsObject thePrsObj);
830 boolean SavePicture(in string theFileName);
833 //-------------------------------------------------------
834 /*! \brief 3D view interface
836 This interface contains a set of methods necessary for representation of objects in 3D space.
839 interface View3D : View {
841 This enumeration contains a set of elements determining a predefined point of view
842 (position of the camera in 3D space relative to the presentable object).
844 enum ViewType{ FRONT, BACK, LEFT, RIGHT, TOP, BOTTOM};
846 This enumeration contains a set of elements determining the axis
848 enum Axis{ XAxis, YAxis, ZAxis};
850 Data type defining coordinates in 3D space.
852 typedef double XYZ[3];
855 Makes all presentations, which are currently present in the %view, completely visible.
861 Sets a predefined point of view (FRONT, BACK, LEFT, RIGHT, TOP, BOTTOM). (In other words it means
862 a predefined position of the camera in 3D space with respect to the object which is represented.)
864 void SetView(in ViewType theType);
867 Sets the position of the camera in 3D space. This point is used as the first point of the vector defining
868 the view direction of the camera.
870 void SetPointOfView(in XYZ theCoord);
872 Gets the position of the camera in 3D space.This point is used as the first point of the vector defining
873 the view direction of the camera.
875 XYZ GetPointOfView();
877 Sets the vertical line of the camera in 3D space.
879 void SetViewUp(in XYZ theDir);
881 Gets the vertical line of the camera in 3D space.
885 Sets the point of sight of the camera. This point is used as the second point of the vector defining
886 the view direction of the camera.
888 void SetFocalPoint(in XYZ theDir);
890 Gets the point of sight of the camera. This point is used as the second point of the vector defining
891 the view direction of the camera.
895 Zooming of the presentable object. Sets the scale.
897 void SetParallelScale(in double theScale);
899 Zooming of the presentable object. Gets the scale.
901 double GetParallelScale();
903 Scaling of the view along a definite axis.
904 \param theAxis The axis of the scaling
905 \param theParam The coefficient of the scaling
907 void ScaleView(in Axis theAxis, in double theParam);
909 Removes the scaling of the view.
913 Returns True if the view parameters have been created, False if the parameters have been modified.
915 boolean SaveViewParams(in string theName);
917 Returns True if the view parameters have been found and applied to the view,
918 False if the parameters with this name don't exist.
920 boolean RestoreViewParams(in string theName);
924 //-------------------------------------------------------
925 /*! \brief Interface of the Table view
927 This interface is used for creation of a view necessary for presentation of a table.
929 interface TableView : View {
934 //-------------------------------------------------------
935 /*! \brief Interface of the XY plot view
937 This interface is used for creation of a view necessary for presentation of a XY plot generated on the basis
938 of one or several curve lines.
940 interface XYPlot : View {
941 /*! Sets the title of the XY plot
942 \param theTitle The title of the XY plot
945 void SetSubTitle(in string theTitle);
946 /*! Gets the title of the XY plot
948 string GetSubTitle();
950 This enumeration contains a set of elements determining the type of the curve lines, which
951 will be displayed in your XY plot.
953 enum CurveType { POINTS, MULTYLINE, SPLINE};
954 void SetCurveType(in CurveType theType);
955 CurveType GetCurveType();
957 void SetMarkerSize(in long theSize);
958 long GetMarkerSize();
960 void EnableXGrid(in boolean theMajor, in long theNumMajor, in boolean theMinor, in long theNumMinor);
961 void EnableYGrid(in boolean theMajor, in long theNumMajor, in boolean theMinor, in long theNumMinor);
963 void SetHorScaling(in Scaling theScaling);
964 Scaling GetHorScaling();
965 void SetVerScaling(in Scaling theScaling);
966 Scaling GetVerScaling();
968 void SetXTitle(in string theTitle);
971 void SetYTitle(in string theTitle);
974 void ShowLegend(in boolean theShowing);
979 //-------------------------------------------------------
980 /*! \brief Interface of the %ViewManager
982 The %ViewManager is necessary for work with view windows (creation and deletion).
985 interface ViewManager: Base{
986 /*! \brief Getting an active %View Frame
988 Returns an object reference to the active %View Frame.
989 Type of the %View must be checked.
990 \note <BR>Returns nil if there are no views currently opened.
993 View GetCurrentView();
994 /*! \brief Creation of a 3d %View.
996 Returns an object reference to the newly created 3d %View.
998 View3D Create3DView();
1000 TableView CreateTableView(in Table theTable);
1002 XYPlot CreateXYPlot();
1004 void Destroy(in View theView);
1006 void ProcessEvents();