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 () |
The MovableGroupModel class keeps an array of movable groups.
MovableGroupModel::MovableGroupModel | ( | ) |
MovableGroupModel::~MovableGroupModel | ( | ) |
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::probePickedCallback(), Gui::ManualAlignment::reset(), Gui::ManualAlignment::showInstructions(), and Gui::ManualAlignment::slotDeletedObject().
const MovableGroup & MovableGroupModel::activeGroup | ( | ) | const |
void MovableGroupModel::addGroup | ( | const MovableGroup & | grp | ) |
void MovableGroupModel::addGroups | ( | const std::map< int, MovableGroup > & | grps | ) |
Referenced by StdCmdAlignment::activated().
void MovableGroupModel::clear | ( | ) |
Referenced by Gui::ManualAlignment::clearAll(), and Gui::ManualAlignment::reset().
void MovableGroupModel::continueAlignment | ( | ) |
References isEmpty(), and removeActiveGroup().
Referenced by Gui::ManualAlignment::align().
int MovableGroupModel::count | ( | ) | const |
Base::BoundBox3d MovableGroupModel::getBoundingBox | ( | ) | const |
References Base::BoundBox3< _Precision >::Add().
const MovableGroup & MovableGroupModel::getGroup | ( | int | i | ) | const |
References count().
bool MovableGroupModel::isEmpty | ( | void | ) | const |
|
protected |
Referenced by continueAlignment().