X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI.h;h=44b7671bbfb4187056a99a239e731197910febc5;hp=1cf6e353b9102a2832d14363983e8cddf24d0820;hb=8d297d6698f361d4f2dde723050bcfbaea050920;hpb=7eda9ca931ed2a11cb5e4637e4ffe19f5c061115 diff --git a/src/SMESHGUI/SMESHGUI.h b/src/SMESHGUI/SMESHGUI.h index 1cf6e353b..44b7671bb 100644 --- a/src/SMESHGUI/SMESHGUI.h +++ b/src/SMESHGUI/SMESHGUI.h @@ -63,8 +63,6 @@ class LightApp_SelectionMgr; class SMESH_Actor; class SMESHGUI_FilterLibraryDlg; -typedef std::map SMESHGUI_StudyId2MarkerMap; - namespace SMESH { class OrientedPlane; @@ -96,14 +94,14 @@ public : static SUIT_ResourceMgr* resourceMgr(); static SUIT_Desktop* desktop(); static SalomeApp_Study* activeStudy(); - - bool isActiveStudyLocked(); static bool automaticUpdate(unsigned int requestedSize = 0, bool* limitExceeded = 0); static bool automaticUpdate( SMESH::SMESH_IDSource_ptr, int*, bool*, int*, long* ); static void Modified( bool = true ); + static bool isStudyLocked( bool = true ); + virtual LightApp_Displayer* displayer(); virtual QString engineIOR() const; virtual void initialize( CAM_Application* ); @@ -115,6 +113,7 @@ public : void ResetState(); void SetState( int ); + int GetState() const { return myState; } bool DefineDlgPosition( QWidget*, int&, int& ); void switchToOperation( int ); @@ -224,7 +223,7 @@ private : SMESHGUI_FilterLibraryDlg* myFilterLibraryDlg; - SMESHGUI_StudyId2MarkerMap myMarkerMap; + VTK::MarkerMap myMarkerMap; SMESHGUI_ClippingPlaneInfoMap myClippingPlaneInfoMap; vtkSmartPointer myEventCallbackCommand;