Salome HOME
IMP 0016175: EDF455: Save GUIState don't redisplay the objects.
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_ClippingDlg.h
index a8692b37127aa1e31181a13dbfdb254b38978e6a..e0417865316b35befe7d1adc3a9eff3f4bcc8931 100644 (file)
@@ -29,6 +29,9 @@
 // SMESH includes
 #include "SMESH_SMESHGUI.hxx"
 
+// SALOME includes
+#include <SVTK_ViewWindow.h>
+
 // Qt includes
 #include <QDialog>
 
@@ -76,6 +79,20 @@ public:
   void                    setRotation( const double, const double );
   void                    Sinchronize();
 
+  // used in SMESHGUI::restoreVisualParameters() to avoid
+  // declaration of OrientedPlane outside of SMESHGUI_ClippingDlg.cxx
+  static void             AddPlane (SMESH_Actor*         theActor,
+                                   SVTK_ViewWindow*     theViewWindow,
+                                   SMESH::Orientation   theOrientation,
+                                   double               theDistance,
+                                   vtkFloatingPointType theAngle[2]);
+
+  static void             GetPlaneParam (SMESH_Actor*          theActor,
+                                        int                   thePlaneIndex,
+                                        SMESH::Orientation&   theOrientation,
+                                        double&               theDistance,
+                                        vtkFloatingPointType* theAngle);
+
 protected:  
   void                    keyPressEvent( QKeyEvent* );