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
Make same planes cannot be used twice in partition tool
[modules/shaper.git]
/
src
/
XGUI
/
XGUI_Selection.h
diff --git
a/src/XGUI/XGUI_Selection.h
b/src/XGUI/XGUI_Selection.h
index a768c132be95b1ca1a4e2e1c9a0cb4e4dc699573..d81ef7edaee93256265560b29a70aafb891a7505 100644
(file)
--- a/
src/XGUI/XGUI_Selection.h
+++ b/
src/XGUI/XGUI_Selection.h
@@
-53,6
+53,8
@@
class XGUI_EXPORT XGUI_Selection : public ModuleBase_ISelection
*/
virtual QObjectPtrList selectedObjects() const;
*/
virtual QObjectPtrList selectedObjects() const;
+ virtual void setSelectedObjects( const QObjectPtrList& ) const;
+
/**
* Returns list of currently selected results
*/
/**
* Returns list of currently selected results
*/
@@
-104,6
+106,11
@@
protected:
/// \param thePresentations an output list of presentation
void getSelectedInBrowser(QList<ModuleBase_ViewerPrs>& thePresentations) const;
/// \param thePresentations an output list of presentation
void getSelectedInBrowser(QList<ModuleBase_ViewerPrs>& thePresentations) const;
+ /// Generates a vertex or edge by the give IO if it is an AIS created on trihedron
+ /// \param theIO a selected object
+ /// \return created shape or empty shape
+ TopoDS_Shape findAxisShape(Handle(AIS_InteractiveObject) theIO) const;
+
private:
XGUI_Workshop* myWorkshop;
};
private:
XGUI_Workshop* myWorkshop;
};