PathGui::PathSelectionObserver Class Reference
Public Member Functions | |
void | onSelectionChanged (const Gui::SelectionChanges &msg) |
void | setArrow (SoSwitch *pcSwitch=0) |
Public Member Functions inherited from Gui::SelectionObserver | |
void | attachSelection () |
Attaches to the selection. More... | |
bool | blockConnection (bool block) |
void | detachSelection () |
Detaches from the selection. More... | |
bool | isConnectionAttached () const |
bool | isConnectionBlocked () const |
SelectionObserver (bool attach=true, int resolve=1) | |
Constructor. More... | |
SelectionObserver (const Gui::ViewProviderDocumentObject *vp, bool attach=true, int resolve=1) | |
Constructor. More... | |
virtual | ~SelectionObserver () |
Static Public Member Functions | |
static void | init () |
Public Attributes | |
SoSwitch * | pcLastArrowSwitch = 0 |
Member Function Documentation
◆ init()
|
static |
Referenced by DocumentObject.DocumentObject::onChanged().
◆ onSelectionChanged()
|
virtual |
Implements Gui::SelectionObserver.
References Gui::Application::Instance, Base::Matrix4D::inverse(), Gui::SelectionChanges::MovePreselect, Gui::SelectionChanges::RmvPreselect, Gui::SelectionChanges::SetPreselect, Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
◆ setArrow()
void PathGui::PathSelectionObserver::setArrow | ( | SoSwitch * | pcSwitch = 0 | ) |
Member Data Documentation
◆ pcLastArrowSwitch
SoSwitch* PathGui::PathSelectionObserver::pcLastArrowSwitch = 0 |
The documentation for this class was generated from the following file:
- src/Mod/Path/Gui/ViewProviderPath.cpp