The MovableGroupModel class keeps an array of movable groups. More...
#include <ManualAlignment.h>
Public Member Functions | |
MovableGroup & | activeGroup () |
const MovableGroup & | activeGroup () const |
void | addGroup (const MovableGroup &) |
void | addGroups (const std::map< int, MovableGroup > &) |
void | clear () |
void | continueAlignment () |
int | count () const |
Base::BoundBox3d | getBoundingBox () const |
const MovableGroup & | getGroup (int i) const |
bool | isEmpty () const |
MovableGroupModel () | |
~MovableGroupModel () | |
Protected Member Functions | |
void | removeActiveGroup () |
Detailed Description
The MovableGroupModel class keeps an array of movable groups.
Constructor & Destructor Documentation
◆ MovableGroupModel()
MovableGroupModel::MovableGroupModel | ( | ) |
◆ ~MovableGroupModel()
MovableGroupModel::~MovableGroupModel | ( | ) |
Member Function Documentation
◆ activeGroup() [1/2]
const MovableGroup & MovableGroupModel::activeGroup | ( | ) |
Referenced by Gui::ManualAlignment::align(), Gui::ManualAlignment::applyPickedProbe(), Gui::ManualAlignment::canAlign(), Gui::ManualAlignment::continueAlignment(), Gui::ManualAlignment::onClear(), Gui::ManualAlignment::onRemoveLastPointMoveable(), Gui::ManualAlignment::reset(), Gui::ManualAlignment::showInstructions(), and Gui::ManualAlignment::slotDeletedObject().
◆ activeGroup() [2/2]
const MovableGroup& Gui::MovableGroupModel::activeGroup | ( | ) | const |
◆ addGroup()
void MovableGroupModel::addGroup | ( | const MovableGroup & | grp | ) |
◆ addGroups()
void MovableGroupModel::addGroups | ( | const std::map< int, MovableGroup > & | grps | ) |
Referenced by StdCmdAlignment::activated().
◆ clear()
void MovableGroupModel::clear | ( | ) |
Referenced by Gui::ManualAlignment::clearAll(), and Gui::ManualAlignment::reset().
◆ continueAlignment()
void MovableGroupModel::continueAlignment | ( | ) |
References isEmpty(), and removeActiveGroup().
Referenced by Gui::ManualAlignment::align().
◆ count()
int MovableGroupModel::count | ( | ) | const |
Referenced by getGroup().
◆ getBoundingBox()
Base::BoundBox3d MovableGroupModel::getBoundingBox | ( | ) | const |
References Base::BoundBox3< _Precision >::Add().
◆ getGroup()
const MovableGroup & MovableGroupModel::getGroup | ( | int | i | ) | const |
References count().
◆ isEmpty()
bool MovableGroupModel::isEmpty | ( | ) | const |
◆ removeActiveGroup()
|
protected |
Referenced by continueAlignment().
The documentation for this class was generated from the following files:
- src/Gui/ManualAlignment.h
- src/Gui/ManualAlignment.cpp