![]() |
VR-Forces Developer's Guide
|
This class is responsible for processing various CIGI messages that pertain to CIGI entities and setting the data in the DtCigiEntity.
Public Types | |
| typedef std::map< int, DtCigiBaseEntity * > | IdToEntityMap |
Public Member Functions | |
| virtual | ~DtCigiEntityVisualizer () |
| virtual DtUniqueID | uniqueIdForCigiEntity (int cigiEntId) const |
| virtual const DtCigiBaseEntity * | cigiEntity (int entityId) const |
| virtual DtCigiBaseEntity * | cigiEntity (int entityId) |
| virtual int | findEntityWithUniqueId (DtUniqueID idToFind) const |
| virtual void | restart () |
| virtual void | reset () |
| IdToEntityMap & | entityList () |
| const IdToEntityMap & | entityList () const |
Protected Member Functions | |
| DtCigiEntityVisualizer (DtCigiConnection &connection, DtAgentManagerInterface &aSceneInterface) | |
| virtual void | processEntityControl (CigiBaseEntityCtrl &packet) |
| virtual void | processRateControl (CigiBaseRateCtrl &packet) |
| virtual void | processVelocityControl (CigiBaseRateCtrl &packet) |
| virtual void | processArtPartControl (CigiBaseArtPartCtrl &packet) |
| virtual void | processShortArtPartControl (const CigiBaseShortArtPartCtrl &packet) |
| virtual void | slot_processComponentControl (CigiBaseCompCtrl &packet) |
| virtual void | slot_processShortComponentControl (CigiBaseCompCtrl &packet) |
| virtual void | processDiGuyControl (const makCigiExt::DtCigiDiGuyCtrl &packet) |
| virtual void | processDiGuyControlExt (const makCigiExt::DtCigiBaseDiGuyCtrlExt &packet) |
| virtual void | processDiGuyExecuteGesture (const makCigiExt::DtCigiBaseDiGuyExecuteGesture &packet) |
| virtual void | processDiGuyEndGesture (const makCigiExt::DtCigiBaseDiGuyEndGesture &packet) |
| virtual void | processEntityPositionControl (CigiBaseEntityPositionCtrl &packet) |
| virtual void | processAnimationControl (CigiBaseAnimationCtrl &packet) |
| virtual void | processEntityV4 (const CigiEntityCtrlV4 &packet) |
| virtual void | generateModelDefNameToCigiEntityTypeMap () |
| virtual int | lookupCigiEntityTypeFromModelDefinitionName (const std::string &modelDefName) const |
| virtual void | processEntityV3 (const CigiEntityCtrlV3_3 &packet) |
| virtual void | setEntityControlTspi (const CigiEntityCtrlV3_3 &packet, DtCigiBaseEntity *entity) |
| virtual void | setEntityControlAnimationState (const CigiEntityCtrlV3_3 &packet, DtCigiBaseEntity *entity) |
| virtual void | setParticleSystemAnimationState (CigiAnimationCtrlV4 &packet, DtCigiParticleSystemEntity *particleSystem) |
| virtual void | setAnimationEntityAnimationState (CigiAnimationCtrlV4 &packet, DtCigiAnimationEntity *animationEntity) |
| virtual void | setWaterCraftEntityAnimationState (CigiAnimationCtrlV4 &packet, DtCigiWatercraftEntity *watercraftEntity) |
| virtual void | setEntityAnimationState (CigiAnimationCtrlV4 &packet, DtCigiEntity *cigiEntity) |
| virtual void | performComponentControlV3 (CigiCompCtrlV3_3 &packet) |
| virtual void | performComponentControlV4 (CigiCompCtrlV4 &packet) |
| virtual DtCigiBaseEntity * | createNewEntity (int entityId, int entityType) |
| virtual int | findCigiEntityTypeFromExtendedType (const DtEntityType &extEntityType) const |
| virtual void | removeEntity (int entityId) |
| virtual void | setArtPartWithDof (int partId, float val, CigiBaseShortArtPartCtrl::DofSelectGrp selection, DtCigiBaseEntity *entity) |
| virtual void | resetSpatialAttributes () |
| DtCigiEntityVisualizer (const DtCigiEntityVisualizer &orig) | |
| DtCigiEntityVisualizer & | operator= (const DtCigiEntityVisualizer &orig) |
Protected Attributes | |
| std::map< int, DtCigiBaseEntity * > | myIdToEntityMap |
| std::map< std::string, int > | myModelDefToCigiEntityTypeMap |
| DtAgentManagerInterface & | mySceneInterface |
| DtCigiConnection & | myConnection |
| DtSignalConnectionManager | myConnections |
Friends | |
| class | DtCigiEntityVisualizerCreator |
| 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 |
Reinitialise all entities, used when new display engines are added.
|
inline |
Get access to all the entities currently being visualized.
|
inline |
Get access to all the entities currently being visualized.
|
virtual |
Resets all internal containers, removing all entities and mappings.
|
protectedvirtual |
Process a CIGI Entity Control packets, calls specific version method to process.
|
protectedvirtual |
V3.3 Rate Control is a V3 only packet Process a CIGI Rate Control packet.
|
protectedvirtual |
V4.0 Velocity Control is V4 only packet, rate control was renamed to velocity control.
|
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 Extended CIGI DiGuy Control packet.
|
protectedvirtual |
Process our user-defined CIGI DiGuy Execute Gesture packet.
|
protectedvirtual |
Process our user-defined CIGI DiGuy End Gesture packet.
|
protectedvirtual |
V4.0 Process Entity Position Packet tspi removed from EntityCtrl after V3.3.
|
protectedvirtual |
V4.0 Process Animation Control Packet Animation ctrl removed from EntityCtrl after V3.3 See Page 265 Cigi Standard Doc.
|
protectedvirtual |
V4.0 Process entity control V4 packet Split because of the large differences in versions. V4 takes out animation states and position control.
|
protectedvirtual |
V4.0 To support extended entity types in version 4, we find the model definition name for the extended entity type from our element definition manager, and then look that model definition name in the map that this method generates, based on the DtSharedSettings::entityTypeMap.
|
protectedvirtual |
Get a cigi entity type from the Mode lDef To Cigi Entity Type Map.
|
protectedvirtual |
V3.3 Process entity control packet.
|
protectedvirtual |
V 3.3 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 |
V3.3 Set the animation state of the V3_3 entity.
|
protectedvirtual |
V4 Set the animation states of V4 entities.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
V3.3.
|
protectedvirtual |
V4 No longer process animations, use animation control packet.
|
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 |
Uses an extended entity type to find an element definition fot the specified type. Go through the element definitions 3D model set visualizers and find a model definition name Lookup a cigi entity type from that model definition name by calling lookupCigiEntityTypeFromModelDefinitionName.
|
protectedvirtual |
Removes the entity with the CIGI ID specified.
|
protectedvirtual |
Set the particular articulated part with the CIGI degree-of-freedom specifier.
|
protectedvirtual |
Reset the spacial attributes of all CIGI entities.
|
protected |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |