![]() |
VR-Forces 4.10 Class Documentation
|
DtAggregateKinStateVisualizer is responsible for showing kinematic state for the aggregate. More...

Public Member Functions | |
| DtAggregateKinStateVisualizer (DtBaseConnection &simulation, DtStateListener &listener, int modelSet) | |
| CTOR. More... | |
| virtual | ~DtAggregateKinStateVisualizer () |
| DTOR. More... | |
| DtAggregateKinStateVisualizer (const DtAggregateKinStateVisualizer &)=delete | |
| not allowed More... | |
| DtAggregateKinStateVisualizer & | operator= (const DtAggregateKinStateVisualizer &)=delete |
| not allowed More... | |
| virtual void | createModelAgents () override |
| Override to allow for initialization POST agent creation. More... | |
| virtual void | readEntityDisplaySettings () override |
| Override rides the entity settings, aggregates only use smoothing, they do not use any form of clamping. More... | |
| virtual void | slot_parentSet (DtElement *parent) override |
| Dynamically casts DtElement to an AggregateElement, uses model set to get the DtAggregateVisualizerSet's ID. More... | |
| virtual const DtStateVisualizer::TypeInfo & | typeInfo () const |
| The instance's type info. More... | |
Public Member Functions inherited from makVrv::DtEntityKinStateVisualizer | |
| DtEntityKinStateVisualizer (DtBaseConnection &simulation, DtStateListener &listener, int modelSet) | |
| CTOR. More... | |
| virtual | ~DtEntityKinStateVisualizer () |
| DTOR. More... | |
| DtEntityKinStateVisualizer ()=delete | |
| not allowed - default constructor More... | |
| DtEntityKinStateVisualizer (const DtEntityKinStateVisualizer &)=delete | |
| not allowed - copy constructor More... | |
| DtEntityKinStateVisualizer & | operator= (const DtEntityKinStateVisualizer &)=delete |
| not allowed - equals operator More... | |
| virtual void | setLocation (const DtVector &, double time) |
| This version will use the time supplied as the dead reckoned time. More... | |
| virtual void | setOrientation (const DtTaitBryan &, double time) |
| This version will use the time supplied as the dead reckoned time. More... | |
| virtual void | setVelocity (const DtVector32 &, double time) |
| This version will use the time supplied as the dead reckoned time. More... | |
| virtual void | setAngularVelocity (const DtVector32 &, double time) |
| This version will use the time supplied as the dead reckoned time. More... | |
| virtual void | setAcceleration (const DtVector32 &, double time) |
| This version will use the time supplied as the dead reckoned time. More... | |
| virtual void | setLocation (const DtVector &) |
| Call to scene object to set location. More... | |
| virtual void | setOrientation (const DtTaitBryan &) |
| Call to scene object to set orientation. More... | |
| virtual void | setVelocity (const DtVector32 &) |
| Call to scene object to set velocity. More... | |
| virtual void | setAngularVelocity (const DtVector32 &) |
| Call to scene object to set angular velocity. More... | |
| virtual void | setAcceleration (const DtVector32 &) |
| Call to scene object to set acceleration. More... | |
| virtual void | setDeadReckoning (bool position, bool velocity, bool orientation) |
| virtual DtDeadReckonUpdaterAgent * | findDeadReckoner () |
| virtual void | setEmbarked (const DtUniqueID &id) |
| Embarks this object on the specified parent object. More... | |
| virtual void | setVisualizerDefinition (const DtVisualizerDefinition &visDef) |
| Set the visual definition. More... | |
| virtual void | setSmoothingEnabled (bool enabled) |
| Set whether the Entity smooths. More... | |
| virtual void | setSmoothingPeriod (float scale) |
| Set the period for entity smoothing. More... | |
| virtual void | setFrozen (bool isFrozen) |
| Set whether the entity is frozen, pausing any animations. More... | |
| virtual void | setBuoyancyEnabled (bool enabled) |
| Set whether this visualizer should use the dynamic ocean clamper (normally set via entity display settings) More... | |
| virtual void | setBuoyancyLod (float lodDistance) |
| Set the distance from any observer beyond which this entity, if buoyancy is enabled, will not run the model. More... | |
| virtual void | setWaterlineOriginOffset (float offset) |
| Set an altitude offset from the scene object origin to its waterline. More... | |
| virtual void | setWaterClampingPossible (bool enabled) |
| Set whether this visualizer should create a dynamic ocean clamper (buoyancy model). More... | |
| virtual void | setIsAmphibious (bool amphibious) |
| If a surface clamping updater is created (to clamp to dynamic ocean) this flag indicates if checks for on water vs. More... | |
| virtual bool | isAmphibious () const |
| Get if this entity needs on water vs. on land checks. More... | |
| virtual void | setDamageState (DtEntityStateListener::DamageState damageState) |
| Set the damage state (used for sinking watercraft) More... | |
| virtual bool | destroyed () const |
| virtual void | resetSpatialAttributes () |
| DtEntityStateListener & | entityStateListener () |
| virtual void | setElementID (const DtElementID &id) |
| Overridden in order to report the Display Unit Collection Name element attribute to the element attribute manager. More... | |
| virtual std::string | displayUnitCollectionName () const |
| virtual void | implementVisibility (bool visible) |
| Ground clamping code. More... | |
| virtual void | getEntityStateSettings () |
| Since the listener may be connected and receive values before the visualizer is created, get basic settings from the entity listener. More... | |
| virtual void | setGroundClampingCullingEnabled (bool enabled) |
| Set whether ground clamp uses the distance cutoff. More... | |
| virtual void | setGroundClampingScale (float scale) |
| Set the scale factor for ground clamping distance culling by radius. More... | |
| virtual void | setGroundClamping (bool enabled) |
| Set ground clamping enabled or not. More... | |
| virtual void | setGroundClampingMode (DtGroundClampingUpdater::GroundClampingMode mode) |
| Set ground clamping mode using bit flags defined in DtGroundClampingUpdater::GroundClampingMode. More... | |
| virtual void | setPossibleGroundClampingModes (DtGroundClampingUpdater::GroundClampingMode possibleModes) |
| Set the flags for all possible modes for this entity. More... | |
| virtual DtGroundClampingUpdater::GroundClampingMode | groundClampingMode () |
| Get the entity's current ground clamping mode. More... | |
| virtual void | orientationClampingChanged (bool enabled) |
| Change the orientation clamping for all entities. More... | |
| virtual void | lifeformsUprightChanged (bool enabled) |
| Change the life form upright state for all entities. More... | |
Public Member Functions inherited from makVrv::DtSceneObjectVisualizer | |
| DtSceneObjectVisualizer (DtBaseConnection &simulation, DtStateListener &listener, int modelSet) | |
| virtual | ~DtSceneObjectVisualizer () |
| virtual DtUniqueID | uniqueID () const |
| Return unique id of mySceneObjectAgent, if it exists, else returns 0;. More... | |
| virtual DtSceneObjectAgent * | sceneObjectAgent () |
| virtual void | setParent (DtStateVisualizer *p) |
| Override of base class setParent to simply set the parent without destroying/recreating model agents. More... | |
| virtual void | setSceneObjectAgent (DtSceneObjectAgent *) |
| DtElementID | elementID () const |
| virtual bool | show (int) |
| Override to show/hide scene object agent (if it exists) More... | |
| virtual bool | hide (int) |
| Will call destroyModelAgents(), if, when the context is added, it is the first context in the list. More... | |
Public Member Functions inherited from makVrv::DtStateVisualizer | |
| DtStateVisualizer (DtBaseConnection &connection, DtStateListener &listener, int modelSet) | |
| CTOR. More... | |
| virtual | ~DtStateVisualizer () |
| DTOR. More... | |
| virtual DtObserverMode::ModelSets | modelSet () |
| Return the visualizer's model set enum. More... | |
| virtual const DtStateVisualizer * | parent () const |
| Get a const pointer to the parent visualizer of this visualizer. More... | |
| void | setModelDefinition (const std::string &definition) |
| Sets the model definition and creates agent(s) based on that definition. More... | |
| const std::string & | modelDefinition () const |
| Gets the current model definition. More... | |
| virtual bool | setVisible (bool visible, int context) |
| Returns true if this context wants to show or hide the item. More... | |
| virtual void | initialize () |
| Initialize the visualizer. More... | |
| virtual bool | isVisible () const |
| Returns true if visible. More... | |
| virtual void | setHasMouseCursor (bool) |
| Sets the mouse hover state. More... | |
| virtual bool | hasMouseCursor () const |
| virtual void | setSelected (bool) |
| Sets selected state. More... | |
| virtual bool | selected () const |
| void | setName (const std::string &) |
| Internal name of state visualizer. More... | |
| const std::string & | name () const |
| virtual void | setPickable (bool) |
| Sets pickable state. More... | |
| virtual bool | pickable () const |
| virtual void | setUniqueID (DtUniqueID id) |
| DtUniqueID | uniqueID () const |
| int | visualizerType () const |
| void | setShowHideContext (const std::vector< int > &s) |
| Set show/hide context without changing visibility of item. More... | |
| DtStateListener & | listener () |
| DtBaseConnection & | simulation () |
| Get the connection for this visualizer. More... | |
| void | setDistribute (bool b) |
| Whether or not to distribute over the network. More... | |
| bool | distribute () const |
Static Public Member Functions | |
| static const DtStateVisualizer::TypeInfo & | theTypeInfo () |
| This class's type info. More... | |
Static Public Member Functions inherited from makVrv::DtEntityKinStateVisualizer | |
| static const DtStateVisualizer::TypeInfo & | theTypeInfo () |
| This class's type info. More... | |
Additional Inherited Members | |
Public Types inherited from makVrv::DtStateVisualizer | |
| enum | Type { AllVisualizerTypes = 0, EntityVisualizerType = 1, EnvironmentalVisualizerType, InteractionVisualizerType, AggregateVisualizerType, IntervisibilityVisualizerType, TacticalSmokeVisualizerType, UserType = 10000 } |
| Visualizer class types that are supportable via visualizers. More... | |
Public Attributes inherited from makVrv::DtStateVisualizer | |
| boost::signalslib::signal < void(DtStateVisualizer *, DtStateVisualizer *, DtStateVisualizer *)> | signal_reparented |
| Signaled when the parent of this item changes, called before destroying any model agents. More... | |
| boost::signalslib::signal < void(DtMouseState &, const DtUniqueID &, const std::string &, const std::string &, const std::string &, DtStateVisualizer *)> | signal_mouseDown |
| Emitted when the entity's indicator is clicked. More... | |
| boost::signalslib::signal < void(DtMouseState &, const DtUniqueID &, const std::string &, const std::string &, const std::string &, DtStateVisualizer *)> | signal_mouseUp |
| boost::signalslib::signal < void(DtMouseState &, const DtUniqueID &, const std::string &, const std::string &, const std::string &, DtStateVisualizer *)> | signal_mouseDblClick |
Protected Member Functions inherited from makVrv::DtEntityKinStateVisualizer | |
| virtual void | destroyModelAgents () |
| Model agent is only destroyed in destructor. More... | |
| virtual void | setModelDefinitionForAgents () |
| Sets model definition for all the agents that this visualizer might be using. More... | |
| 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 () |
| virtual void | slot_buoyancyDefaultLODDistanceChanged (float distance) |
| virtual void | slot_buoyancyMinimumCullDistanceChanged (float distance) |
| virtual void | slot_buoyancyCullTypeChanged (DtEntitySettingsRecord::BuoyancyCullType cullType) |
| virtual void | slot_resetSmoother () |
Protected Member Functions inherited from makVrv::DtSceneObjectVisualizer | |
| virtual DtSceneObjectAgent * | createObjectAgent () |
Protected Member Functions inherited from makVrv::DtStateVisualizer | |
| virtual void | slot_mouseDown (DtMouseState &mouseState, const std::string &displayEngineName, const std::string &windowName, const std::string &channelName) |
| Called when the mouse is clicked in this visualizer. More... | |
| virtual void | slot_mouseUp (DtMouseState &mouseState, const std::string &displayEngineName, const std::string &windowName, const std::string &channelName) |
| virtual void | slot_mouseDblClick (DtMouseState &mouseState, const std::string &displayEngineName, const std::string &windowName, const std::string &channelName) |
| virtual bool | supportsShowHideContext (int) const |
| Default returns true. More... | |
| template<typename T , typename C > | |
| void | connectAndUpdate (boost::signalslib::signal< void(T)> &sig, void(C::*fp)(T), T val) |
| Connect a signal and update the entity. More... | |
DtAggregateKinStateVisualizer is responsible for showing kinematic state for the aggregate.
These classes will wrap the visualization of static and dynamic scene objects and should be used to position objects in the scene.
| makVrv::DtAggregateKinStateVisualizer::DtAggregateKinStateVisualizer | ( | DtBaseConnection & | simulation, |
| DtStateListener & | listener, | ||
| int | modelSet | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
delete |
not allowed
|
delete |
not allowed
|
overridevirtual |
Override to allow for initialization POST agent creation.
Reimplemented from makVrv::DtEntityKinStateVisualizer.
|
overridevirtual |
Override rides the entity settings, aggregates only use smoothing, they do not use any form of clamping.
Reimplemented from makVrv::DtEntityKinStateVisualizer.
|
overridevirtual |
Dynamically casts DtElement to an AggregateElement, uses model set to get the DtAggregateVisualizerSet's ID.
Reimplemented from makVrv::DtEntityKinStateVisualizer.
|
virtual |
The instance's type info.
Reimplemented from makVrv::DtEntityKinStateVisualizer.
|
static |
This class's type info.
|
protected |