Salome HOME
Replace NewGeom text to SHAPER
[modules/shaper.git] / src / SHAPERGUI / SHAPERGUI_OCCSelector.h
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 #ifndef SHAPERGUI_OCCSelector_H
4 #define SHAPERGUI_OCCSelector_H
5
6 #include "SHAPER_SHAPERGUI.h"
7
8 #include <LightApp_OCCSelector.h>
9
10 /**
11 * \ingroup Salome
12 * Redefinition of standard OCC selector in order to adapt it to SHAPER needs
13 */
14 class SHAPERGUI_EXPORT SHAPERGUI_OCCSelector : public LightApp_OCCSelector
15 {
16  public:
17    /// Constructor
18    /// \param theViewer a viewer
19    /// \param theMgr a selection manager
20   SHAPERGUI_OCCSelector(OCCViewer_Viewer* theViewer, SUIT_SelectionMgr* theMgr);
21   virtual ~SHAPERGUI_OCCSelector();
22
23  protected:
24    /// Redifinition of virtual function
25   virtual void getSelection(SUIT_DataOwnerPtrList& theList) const;
26
27    /// Redifinition of virtual function
28   virtual void setSelection(const SUIT_DataOwnerPtrList& theList);
29 };
30
31 #endif