Salome HOME
Upgrade to paraview 5.4
[modules/gui.git] / src / OCCViewer / OCCViewer_ClippingDlg.h
index 23ee3d24c011b4de7460fb7a7d1c49fe5b6f7d17..691b0cb551f57e443093a6a659d6ef962a8bb046 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -68,6 +68,7 @@ private :
   virtual void showEvent ( QShowEvent * );
   virtual void hideEvent ( QHideEvent * );
   void initParam();
+  void setPlaneParam( OCCViewer_ClipPlane& thePlane );
   void displayPreview();
   void erasePreview();
   void updatePreview();
@@ -78,6 +79,10 @@ private :
   OCCViewer_ClipPlane& getClipPlane( int );
   int clipPlanesCount();
 
+  OCCViewer_ClipPlane::PlaneMode currentPlaneMode() const;
+
+private:
+
   QComboBox* ComboBoxPlanes;
   QCheckBox* isActivePlane;
   QPushButton* buttonNew;
@@ -126,7 +131,6 @@ private :
   OCCViewer_Viewer* myModel;
   Handle(V3d_View) myView3d;
 
-  Standard_Integer myCurrentClipPlaneMode;
   std::vector<Handle(AIS_Plane)> myPreviewPlaneVector;
 
   bool myIsSelectPlane;