X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_Selection.h;h=d81ef7edaee93256265560b29a70aafb891a7505;hb=220bd2b37119be1c65abf88a88792445cb9d99f8;hp=a768c132be95b1ca1a4e2e1c9a0cb4e4dc699573;hpb=ed8328e26b6e8f5ecedc8348b5eb7d650c065564;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_Selection.h b/src/XGUI/XGUI_Selection.h index a768c132b..d81ef7eda 100644 --- 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 void setSelectedObjects( const QObjectPtrList& ) const; + /** * Returns list of currently selected results */ @@ -104,6 +106,11 @@ protected: /// \param thePresentations an output list of presentation void getSelectedInBrowser(QList& 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; };