![]() |
VR-Forces Development_Version Class Documentation
|
Udpater that will update the sensor contact lines and positions for entities sensor contacts. More...

Classes | |
| struct | Object |
Public Member Functions | |
| DtSensorContactLinesUpdater (makVrv::DtDe &de, makVrv::DtUniqueID id) | |
| CTOR. | |
| virtual | ~DtSensorContactLinesUpdater () |
| DTOR. | |
| virtual void | update (DtTime tNow) |
| The update function called by DtTickableManager during update-ticks. | |
| virtual void | setSceneObject (makVrv::DtSceneObject *sceneObject) |
| Set the scene object that is representative of the entity that is doing the sensing. | |
| virtual void | setSensorContactLinesModel (DtSensorContactLinesModel *) |
| Set the model that will contain all the sensor contact lines. | |
| virtual void | setEnabled (bool) |
| Whether or not this class should be updating. | |
Public Member Functions inherited from makVrv::DtTickable | |
| virtual | ~DtTickable () |
| Virtual DTOR. | |
| virtual void | setUpdatePeriod (unsigned int period) |
| Specify how often (in # of frames) this tickable should call update. | |
| virtual unsigned int | updatePeriod () const |
| Specify how often (in # of frames) this tickable should call update. | |
Protected Types | |
| typedef std::map < makVrv::DtUniqueID, Object > | SensorContacts |
Protected Member Functions | |
| virtual bool | needsUpdate (DtTime tNow) |
| The check function called by DtTickableManager to verify if an update is required. | |
| virtual void | slot_sceneObjectToBeDeleted (const makVrv::DtUniqueID &id) |
| virtual void | slot_contactInfoReceived (DtUUID, const DtVrfSensorInfoManager::DtSensorInformationMap &) |
| virtual void | slot_sensorContactLinesModelToBeDestroyed (makVrv::DtModel *) |
| virtual void | addSensorContact (makVrv::DtUniqueID) |
| virtual void | slot_sensorContactToBeDeleted (const makVrv::DtUniqueID &id) |
| virtual void | connectSceneObject () |
| virtual void | clearSensorContacts (SensorContacts &) |
| virtual bool | findSpotReportFor (Object &) |
Protected Member Functions inherited from makVrv::DtTickable | |
| DtTickable (DtTickableManagerInterface *manager) | |
| CTOR. | |
| DtTickable () | |
| Unimplemented default CTOR. | |
| virtual void | slot_managerAboutToBeDeleted () |
Protected Attributes | |
| SensorContacts | mySensorContacts |
| makVrv::DtSceneObject * | mySceneObject |
| DtSensorContactLinesModel * | mySensorContactLinesModel |
| bool | myEnabled |
| makVrv::DtDe & | myDe |
| makVrv::DtUniqueID | myUniqueId |
| bool | myPendingConnection |
| DtVector | myLastPosition |
Protected Attributes inherited from makVrv::DtTickable | |
| DtTickableManagerInterface * | myManager |
| Pointer to manager for removal during destruction. | |
| DtSignalConnectionManager | myConnections |
| unsigned int | myFrameCounter |
| unsigned int | myFrameToUpdate |
| unsigned int | myUpdatePeriod |
Udpater that will update the sensor contact lines and positions for entities sensor contacts.
The entity is defined by the ID of the supplied scene object
|
protected |
| makVrf::DtSensorContactLinesUpdater::DtSensorContactLinesUpdater | ( | makVrv::DtDe & | de, |
| makVrv::DtUniqueID | id | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
The update function called by DtTickableManager during update-ticks.
| [in] | tNow | is the current time-stamp. |
Implements makVrv::DtTickable.
|
virtual |
Set the scene object that is representative of the entity that is doing the sensing.
|
virtual |
Set the model that will contain all the sensor contact lines.
|
virtual |
Whether or not this class should be updating.
The check function called by DtTickableManager to verify if an update is required.
If this function returns true, the DtTickableManager will then call update().
| [in] | tNow | is the current time-stamp. |
| true | if this object needs to be ticked. |
| false | otherwise. The base class checks handles period checks (for tickables that don't tick every frame. Deriving methods can incorporate that capability by calling down to the base class first. |
Reimplemented from makVrv::DtTickable.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |