Public Member Functions |
| | DtCigiEntity (DtCigiConnection &connection, DtAgentManagerInterface &mySceneInterface, int entityId, int entityType) |
| | Constructor.
|
| virtual | ~DtCigiEntity () |
| | Destructor.
|
| virtual void | setState (int stateId, int stateValue) |
| | Set the state of a model to a value.
|
| virtual void | setArtPartTranslation (int partId, float xOffset, float yOffset, float zOffset, bool xEnable, bool yEnable, bool zEnable) |
| | Set the relative position of an articulated part.
|
| virtual void | setArtPartOrientation (int partId, float yaw, float pitch, float roll, bool yawEnable, bool pitchEnable, bool rollEnable) |
| | Set the orientation of an articulated part.
|
| virtual void | setArtPartLinearRate (int partId, float xRate, float yRate, float zRate) |
| | Set the linear rate of an articulated part.
|
| virtual void | setArtPartAngularRate (int partId, float yawRate, float pitchRate, float rollRate) |
| | Set the angular rate of an articulated part.
|
| virtual void | setArtPartEnable (int partId, bool trueFalse) |
| | Enable/disable an articulated part.
|
| virtual void | setAnimationSpeed (const std::string &animationName, double speed) |
| | Set the speed of an animation within the model.
|
| virtual void | setAnimationFrame (const std::string &animationName, int frame) |
| | Set the frame of an animation within the model.
|
| virtual void | setActiveRegionState (const std::string ®ionName, bool state) |
| | Set the state of an active sensor region.
|
| virtual void | setAnimationRange (const std::string &animationName, int firstFrameIndex, int lastFrameIndex) |
| | Set the range of an animation within the model.
|
| | 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 int | cigiId () const |
| | Returns the ID of the CIGI entity.
|
| virtual void | init () |
| 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, bool force=false) |
| | Set the entity's geodetic position.
|
| virtual const DtGeodeticCoord & | position () const |
| | Returns the last position set by a CIGI entity control message.
|
| virtual const DtVector & | localPosition () const |
| | Returns the last computed local position set.
|
| virtual void | setOrientation (const DtTaitBryan &orientation, bool force=false) |
| | Set the entity's orientation.
|
| virtual const DtTaitBryan & | orientation () const |
| | Returns the last orientation set by a CIGI entity control message.
|
| 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 | slot_deadReckoningAllowed (bool allowed) |
| | Called when IG-wide extrapolation is turned on or off.
|
| 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 inherit alpha from its parent.
|
| virtual void | slot_alphaChanged (int alpha, DtUniqueID id) |
| | Slot so we can check if the parent's alpha has changed.
|
| virtual void | setGroundClampingOn (DtGroundClampingUpdater::GroundClampingMode clampType) |
| | Turns ground clamping on/off.
|
A DtCigiAnimationEntity is a CIGI entity that loads an articulated model.