Salome HOME
Issue #394 Undo-ing a Sketch element
[modules/shaper.git] / src / NewGeom / NewGeom_OCCSelector.h
index ae6b1cbea85f04427d555c24f45def878c4f624d..d27a62c79d54fd8720b257839eba0a7da6df3492 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
 #ifndef NewGeom_OCCSelector_H
 #define NewGeom_OCCSelector_H
 
@@ -5,15 +7,25 @@
 
 #include <LightApp_OCCSelector.h>
 
+/**
+* \ingroup Salome
+* Redefinition of standard OCC selector in order to adapt it to NewGeom needs
+*/
 class NewGeom_EXPORT NewGeom_OCCSelector : public LightApp_OCCSelector
 {
-public:
-  NewGeom_OCCSelector( OCCViewer_Viewer* theViewer, SUIT_SelectionMgr* theMgr );
+ public:
+   /// Constructor
+   /// \param theViewer a viewer
+   /// \param theMgr a selection manager
+  NewGeom_OCCSelector(OCCViewer_Viewer* theViewer, SUIT_SelectionMgr* theMgr);
   virtual ~NewGeom_OCCSelector();
 
-protected:
-  virtual void getSelection( SUIT_DataOwnerPtrList& theList ) const;
-  virtual void setSelection( const SUIT_DataOwnerPtrList& theList );
+ protected:
+   /// Redifinition of virtual function
+  virtual void getSelection(SUIT_DataOwnerPtrList& theList) const;
+
+   /// Redifinition of virtual function
+  virtual void setSelection(const SUIT_DataOwnerPtrList& theList);
 };
 
-#endif
\ No newline at end of file
+#endif