Salome HOME
Refs #289 - Spline profile is represented in OCC view as polyline profile
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_Module.h
index a51ef9d27558b318fffcac036f07e72445935e2c..f4a87f481908b5427dc8f1ab715f6eda28f5abf4 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;
@@ -171,6 +168,10 @@ public:
    */
   virtual bool                    renameObject( const QString& theEntry, const QString& theName );
 
+  int                             getObjectDisplayOrder( const int theViewId,
+                                                         const Handle(HYDROData_Entity)& theObject ) const;
+  QPoint                          getPopupPosition() const;
+
 protected:
   CAM_DataModel*                  createDataModel();
 
@@ -236,12 +237,12 @@ private:
   HYDROGUI_VTKPrsDisplayer*       myVTKDisplayer;
 
   ViewManagerMap                  myViewManagerMap;
-  ViewId2Entry2ObjectStateMap      myObjectStateMap;
+  ViewId2Entry2ObjectStateMap     myObjectStateMap;
+
+  QMap<int, QStringList>          myObjectDisplayOrderMap;
 
   ViewId2ListOfShapes             myShapesMap;
   ViewId2ListOfVTKPrs             myVTKPrsMap;
-  vtkNew<vtkWorldPointPicker>     myPicker;
-
   bool                            myIsUpdateEnabled;
 
   QStringList                     myGeomObjectsToImport; ///< entries of GEOM objects to be imported