Salome HOME
ptv, do not send mouse release event just after mouse double click
[modules/gui.git] / src / SVTK / SVTK_InteractorStyle.h
index ed00b7d4963e970783d4bdfbc1a8c4b96bc87852..53039e86b4f07cd6166fca025b99bfb4294c92ba 100644 (file)
@@ -39,6 +39,8 @@ class vtkRenderWindowInteractor;
 #include <qobject.h>
 #include <qcursor.h>
 
+#include <map>
+
 #include "VTKViewer_Filter.h"
 
 class VTKViewer_Trihedron;
@@ -76,7 +78,9 @@ class SVTK_EXPORT SVTK_InteractorStyle : public QObject,
   void setViewWindow(SVTK_ViewWindow* theViewWindow);
   void setGUIWindow(QWidget* theWindow);
 
-  void setTriedron(VTKViewer_Trihedron* theTrihedron);
+  virtual int GetState();
+
+  //merge with V2_2_0_VISU_improvements:void setTriedron(VTKViewer_Trihedron* theTrihedron);
   void setPreselectionProp(const double& theRed = 0, 
                           const double& theGreen = 1,
                           const double& theBlue = 1, 
@@ -93,7 +97,7 @@ class SVTK_EXPORT SVTK_InteractorStyle : public QObject,
 
   void OnSelectionModeChanged();
 
-  void  ViewFitAll();
+  //merge with V2_2_0_VISU_improvements:void  ViewFitAll();
 
   void                     SetFilter( const Handle(VTKViewer_Filter)& );
   Handle(VTKViewer_Filter) GetFilter( const int );  
@@ -132,7 +136,6 @@ class SVTK_EXPORT SVTK_InteractorStyle : public QObject,
                const int left, const int top, 
                const int right, const int bottom);
 
-  int State;
   float MotionFactor;
   float RadianToDegree;                 // constant: for conv from deg to rad
   double myScale;
@@ -180,7 +183,7 @@ class SVTK_EXPORT SVTK_InteractorStyle : public QObject,
   
   SVTK_RenderWindowInteractor* myInteractor;
   SVTK_ViewWindow*          myViewWindow;
-  VTKViewer_Trihedron*      myTrihedron;
+  //merge with V2_2_0_VISU_improvements:VTKViewer_Trihedron*      myTrihedron;
   QWidget*                  myGUIWindow;
   
   std::map<int, Handle(VTKViewer_Filter)> myFilters;