Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Issue #394 Undo-ing a Sketch element
[modules/shaper.git]
/
src
/
NewGeom
/
NewGeom_OCCSelector.h
diff --git
a/src/NewGeom/NewGeom_OCCSelector.h
b/src/NewGeom/NewGeom_OCCSelector.h
index ce9a84615ed7868e85b1fed9b83bbd7721930852..d27a62c79d54fd8720b257839eba0a7da6df3492 100644
(file)
--- a/
src/NewGeom/NewGeom_OCCSelector.h
+++ b/
src/NewGeom/NewGeom_OCCSelector.h
@@
-1,3
+1,5
@@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
#ifndef NewGeom_OCCSelector_H
#define NewGeom_OCCSelector_H
#ifndef NewGeom_OCCSelector_H
#define NewGeom_OCCSelector_H
@@
-5,14
+7,24
@@
#include <LightApp_OCCSelector.h>
#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:
class NewGeom_EXPORT NewGeom_OCCSelector : public LightApp_OCCSelector
{
public:
+ /// Constructor
+ /// \param theViewer a viewer
+ /// \param theMgr a selection manager
NewGeom_OCCSelector(OCCViewer_Viewer* theViewer, SUIT_SelectionMgr* theMgr);
virtual ~NewGeom_OCCSelector();
protected:
NewGeom_OCCSelector(OCCViewer_Viewer* theViewer, SUIT_SelectionMgr* theMgr);
virtual ~NewGeom_OCCSelector();
protected:
+ /// Redifinition of virtual function
virtual void getSelection(SUIT_DataOwnerPtrList& theList) const;
virtual void getSelection(SUIT_DataOwnerPtrList& theList) const;
+
+ /// Redifinition of virtual function
virtual void setSelection(const SUIT_DataOwnerPtrList& theList);
};
virtual void setSelection(const SUIT_DataOwnerPtrList& theList);
};