Salome HOME
Exlude the user input during process events by application (Bug #325).
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_Module.h
index 58583ab50477a05e058e2d2e050d5c26040eeaf3..3ffc711301123f84777553c97fc2a4be31e804a2 100644 (file)
 
 #include <QEvent>
 
-#include <vtkNew.h>
-
 class QGraphicsSceneMouseEvent;
 
 class GraphicsView_Viewer;
 class OCCViewer_Viewer;
 class SVTK_Viewer;
-class vtkWorldPointPicker;
 
 class SUIT_ViewWindow;
 class SUIT_ViewManager;
@@ -154,6 +151,9 @@ public:
   void                            removeObjectVTKPrs( const int                      theViewId,
                                                      const Handle(HYDROData_Entity)& theObject );
 
+  void                            removeObjectVTKPrs( const int      theViewId,
+                                                      const QString& theEntry );
+
   /**
    * Update global imposed range of Z values for the given VTK viewer id
    */
@@ -173,6 +173,7 @@ public:
 
   int                             getObjectDisplayOrder( const int theViewId,
                                                          const Handle(HYDROData_Entity)& theObject ) const;
+  QPoint                          getPopupPosition() const;
 
 protected:
   CAM_DataModel*                  createDataModel();
@@ -245,8 +246,6 @@ private:
 
   ViewId2ListOfShapes             myShapesMap;
   ViewId2ListOfVTKPrs             myVTKPrsMap;
-  vtkNew<vtkWorldPointPicker>     myPicker;
-
   bool                            myIsUpdateEnabled;
 
   QStringList                     myGeomObjectsToImport; ///< entries of GEOM objects to be imported