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