![]() |
VR-Forces 4.6.1 Class Documentation
|
This class is responsible for processing various CIGI messages that pertain to CIGI entities and setting the data in the DtCigiEntity. More...
Public Types | |
| typedef std::map< int, DtCigiBaseEntity * > | IdToEntityMap |
Public Member Functions | |
| virtual | ~DtCigiEntityVisualizer () |
| Destructor. | |
| virtual DtUniqueID | uniqueIdForCigiEntity (int cigiEntId) const |
| Returns the unique ID that corresponds to the CIGI entity ID passed in. | |
| virtual const DtCigiBaseEntity * | cigiEntity (int entityId) const |
| Returns the CIGI entity that corresponds to the CIGI entity ID passed in. | |
| virtual DtCigiBaseEntity * | cigiEntity (int entityId) |
| Returns the CIGI entity that corresponds to the CIGI entity ID passed in. | |
| virtual int | findEntityWithUniqueId (DtUniqueID idToFind) const |
| Returns the CIGI entity ID that corresponds to the unique ID passed in. | |
| virtual void | restart () |
| IdToEntityMap & | entityList () |
| Get access to all the entities currently being visualized. | |
| const IdToEntityMap & | entityList () const |
Public Attributes | |
| boost::signal< void(int entityId)> | signal_entityToBeDeleted |
| Emitted when this entity's alpha has changed. | |
Protected Member Functions | |
| DtCigiEntityVisualizer (DtCigiConnection &connection, DtAgentManagerInterface &aSceneInterface) | |
| Constructor. | |
| virtual void | processEntityControl (const CigiEntityCtrlV3_3 &packet) |
| Process a CIGI Entity Control packet. | |
| virtual void | processRateControl (const CigiRateCtrlV3_2 &packet) |
| virtual void | processArtPartControl (const CigiArtPartCtrlV3 &packet) |
| Process a CIGI Articulated Part Control packet. | |
| virtual void | processShortArtPartControl (const CigiShortArtPartCtrlV3 &packet) |
| Process a CIGI Short Articulated Part Control packet. | |
| virtual void | processComponentControl (CigiCompCtrlV3_3 &packet) |
| Process a CIGI Component Control packet. | |
| virtual void | processShortComponentControl (CigiShortCompCtrlV3_3 &packet) |
| Process a CIGI Short Component Control packet. | |
| virtual void | processDiGuyControl (const makCigiExt::DtCigiDiGuyCtrl &packet) |
| Process our user-defined CIGI DiGuy Control packet. | |
| virtual void | processDiGuyControlExt (const makCigiExt::DtCigiDiGuyCtrlExt &packet) |
| Process our user-defined CIGI DiGuy Control packet. | |
| virtual void | setTspiFromPacket (const CigiEntityCtrlV3_3 &packet, DtCigiBaseEntity *entity) |
| Sets the position/orientation of the specified entity from the packet. | |
| virtual DtCigiBaseEntity * | createNewEntity (int entityId, int entityType) |
| Create a new CIGI entity. | |
| virtual void | removeEntity (int entityId) |
| Removes the entity with the CIGI ID specified. | |
| virtual void | setArtPartWithDof (int partId, float val, CigiBaseShortArtPartCtrl::DofSelectGrp selection, DtCigiBaseEntity *entity) |
| Set the particular articulated part with the CIGI degree-of-freedom specifier. | |
| virtual void | setAnimationState (const CigiEntityCtrlV3_3 &packet, DtCigiBaseEntity *entity) |
| Set the animation state of the entity. | |
| virtual void | resetSpatialAttributes () |
| Reset the spacial attributes of all CIGI entities. | |
| DtCigiEntityVisualizer (const DtCigiEntityVisualizer &orig) | |
| DtCigiEntityVisualizer & | operator= (const DtCigiEntityVisualizer &orig) |
Protected Attributes | |
| std::map< int, DtCigiBaseEntity * > | myIdToEntityMap |
| DtAgentManagerInterface & | mySceneInterface |
| DtCigiConnection & | myConnection |
Friends | |
| class | DtCigiEntityVisualizerCreator |
This class is responsible for processing various CIGI messages that pertain to CIGI entities and setting the data in the DtCigiEntity.
| typedef std::map<int, DtCigiBaseEntity*> makVrv::DtCigiEntityVisualizer::IdToEntityMap |
|
virtual |
Destructor.
|
protected |
Constructor.
|
protected |
|
virtual |
Returns the unique ID that corresponds to the CIGI entity ID passed in.
|
virtual |
Returns the CIGI entity that corresponds to the CIGI entity ID passed in.
|
virtual |
Returns the CIGI entity that corresponds to the CIGI entity ID passed in.
|
virtual |
Returns the CIGI entity ID that corresponds to the unique ID passed in.
|
virtual |
|
inline |
Get access to all the entities currently being visualized.
|
inline |
|
protectedvirtual |
Process a CIGI Entity Control packet.
|
protectedvirtual |
|
protectedvirtual |
Process a CIGI Articulated Part Control packet.
|
protectedvirtual |
Process a CIGI Short Articulated Part Control packet.
|
protectedvirtual |
Process a CIGI Component Control packet.
Only processes those that specify entity components.
|
protectedvirtual |
Process a CIGI Short Component Control packet.
Only processes those that specify entity components.
|
protectedvirtual |
Process our user-defined CIGI DiGuy Control packet.
|
protectedvirtual |
Process our user-defined CIGI DiGuy Control packet.
|
protectedvirtual |
Sets the position/orientation of the specified entity from the packet.
Sets it in geodetic coordinates if not attached, and in body coordinates if attached.
|
protectedvirtual |
Create a new CIGI entity.
With the specified entity ID and type. Returns 0 if it cannot be created (typically when no model is specified).
|
protectedvirtual |
Removes the entity with the CIGI ID specified.
|
protectedvirtual |
Set the particular articulated part with the CIGI degree-of-freedom specifier.
|
protectedvirtual |
Set the animation state of the entity.
|
protectedvirtual |
Reset the spacial attributes of all CIGI entities.
|
protected |
|
friend |
| boost::signal<void(int entityId)> makVrv::DtCigiEntityVisualizer::signal_entityToBeDeleted |
Emitted when this entity's alpha has changed.
|
protected |
|
protected |
|
protected |