3 // Copyright (C) 2005 CEA/DEN, EDF R&D
7 // File : SMESHGUI_Operation.h
8 // Author : Sergey LITONIN
12 #ifndef SMESHGUI_Operation_H
13 #define SMESHGUI_Operation_H
15 #include <SalomeApp_Operation.h>
16 #include <SALOME_InteractiveObject.hxx>
17 #include <SVTK_Selection.h>
20 class SVTK_ViewWindow;
22 class TColStd_MapOfInteger;
26 Class : SMESHGUI_Operation
27 Description : Base class for all SMESH operations
30 class SMESHGUI_Operation : public SalomeApp_Operation
35 SMESHGUI_Operation( SalomeApp_Application* );
36 virtual ~SMESHGUI_Operation();
39 void setSelectionMode( const Selection_Mode );
40 void highlight( const Handle( SALOME_InteractiveObject )&, const bool, const bool = true );
41 void addOrRemoveIndex( const Handle( SALOME_InteractiveObject )&, const TColStd_MapOfInteger&, const bool );
43 virtual void startOperation();
45 SMESHGUI* getSMESHGUI() const;
46 SVTK_ViewWindow* getViewWindow() const;
47 SVTK_Selector* getSelector() const;
50 SVTK_ViewWindow* myViewWindow;
51 SVTK_Selector* mySelector;