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.
|
| | DtModelData () |
| | DtModelData (const DtModelData &orig) |
| virtual | ~DtModelData () |
| DtModelData & | operator= (const DtModelData &rhs) |
| virtual const DtModelKey & | key () const |
| | Key is a unique identifier for the symbol.
|
| virtual void | setKey (const DtModelKey &k) |
| virtual const DtModelKey & | modelKey () const |
| | Model Key is the key that can translate this model data into a symbol through the symbol mapper,aka entity type.
|
| virtual void | setModelKey (const DtModelKey &k) |
| virtual void | setAllPoints (const QVector< DtPoint > *pts) |
| virtual const QVector< DtPoint > * | getAllPoints () const |
| virtual void | setPoint (int iIndex, const DtPoint &pnt) |
| | Set a point at the particular index (if it is not out of range)
|
| virtual void | insertPoint (int iIndex, const DtPoint &pnt) |
| | Inserts a point at the particular index (if it is not out of range)
|
| virtual void | removePoint (int iIndex) |
| | Removes the point at the particular index.
|
| virtual void | setName (const QString &name) |
| | The name of this symbol, usually the marking text.
|
| virtual const QString & | getName () const |
| virtual void | setLabel (const QString &name) |
| | The label of this symbol.
|
| virtual const QString & | getLabel () const |
| virtual void | setForceId (int id) |
| | Set what force this symbol belongs to, if appropriate.
|
| virtual int | getForceId () const |
| virtual void | updateFromModel () |
| | Re-implement in derived classes that interact with your model.
|
| virtual bool | forceUpdate () const |
| | Return true if this model data should always be updated regardless of cache state change.
|
| virtual void | setForceUpdate (bool b) |
| virtual int | rawAppearance () const |
| | Appearance. Zero by default.
|
| virtual QString | typeStr () |
| | Returns the string type of this model data.
|
| virtual void | setIsPublished (bool b) |
| | Set to true if this item is published on the network.
|
| virtual bool | isPublished () const |
| virtual void | setCanPublish (bool b) |
| | Set to true if this item is can be published on the network.
|
| virtual bool | canPublish () const |
| virtual void | setDeleteFromLayer (bool b) |
| | Return true if this object can be deleted from an overlay layer.
|
| virtual bool | deleteFromLayer () const |
| virtual void | setMustBeOnLayer (bool b) |
| | Set to true if this item must be on a layer. By default returns false.
|
| virtual bool | mustBeOnLayer () const |
| virtual bool | isInExtent (const DtExtent &) const |
| | Returns true if the model data can be drawn within the give extent.
|
| virtual const QStringList & | parents () const |
| | The ability to add multiple parent's exists, however the system will only currently support the first parent in the list.
|
| virtual void | setParents (const QStringList &parent) |
| virtual void | addParent (const QString &parent) |
| virtual void | removeParent (const QString &parent) |
| virtual void | changeParentName (const QString &oldName, const QString &newName) |
| virtual bool | canEdit () const |
| | Return true/false if this item can be edited. By default is true.
|
| virtual void | setCanEdit (bool) |
| void | setChangedFlags (int) |
| int | changedFlags () const |
| virtual void | setOriginPoint (double x=0, double y=0, double z=0) |
| | The first point in the point list is defined as the origin.
|
| virtual void | setOriginPoint (const DtPoint &pnt) |
| | The first point in the point list is defined as the origin.
|
| | DtArchivableObject (QString name, DtArchivableObjectCreator fcn) |
| | This constructor will add this object to the archivable object factory.
|
| | DtArchivableObject (QString name) |
| | DtArchivableObject () |
| virtual | ~DtArchivableObject () |
| virtual QString | name () const |
| DtArchiver * | archiver () |
| | Returns the archiver of this object.
|
| virtual void | setLevel (int i) |
| virtual int | level () const |
| virtual DtArchivableObject * | clone () |
| | Allows for cloning of this object.
|