Salome HOME
Merge with version on tag OCC-V2_1_0d
[modules/visu.git] / idl / VISU_Gen.idl
index a01a2bb9093db3a20beeaab7c343d4f78614841c..f27a904b46c35fe0c250e07be0fea1cb8af90421 100644 (file)
@@ -961,14 +961,6 @@ post-processing presentations from given %Result and %Table object reference, us
 provided by %ViewManager.
 */
    interface VISU_Gen : Engines::Component, SALOMEDS::Driver, Base{
-/*! SAN & VSR : Test QT_EVENT 
->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
-*/
-     void CreateTestView();
-     void ShowTestObject();
-/*! SAN & VSR : Test QT_EVENT
-<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
-*/
 /*! Sets a definite study to be current.
 */
      void SetCurrentStudy(in SALOMEDS::Study theStudy);
@@ -1123,6 +1115,11 @@ Creates a presentation form containing an array of references to the curves.
 \param theView3d The 3D view, where the animation will be rendered.
 */
      Animation CreateAnimation(in View3D theView3d);
+
+     void DeleteResult(in Result theResult);
+
+     void DeletePrs3d(in Prs3d thePrs3d);
+
   };
 /*! \brief %View interface
 
@@ -1131,6 +1128,29 @@ Creates a presentation form containing an array of references to the curves.
  %View interface is a base for all types of %view interfaces.
 */
   interface View: Base{
+
+    enum ViewRepresentation { OBJECTBROWSER, VIEWER, PYTHON, MESSAGES }; // displaying part ("ALL" isn't setable)
+
+    void ShowPart (in ViewRepresentation ViewRepr, in boolean state );
+
+    boolean IsPartShown( in ViewRepresentation ViewRepr );
+
+    void SetViewWidth (in long Width); //setting width of view
+    void SetViewHeight (in long Height); //setting height of view 
+
+    long GetViewWidth(); //getting view width
+
+    long GetViewHeight(); //getting view height
+    
+    enum ViewPosition {TOP, CENTER, BOTTOM, RIGHT, LEFT}; //position of the study frame
+    
+    void SetViewPositionHorizontal (in ViewPosition ViewPosHor); //setting of the horizontal view position
+   
+    void SetViewPositionVertical (in ViewPosition ViewPosVer); //setting of the vertical view position
+
+    void SetRelativePosition( in double x, in double y );
+    void SetRelativeSize( in double x, in double y );
 /*!
 Sets the title of the %View frame.
 \param theTitle String parameter defining the title of the %View frame.