![]() |
VR-Forces 4.0.4 Class Documentation
|
Public Member Functions | |
| DtFormationAutoLayoutFactory () | |
| Constructor will add default formation layout entries (Column, Line) | |
| virtual | ~DtFormationAutoLayoutFactory () |
| void | addFormationAutoLayout (const QString &name, DtFormationAutoLayout *) |
| Adds a new layout to the formation. | |
| void | removeFormationAutoLayout (const QString &name) |
| virtual DtFormation * | layout (const QString &autoLayout, double spacing, const DtVrfSubObjectParameterList *) const |
| Finds the layout with the given name and asks it to lay out the formation. | |
| const QHash< QString, DtFormationAutoLayout * > & | formationAutoLayouts () const |
| const QVector< QString > & | orderedFormations () const |
Protected Attributes | |
| QHash< QString, DtFormationAutoLayout * > | myFormationAutoLayouts |
| QVector< QString > | myOrderedFormations |
Constructor will add default formation layout entries (Column, Line)
| virtual DtFormationAutoLayoutFactory::~DtFormationAutoLayoutFactory | ( | ) | [virtual] |
| void DtFormationAutoLayoutFactory::addFormationAutoLayout | ( | const QString & | name, |
| DtFormationAutoLayout * | |||
| ) |
Adds a new layout to the formation.
Takes control of the pointer passed in and will delete on removal or destructor of factory
| void DtFormationAutoLayoutFactory::removeFormationAutoLayout | ( | const QString & | name | ) |
| virtual DtFormation* DtFormationAutoLayoutFactory::layout | ( | const QString & | autoLayout, |
| double | spacing, | ||
| const DtVrfSubObjectParameterList * | |||
| ) | const [virtual] |
Finds the layout with the given name and asks it to lay out the formation.
| const QHash<QString, DtFormationAutoLayout*>& DtFormationAutoLayoutFactory::formationAutoLayouts | ( | ) | const [inline] |
| const QVector<QString>& DtFormationAutoLayoutFactory::orderedFormations | ( | ) | const [inline] |
QHash<QString, DtFormationAutoLayout*> DtFormationAutoLayoutFactory::myFormationAutoLayouts [protected] |
QVector<QString> DtFormationAutoLayoutFactory::myOrderedFormations [protected] |