![]() |
VR-Forces 5.0.1 Developer's Guide
|
DtEntityKinematicState Controls kinematic state of a scene object This class has no accessors to kinematic data due to updaters being in the render thread. Do not add accessors for kin state info.

Public Member Functions | |
| DtEntityKinematicState (DtSceneObjectAgent &sceneObject, DtEntityStateListener &listener, DtAgentManagerInterface &sceneInterface, DtSharedSettingsManager &settingsManager, int modelSet) | |
| virtual | ~DtEntityKinematicState () |
| DtEntityKinematicState ()=delete | |
| DtEntityKinematicState (const DtEntityKinematicState &)=delete | |
| DtEntityKinematicState & | operator= (const DtEntityKinematicState &)=delete |
| virtual void | initialize () override |
| virtual void | setLocation (const DtVector &, double time) |
| virtual void | setOrientation (const DtTaitBryan &, double time) |
| virtual void | setVelocity (const DtVector32 &, double time) |
| virtual void | setAngularVelocity (const DtVector32 &, double time) |
| virtual void | setAcceleration (const DtVector32 &, double time) |
| virtual void | setLocation (const DtVector &) |
| virtual void | setOrientation (const DtTaitBryan &) |
| virtual void | setVelocity (const DtVector32 &) |
| virtual void | setAngularVelocity (const DtVector32 &) |
| virtual void | setAcceleration (const DtVector32 &) |
| virtual void | resetSpatialAttributes () |
| virtual void | setDeadReckoning (bool position, bool velocity, bool orientation) |
| virtual DtDeadReckonUpdaterAgent * | findDeadReckoner () |
| virtual void | setEmbarked (const DtUniqueID &id) |
| virtual void | setSmoothingEnabled (bool enabled) |
| virtual void | setSmoothingPeriod (float scale) |
| virtual void | setFrozen (bool isFrozen) |
| virtual void | implementVisibility (const bool vis) override |
| virtual void | setBuoyancyEnabled (bool enabled) |
| virtual void | setBuoyancyLod (float lodDistance) |
| virtual void | setWaterlineOriginOffset (float offset) |
| virtual void | setWaterClampingPossible (bool enabled) |
| virtual void | setIsAmphibious (bool amphibious) |
| virtual bool | isAmphibious () const |
| virtual void | setDamageState (EntityStateListener::DamageState damageState) |
| virtual bool | destroyed () const |
| virtual DtEntityStateListener & | entityStateListener () |
| virtual void | processKinematicStateDefinition (const DtVisualizerDefinition *visDef) override |
| virtual void | readEntityDisplaySettings () |
| virtual void | getEntityStateSettings () |
| virtual void | slot_setGroundClampingCullingEnabled (bool enabled) |
| virtual void | setGroundClampingScale (float scale) |
| virtual void | setGroundClamping (bool enabled) |
| virtual void | setGroundClampingMode (DtGroundClampingUpdater::GroundClampingMode mode) |
| virtual void | setPossibleGroundClampingModes (DtGroundClampingUpdater::GroundClampingMode possibleModes) |
| virtual DtGroundClampingUpdater::GroundClampingMode | groundClampingMode () |
| virtual void | slot_lifeformsUprightChanged (bool enabled) |
| virtual std::string | motionModel () const |
| virtual void | setMotionModel (const std::string &model) |
| virtual bool | deadReckonIsThreadSafe () const |
| virtual void | setDeadReckonIsThreadSafe (const bool safe) |
Public Member Functions inherited from makVrv::DtKinematicState | |
| DtKinematicState (DtSceneObjectAgent &sceneObject, DtStateListener &listener, DtAgentManagerInterface &sceneInterface, DtSharedSettingsManager &settingsManager, int modelSet) | |
| virtual | ~DtKinematicState () |
| DtKinematicState ()=delete | |
| DtKinematicState (const DtKinematicState &)=delete | |
| DtKinematicState & | operator= (const DtKinematicState &)=delete |
| virtual DtSceneObjectAgent * | sceneObjectAgent () |
| virtual bool | setSceneObjectIsVisible (bool vis, DtVisualizerShowHideContext::VisualizerShowHideContext context) |
| virtual bool | distribute () const |
| virtual void | setDistribute (const bool distribute) |
| virtual bool | modelSet () const |
| virtual void | setModelSet (const int modelSet) |
Protected Member Functions | |
| virtual void | slot_parentSet (DtElement *parent) |
| virtual void | slot_resetSmoother () |
| virtual void | slot_buoyancyDefaultLODDistanceChanged (float distance) |
| virtual void | slot_buoyancyMinimumCullDistanceChanged (float distance) |
| virtual void | slot_buoyancyCullTypeChanged (DtEntitySettingsRecord::BuoyancyCullType cullType) |
| virtual void | slot_orientationClampingChanged (bool enabled) |
| virtual void | createUpdaters () override |
| virtual void | destroyUpdaters () override |
| virtual void | startDeadReckoning () |
| virtual void | startEmbarked () |
| virtual void | startGroundClamping () |
| virtual void | startWaterClamping () |
| virtual void | endEmbarked () |
| virtual void | endGroundClamping () |
| virtual void | endWaterClamping () |
| virtual void | buildSurfaceClampingUpdater () |
| virtual void | buildGroundClampingUpdater () |
| virtual void | connectClampingUpdaters () |
Additional Inherited Members | |
Protected Types inherited from makVrv::DtKinematicState | |
| typedef std::vector < DtVisualizerShowHideContext::VisualizerShowHideContext > | ShowHideContextVector |
| makVrv::DtEntityKinematicState::DtEntityKinematicState | ( | DtSceneObjectAgent & | sceneObject, |
| DtEntityStateListener & | listener, | ||
| DtAgentManagerInterface & | sceneInterface, | ||
| DtSharedSettingsManager & | settingsManager, | ||
| int | modelSet | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
delete |
not allowed - default constructor
|
delete |
not allowed - copy constructor
|
delete |
not allowed - equals operator
|
overridevirtual |
Initialize the Kinematic State Object.
Reimplemented from makVrv::DtKinematicState.
This version will use the time supplied as the dead reckoned time.
|
virtual |
This version will use the time supplied as the dead reckoned time.
|
virtual |
This version will use the time supplied as the dead reckoned time.
|
virtual |
This version will use the time supplied as the dead reckoned time.
|
virtual |
This version will use the time supplied as the dead reckoned time.
|
virtual |
Call to scene object to set location. This version will use the DE representation of the current sim time when using dead reckoning.
|
virtual |
Call to scene object to set orientation. This version will use the DE representation of the current sim time when using dead reckoning.
|
virtual |
Call to scene object to set velocity. This version will use the DE representation of the current sim time when using dead reckoning.
|
virtual |
Call to scene object to set angular velocity. This version will use the DE representation of the current sim time when using dead reckoning.
|
virtual |
Call to scene object to set acceleration. This version will use the DE representation of the current sim time when using dead reckoning.
|
virtual |
Calls all spatial methods, with info from the listener.
|
virtual |
Sets the DR settings on the DR Updater, and tells the listener that DR has been set.
|
virtual |
Return the DR Updater Agent, may be nullptr.
|
virtual |
Embarks this object on the specified parent object.
|
virtual |
Set whether the Entity smooths.
|
virtual |
Set the period for entity smoothing.
|
virtual |
Set whether the entity is frozen, pausing any animations.
|
overridevirtual |
Override to manage the potential loss of kinematic information due to destroying the dead reckoner agent.
Reimplemented from makVrv::DtKinematicState.
|
virtual |
Ground clamping code.
Gets / Sets this entity's clamping settings
|
virtual |
Since the listener may be connected and receive values before the visualizer is created, get basic settings from the entity listener.
|
virtual |
Set whether ground clamp uses the distance cutoff.
|
virtual |
Set the scale factor for ground clamping distance culling by radius.
|
virtual |
Set ground clamping enabled or not.
|
virtual |
Set ground clamping mode using bit flags defined in DtGroundClampingUpdater::GroundClampingMode.
|
virtual |
Set the flags for all possible modes for this entity.
|
virtual |
Get the entity's current ground clamping mode.
|
virtual |
Change the life form upright state for all entities.
|
virtual |
Set whether this visualizer should use the dynamic ocean clamper (normally set via entity display settings)
|
virtual |
Set the distance from any observer beyond which this entity, if buoyancy is enabled, will not run the model.
|
virtual |
Set an altitude offset from the scene object origin to its waterline.
|
virtual |
Set whether this visualizer should create a dynamic ocean clamper (buoyancy model). Normally driven by the visualizer definition.
|
virtual |
If a surface clamping updater is created (to clamp to dynamic ocean) this flag indicates if checks for on water vs. on land need to happen. This can be very expensive; off by default.
|
virtual |
Get if this entity needs on water vs. on land checks.
|
virtual |
Set the damage state (used for sinking watercraft)
|
virtual |
Get whether this entity is destroyed.
|
virtual |
Get the entity state listener.
|
virtual |
Get / Set the Motion Model.
|
virtual |
Get / Set the Motion Model.
|
virtual |
Get / Set the thread safety of the DR updater. Currently only used for DiGuys Default is false myTerrainScalingUpdaterAgent is always set to true.
|
virtual |
Get / Set the thread safety of the DR updater. Currently only used for DiGuys Default is false myTerrainScalingUpdaterAgent is always set to true.
|
overridevirtual |
Processor the vis def for the kin state, as we no longer have a kin state visualizer.
Reimplemented from makVrv::DtKinematicState.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Change the orientation clamping for all entities.
|
overrideprotectedvirtual |
Called by initialize.
Implements makVrv::DtKinematicState.
|
overrideprotectedvirtual |
Implements makVrv::DtKinematicState.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Ground clamping members.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |