![]() |
VR-Forces 4.0.4 Class Documentation
|

Public Member Functions | |
| DtFormationModelData (DtVrfSubObjectParameterEntry *, DtVrfSubObjectParameterList *) | |
| virtual DtModelDataType | type () const |
| \ brief Returns the type of this model data | |
| const DtVrfSubObjectParameterEntry * | entry () const |
| const DtVrfSubObjectParameterList * | subordinateObjects () const |
| void | setFormationEntry (DtFormationEntry *entry) |
| DtFormationEntry * | formationEntry () const |
| void | setBoundingVolume (const Dt3dBoundingVolume *bv) |
| const Dt3dBoundingVolume * | boundingVolume () const |
| void | setFormationData (DtFormationEntry *e, DtFormation *f) |
| const DtFormation * | formation () const |
| DtFormation * | formation () |
| void | setParent (DtFormationModelData *d) |
| const DtFormationModelData * | parent () const |
| DtFormationModelData * | parent () |
| void | setRootNode (bool b) |
| bool | rootNode () const |
| void | setExpanded (bool b) |
| bool | expanded () const |
| void | addChild (DtFormationModelData *c) |
| const QVector < DtFormationModelData * > & | children () const |
| QVector< DtFormationModelData * > & | children () |
| virtual DtExtent | extent (const DtPoint &origin=DtPoint(0, 0, 0)) const |
| Returns the entire extent of this aggregate. | |
| virtual const DtPoint * | getOriginPoint () const |
| The first point in the point list is defined as the origin. | |
| virtual DtExtent | boundingBox () const |
| virtual DtPoint | positionOffset () const |
| virtual DtPoint | centerOfMass () const |
| Given the number of children, return the center of mass as applied to the current formation. | |
| DtPoint | offset () const |
| virtual bool | setNewOffsetFromLeader (const DtPoint &newPoint) |
| Given the particular body coordinate, set this offset (relative to 0, 0, 0) to the entity this object is after in the promotion hierarchy. | |
| virtual QList < DtFormationModelData * > | dataAtLeaderPromotionId (int) const |
| Returns a list of the model data where the leader id is the same as the passed in it. | |
| virtual DtFormationModelData * | dataAtPromotionId (int) const |
| void | removeChild (DtFormationModelData *child) |
| void | setParameters (DtVrfObjectParameters *p) |
| DtVrfObjectParameters * | parameters () const |
| virtual void | repositionInFormation (int iFrom, int iTo) |
| virtual void | repositionInFormation (DtFormation *, int iFrom, int iTo) |
| virtual void | addChildAtPosition (DtFormationModelData *fmd, int iPos) |
| Creates a new entry if need be and then repositions all the objects. | |
| virtual void | clearUnusedNodes () |
| Clears out nodes at the end of the formation that are not used. | |
| virtual int | depth () const |
| virtual int | maxPromotionId () const |
| virtual void | reworkOffsetsToStandAlone (DtFormation *formation) |
| Reworks all entries to not reference a leader. | |
| virtual void | reworkAsOffsetToLeader (DtFormation *formation) |
| Reworks as offset from leader in formation. | |
| void | setEntityMapperKey (const DtEntityMapperKey &k) |
| virtual DtEntityMapperKey | entityMapperKey () const |
| Returns an entity mapper key that identifies this type of object. | |
Protected Member Functions | |
| virtual DtPoint | calculateOffset (const DtFormationEntry *entry, const DtFormation *formation) const |
Protected Attributes | |
| DtVrfSubObjectParameterList * | mySubordinateObjects |
| DtVrfSubObjectParameterEntry * | myEntry |
| bool | myRootNode |
| bool | myExpanded |
| DtFormationEntry * | myFormationEntry |
| const Dt3dBoundingVolume * | myBoundingVolume |
| DtFormation * | myFormation |
| DtFormationModelData * | myParent |
| QVector< DtFormationModelData * > | myChildren |
| DtVrfObjectParameters * | myParameters |
| DtEntityMapperKey | myEntityMapperKey |
| DtFormationModelData::DtFormationModelData | ( | DtVrfSubObjectParameterEntry * | , |
| DtVrfSubObjectParameterList * | |||
| ) |
| virtual DtModelDataType DtFormationModelData::type | ( | ) | const [virtual] |
\ brief Returns the type of this model data
Reimplemented from DtModelData.
| const DtVrfSubObjectParameterEntry* DtFormationModelData::entry | ( | ) | const [inline] |
| const DtVrfSubObjectParameterList* DtFormationModelData::subordinateObjects | ( | ) | const [inline] |
| void DtFormationModelData::setFormationEntry | ( | DtFormationEntry * | entry | ) | [inline] |
| DtFormationEntry* DtFormationModelData::formationEntry | ( | ) | const [inline] |
| void DtFormationModelData::setBoundingVolume | ( | const Dt3dBoundingVolume * | bv | ) | [inline] |
| const Dt3dBoundingVolume* DtFormationModelData::boundingVolume | ( | ) | const [inline] |
| void DtFormationModelData::setFormationData | ( | DtFormationEntry * | e, |
| DtFormation * | f | ||
| ) | [inline] |
| const DtFormation* DtFormationModelData::formation | ( | ) | const [inline] |
| DtFormation* DtFormationModelData::formation | ( | ) | [inline] |
| void DtFormationModelData::setParent | ( | DtFormationModelData * | d | ) | [inline] |
Referenced by addChild().
| const DtFormationModelData* DtFormationModelData::parent | ( | ) | const [inline] |
| DtFormationModelData* DtFormationModelData::parent | ( | ) | [inline] |
| void DtFormationModelData::setRootNode | ( | bool | b | ) | [inline] |
| bool DtFormationModelData::rootNode | ( | ) | const [inline] |
| void DtFormationModelData::setExpanded | ( | bool | b | ) | [inline] |
| bool DtFormationModelData::expanded | ( | ) | const [inline] |
| void DtFormationModelData::addChild | ( | DtFormationModelData * | c | ) | [inline] |
References setParent().
| const QVector<DtFormationModelData*>& DtFormationModelData::children | ( | ) | const [inline] |
| QVector<DtFormationModelData*>& DtFormationModelData::children | ( | ) | [inline] |
| virtual DtExtent DtFormationModelData::extent | ( | const DtPoint & | origin = DtPoint(0, 0, 0) | ) | const [virtual] |
Returns the entire extent of this aggregate.
| virtual const DtPoint* DtFormationModelData::getOriginPoint | ( | ) | const [virtual] |
The first point in the point list is defined as the origin.
Reimplemented from DtModelData.
| virtual DtExtent DtFormationModelData::boundingBox | ( | ) | const [virtual] |
| virtual DtPoint DtFormationModelData::positionOffset | ( | ) | const [virtual] |
| virtual DtPoint DtFormationModelData::centerOfMass | ( | ) | const [virtual] |
Given the number of children, return the center of mass as applied to the current formation.
If there are no children, returns 0, 0, 0
| DtPoint DtFormationModelData::offset | ( | ) | const [inline] |
| virtual bool DtFormationModelData::setNewOffsetFromLeader | ( | const DtPoint & | newPoint | ) | [virtual] |
Given the particular body coordinate, set this offset (relative to 0, 0, 0) to the entity this object is after in the promotion hierarchy.
| virtual QList<DtFormationModelData*> DtFormationModelData::dataAtLeaderPromotionId | ( | int | ) | const [virtual] |
Returns a list of the model data where the leader id is the same as the passed in it.
| virtual DtFormationModelData* DtFormationModelData::dataAtPromotionId | ( | int | ) | const [virtual] |
| void DtFormationModelData::removeChild | ( | DtFormationModelData * | child | ) | [inline] |
| void DtFormationModelData::setParameters | ( | DtVrfObjectParameters * | p | ) | [inline] |
| DtVrfObjectParameters* DtFormationModelData::parameters | ( | ) | const [inline] |
| virtual void DtFormationModelData::repositionInFormation | ( | int | iFrom, |
| int | iTo | ||
| ) | [virtual] |
| virtual void DtFormationModelData::repositionInFormation | ( | DtFormation * | , |
| int | iFrom, | ||
| int | iTo | ||
| ) | [virtual] |
| virtual void DtFormationModelData::addChildAtPosition | ( | DtFormationModelData * | fmd, |
| int | iPos | ||
| ) | [virtual] |
Creates a new entry if need be and then repositions all the objects.
| virtual void DtFormationModelData::clearUnusedNodes | ( | ) | [virtual] |
Clears out nodes at the end of the formation that are not used.
| virtual int DtFormationModelData::depth | ( | ) | const [virtual] |
| virtual int DtFormationModelData::maxPromotionId | ( | ) | const [virtual] |
| virtual void DtFormationModelData::reworkOffsetsToStandAlone | ( | DtFormation * | formation | ) | [virtual] |
Reworks all entries to not reference a leader.
| virtual void DtFormationModelData::reworkAsOffsetToLeader | ( | DtFormation * | formation | ) | [virtual] |
Reworks as offset from leader in formation.
| void DtFormationModelData::setEntityMapperKey | ( | const DtEntityMapperKey & | k | ) | [inline] |
| virtual DtEntityMapperKey DtFormationModelData::entityMapperKey | ( | ) | const [inline, virtual] |
Returns an entity mapper key that identifies this type of object.
If modelKey is not empty, returns that
Reimplemented from DtModelData.
| virtual DtPoint DtFormationModelData::calculateOffset | ( | const DtFormationEntry * | entry, |
| const DtFormation * | formation | ||
| ) | const [protected, virtual] |
bool DtFormationModelData::myRootNode [protected] |
bool DtFormationModelData::myExpanded [protected] |
DtFormationEntry* DtFormationModelData::myFormationEntry [protected] |
const Dt3dBoundingVolume* DtFormationModelData::myBoundingVolume [protected] |
DtFormation* DtFormationModelData::myFormation [protected] |
DtFormationModelData* DtFormationModelData::myParent [protected] |
QVector<DtFormationModelData*> DtFormationModelData::myChildren [protected] |
DtVrfObjectParameters* DtFormationModelData::myParameters [protected] |