![]() |
VR-Forces 4.0.4 Class Documentation
|
Abstract scene object updater interface. More...

Public Member Functions | |
| DtUpdater (DtDe &de, DtUniqueID id, bool doNotAddToMgr=false) | |
| CTOR. | |
| virtual | ~DtUpdater () |
| DTOR. | |
| void | updateIfNecessary (double simTime) |
| Small utility function for updating only when necessary. | |
| virtual void | update (double simTime)=0 |
| Called by the DtUpdaterManager on post update signal; tells the updater to update its scene object. | |
| virtual void | setSceneObject (DtSceneObject *sceneObject) |
| sets the scene object to update via the id. | |
| DtSceneObject * | findSceneObject () |
| Get the scene object this updater is updating if it was set. | |
| double | lastUpdateTime () const |
| The sim time that this updater has updated its scene obejct to. | |
| DtUniqueID | uniqueId () const |
| Returns the distributed object id of this updater. | |
| virtual void | setUpdaterPosition (int vtx, const DtVector &position) |
| Set the position of a scene object vertex. | |
| virtual const DtVector & | updaterPosition (int vtx) const |
| Get the position of a scene object vertex. | |
| virtual void | setUpdaterOrientation (int vtx, const DtTaitBryan &orientation) |
| Set the orientation of a scene object vertex. | |
| virtual const DtTaitBryan & | updaterOrientation (int vtx) const |
| Get the orientation of a scene object vertex. | |
| void | updateSceneObject () |
| push the results to the scene object. Called by update() | |
| bool | inManager () const |
| Is the Updater in the manager. | |
| virtual void | terrainScaleTransformsIfNeeded () |
Public Attributes | |
| boost::signal< void(const DtUniqueID &) > | signal_updaterToBeDeleted |
Protected Attributes | |
| DtDe & | myDe |
| DtUniqueID | myUniqueId |
| DtSceneObject * | mySceneObject |
| double | myLastUpdateTime |
| DtSceneObject::TransformList | myTransforms |
| bool | myInManager |
| const DtDeSharedState & | myDeSharedState |
Friends | |
| class | DtUpdaterManager |
Abstract scene object updater interface.
DtUpdaters are distributed objects, managed by DtUpdaterManager; they update the position and orientation of scene objects
| makVrv::DtUpdater::DtUpdater | ( | DtDe & | de, |
| DtUniqueID | id, | ||
| bool | doNotAddToMgr = false |
||
| ) |
CTOR.
| virtual makVrv::DtUpdater::~DtUpdater | ( | ) | [virtual] |
DTOR.
| void makVrv::DtUpdater::updateIfNecessary | ( | double | simTime | ) | [inline] |
Small utility function for updating only when necessary.
| virtual void makVrv::DtUpdater::update | ( | double | simTime | ) | [pure virtual] |
Called by the DtUpdaterManager on post update signal; tells the updater to update its scene object.
Implemented in makVrv::DtAttachableUpdater, makVrv::DtSegmentedLineModelUpdater, makVrv::DtAttachableEntityFanUpdater, makVrv::DtLineModelUpdater, exampleRangeLine::DtAttachableRangeTextUpdater, makVrv::DtArtPartDecorationUpdater, makVrv::DtAttachableHatTextUpdater, makVrv::DtAttachableHatUpdater, makVrv::DtGroundClampingUpdater, makVrv::DtDeadReckonGroundClampUpdater, makVrv::DtAttachableDeadReckonUpdater, makVrv::DtDeadReckonUpdater, makVrv::DtSymbolDecorationUpdater, makVrv::DtBulletHoleUpdater, makVrv::DtTrackHistoryUpdater, makVrv::DtAttachableIntervisibilityUpdater, makVrv::DtHeadingLineUpdater, and makVrf::DtCircleUpdater.
| virtual void makVrv::DtUpdater::setSceneObject | ( | DtSceneObject * | sceneObject | ) | [virtual] |
sets the scene object to update via the id.
Reimplemented in makVrv::DtAttachableDeadReckonUpdater, makVrv::DtSegmentedLineModelUpdater, makVrv::DtArtPartDecorationUpdater, makVrv::DtLineModelUpdater, makVrv::DtDeadReckonGroundClampUpdater, makVrv::DtDeadReckonUpdater, makVrv::DtSymbolDecorationUpdater, makVrv::DtTrackHistoryUpdater, and makVrv::DtHeadingLineUpdater.
Get the scene object this updater is updating if it was set.
| double makVrv::DtUpdater::lastUpdateTime | ( | ) | const [inline] |
The sim time that this updater has updated its scene obejct to.
| DtUniqueID makVrv::DtUpdater::uniqueId | ( | ) | const [inline] |
Returns the distributed object id of this updater.
| virtual void makVrv::DtUpdater::setUpdaterPosition | ( | int | vtx, |
| const DtVector & | position | ||
| ) | [virtual] |
Set the position of a scene object vertex.
| virtual const DtVector& makVrv::DtUpdater::updaterPosition | ( | int | vtx | ) | const [virtual] |
Get the position of a scene object vertex.
| virtual void makVrv::DtUpdater::setUpdaterOrientation | ( | int | vtx, |
| const DtTaitBryan & | orientation | ||
| ) | [virtual] |
Set the orientation of a scene object vertex.
| virtual const DtTaitBryan& makVrv::DtUpdater::updaterOrientation | ( | int | vtx | ) | const [virtual] |
Get the orientation of a scene object vertex.
| void makVrv::DtUpdater::updateSceneObject | ( | ) |
push the results to the scene object. Called by update()
Reimplemented in makVrv::DtSegmentedLineModelUpdater, makVrv::DtLineModelUpdater, makVrv::DtAttachableEntityFanUpdater, makVrv::DtAttachableIntervisibilityUpdater, and makVrv::DtAttachableFanUpdater.
| bool makVrv::DtUpdater::inManager | ( | ) | const |
Is the Updater in the manager.
| virtual void makVrv::DtUpdater::terrainScaleTransformsIfNeeded | ( | ) | [virtual] |
friend class DtUpdaterManager [friend] |
| boost::signal< void (const DtUniqueID&) > makVrv::DtUpdater::signal_updaterToBeDeleted |
DtDe& makVrv::DtUpdater::myDe [protected] |
DtUniqueID makVrv::DtUpdater::myUniqueId [protected] |
DtSceneObject* makVrv::DtUpdater::mySceneObject [protected] |
double makVrv::DtUpdater::myLastUpdateTime [protected] |
bool makVrv::DtUpdater::myInManager [protected] |
const DtDeSharedState& makVrv::DtUpdater::myDeSharedState [protected] |