X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_Module.h;h=3ffc711301123f84777553c97fc2a4be31e804a2;hb=f34b90e9e4e02ba65419134d5d37a2e42aecfabf;hp=a0b91265aba40cb824a65370374b232f316412a9;hpb=eb4c70da2d640f24dfbfe76f6a60506d887c310f;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_Module.h b/src/HYDROGUI/HYDROGUI_Module.h index a0b91265..3ffc7113 100644 --- a/src/HYDROGUI/HYDROGUI_Module.h +++ b/src/HYDROGUI/HYDROGUI_Module.h @@ -151,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 */ @@ -168,6 +171,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(); @@ -233,11 +240,12 @@ private: HYDROGUI_VTKPrsDisplayer* myVTKDisplayer; ViewManagerMap myViewManagerMap; - ViewId2Entry2ObjectStateMap myObjectStateMap; + ViewId2Entry2ObjectStateMap myObjectStateMap; + + QMap myObjectDisplayOrderMap; ViewId2ListOfShapes myShapesMap; ViewId2ListOfVTKPrs myVTKPrsMap; - bool myIsUpdateEnabled; QStringList myGeomObjectsToImport; ///< entries of GEOM objects to be imported