This class is responsible for processing various CIGI messages that pertain to CIGI entities and setting the data in the DtCigiEntity.
More...
Detailed Description
This class is responsible for processing various CIGI messages that pertain to CIGI entities and setting the data in the DtCigiEntity.
Member Typedef Documentation
Constructor & Destructor Documentation
| virtual makVrv::DtCigiEntityVisualizer::~DtCigiEntityVisualizer |
( |
| ) |
|
|
virtual |
Member Function Documentation
| virtual DtUniqueID makVrv::DtCigiEntityVisualizer::uniqueIdForCigiEntity |
( |
int |
cigiEntId | ) |
const |
|
virtual |
Returns the unique ID that corresponds to the CIGI entity ID passed in.
- Returns
- 0 if not found
| virtual const DtCigiBaseEntity* makVrv::DtCigiEntityVisualizer::cigiEntity |
( |
int |
entityId | ) |
const |
|
virtual |
Returns the CIGI entity that corresponds to the CIGI entity ID passed in.
- Returns
- 0 if not found
| virtual int makVrv::DtCigiEntityVisualizer::findEntityWithUniqueId |
( |
DtUniqueID |
idToFind | ) |
const |
|
virtual |
Returns the CIGI entity ID that corresponds to the unique ID passed in.
- Returns
- -1 if not found
Get access to all the entities currently being visualized.
| const IdToEntityMap& makVrv::DtCigiEntityVisualizer::entityList |
( |
| ) |
const |
|
inline |
Get access to all the entities currently being visualized.
| virtual void makVrv::DtCigiEntityVisualizer::processEntityControl |
( |
const CigiEntityCtrlV3_3 & |
packet | ) |
|
|
protectedvirtual |
Process a CIGI Entity Control packet.
| virtual void makVrv::DtCigiEntityVisualizer::processRateControl |
( |
const CigiRateCtrlV3_2 & |
packet | ) |
|
|
protectedvirtual |
| virtual void makVrv::DtCigiEntityVisualizer::processArtPartControl |
( |
const CigiArtPartCtrlV3 & |
packet | ) |
|
|
protectedvirtual |
Process a CIGI Articulated Part Control packet.
| virtual void makVrv::DtCigiEntityVisualizer::processShortArtPartControl |
( |
const CigiShortArtPartCtrlV3 & |
packet | ) |
|
|
protectedvirtual |
Process a CIGI Short Articulated Part Control packet.
| virtual void makVrv::DtCigiEntityVisualizer::processComponentControl |
( |
CigiCompCtrlV3_3 & |
packet | ) |
|
|
protectedvirtual |
Process a CIGI Component Control packet.
Only processes those that specify entity components.
| virtual void makVrv::DtCigiEntityVisualizer::processShortComponentControl |
( |
CigiShortCompCtrlV3_3 & |
packet | ) |
|
|
protectedvirtual |
Process a CIGI Short Component Control packet.
Only processes those that specify entity components.
Process our user-defined CIGI DiGuy Control packet.
| virtual void makVrv::DtCigiEntityVisualizer::setTspiFromPacket |
( |
const CigiEntityCtrlV3_3 & |
packet, |
|
|
DtCigiBaseEntity * |
entity |
|
) |
| |
|
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.
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).
| virtual void makVrv::DtCigiEntityVisualizer::removeEntity |
( |
int |
entityId | ) |
|
|
protectedvirtual |
Removes the entity with the CIGI ID specified.
| virtual void makVrv::DtCigiEntityVisualizer::setArtPartWithDof |
( |
int |
partId, |
|
|
float |
val, |
|
|
CigiBaseShortArtPartCtrl::DofSelectGrp |
selection, |
|
|
DtCigiEntity * |
entity |
|
) |
| |
|
protectedvirtual |
Set the particular articulated part with the CIGI degree-of-freedom specifier.
| virtual void makVrv::DtCigiEntityVisualizer::setAnimationState |
( |
const CigiEntityCtrlV3_3 & |
packet, |
|
|
DtCigiBaseEntity * |
entity |
|
) |
| |
|
protectedvirtual |
Set the animation state of the entity.
| virtual void makVrv::DtCigiEntityVisualizer::resetSpatialAttributes |
( |
| ) |
|
|
protectedvirtual |
Reset the spacial attributes of all CIGI entities.
- Note
- Called when coordinate system has changed.
Member Data Documentation
The documentation for this class was generated from the following file: