![]() |
VR-Forces 4.1.1 Class Documentation
|
This class provides an abstract base class for CIGI entities. More...

Public Member Functions | |
| DtCigiBaseEntity (DtCigiConnection &connection, DtAgentManagerInterface &sceneInterface, int entityId, int entityType) | |
| Constructor takes a DtCigiConnection, scene interface, and the CIGI entity ID/type. | |
| virtual | ~DtCigiBaseEntity () |
| Destructor. | |
| virtual DtUniqueID | uniqueId () const |
| Returns the unique ID of the entity's scene object. | |
| virtual void | setVisible (bool yesNo) |
| Set whether the entity is visible. | |
| virtual void | setDeadReckoningOn (bool onOff) |
| Turns dead-reckoning on/off. | |
| virtual void | setPosition (const DtGeodeticCoord &pos) |
| Set the entity's geodetic position. | |
| virtual void | setOrientation (const DtTaitBryan &orientation) |
| Set the entity's orientation. | |
| virtual void | setLinearRate (const DtVector &rate, bool useWorldCoordinates=true) |
| Sets the entity's linear rate. | |
| virtual void | setAngularRate (const DtVector &rate, bool useWorldCoordinates=true) |
| Set's the entity's angular rate. | |
| virtual void | setRelativeTo (DtCigiBaseEntity *parent) |
| Attachment control. | |
| virtual void | setRelativePosition (const DtVector &pos) |
| Sets the entity's relative position (if attached). | |
| virtual void | setRelativeOrientation (const DtTaitBryan &orient) |
| Sets the entity's relative orientation (relative to the parent's body coordinates) if attached. | |
| virtual void | setAlpha (int alpha) |
| Sets the entity's alpha value. | |
| virtual int | alpha () const |
| Returns the entity's alpha value. | |
| virtual void | setInheritAlpha (bool inherit) |
| Set whether the entity should inher. | |
| virtual const DtGeodeticCoord & | lastSetPosition () const |
| Returns the last position set by a CIGI entity control message. | |
| virtual const DtTaitBryan & | lastSetOrientation () const |
| Returns the last orientation set by a CIGI entity control message. | |
| virtual void | slot_alphaChanged (int alpha, DtUniqueID id) |
| Slot so we can check if the parent's alpha has changed. | |
| virtual void | setGroundClampingOn (bool trueFalse) |
| Turns ground clamping on/off. | |
Protected Member Functions | |
| void | createDeadReckonGroundClampUpdater () |
Protected Attributes | |
| DtSceneObjectAgent * | mySceneObject |
| DtModelAgent * | myModel |
| DtAttachableDeadReckonUpdaterAgent * | myAttachableUpdater |
| DtDeadReckonGroundClampUpdaterAgent * | myDeadReckonGroundClampUpdater |
| bool | myDeadReckoningOn |
| bool | myGroundClampingOn |
| DtGeodeticCoord | myLastPosition |
| DtVector | myLastLocalPosition |
| DtTaitBryan | myLastOrientation |
| DtTaitBryan | myLastGeocentricOrientation |
| DtCigiConnection & | myConnection |
| DtAgentManagerInterface & | mySceneInterface |
| int | myEntityId |
| int | myEntityType |
| DtCigiBaseEntity * | myParent |
| bool | myInheritAlpha |
| int | myAlpha |
This class provides an abstract base class for CIGI entities.
These are created by the DtCigiEntityVisualizer and updated as CIGI messages that pertain to entities are processed.
| makVrv::DtCigiBaseEntity::DtCigiBaseEntity | ( | DtCigiConnection & | connection, |
| DtAgentManagerInterface & | sceneInterface, | ||
| int | entityId, | ||
| int | entityType | ||
| ) |
Constructor takes a DtCigiConnection, scene interface, and the CIGI entity ID/type.
|
virtual |
Destructor.
|
virtual |
Returns the unique ID of the entity's scene object.
|
virtual |
Set whether the entity is visible.
|
virtual |
Turns dead-reckoning on/off.
|
virtual |
Set the entity's geodetic position.
|
virtual |
Set the entity's orientation.
|
virtual |
Sets the entity's linear rate.
If useWorldCoordinates is set to true, sets the velocity according to the entity's rate with respect to the tangential reference plane of the entity. Otherwise, sets the velocity with respect to the entity's coordinate system.
|
virtual |
Set's the entity's angular rate.
If useWorldCoordinates is set to true, sets the angular velocity with respect to the tangential reference plane of the entity. Otherwise, sets the velocity with respect to the entity's coordinate system.
|
virtual |
Attachment control.
|
virtual |
Sets the entity's relative position (if attached).
|
virtual |
Sets the entity's relative orientation (relative to the parent's body coordinates) if attached.
|
virtual |
Sets the entity's alpha value.
|
virtual |
Returns the entity's alpha value.
This needs to be checked if the entity is inheriting its parent's alpha.
|
virtual |
Set whether the entity should inher.
|
virtual |
Returns the last position set by a CIGI entity control message.
|
virtual |
Returns the last orientation set by a CIGI entity control message.
|
virtual |
Slot so we can check if the parent's alpha has changed.
|
virtual |
Turns ground clamping on/off.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |