![]() |
VR-Forces Developer's Guide
|
Visualizes a textured strip trailing behind an entity, such as a boat's wake.

Static Public Member Functions | |
| static const DtStateVisualizer::TypeInfo & | theTypeInfo () |
Protected Member Functions | |
| virtual void | createModelAgents () |
| virtual void | destroyModelAgents () |
| virtual void | setModelDefinitionForAgents () |
| void | slot_embarkedStateChanged () |
| virtual bool | visible () const |
| virtual void | connectToListenerSignals () override |
| virtual void | setInitialValuesFromVisualizerDefinition () override |
| virtual void | updateDrawState () |
| virtual void | slot_wrmStateSet (int stateNumber, int value) |
| virtual void | toggleEffectByCompareValue (int compareValue) |
Protected Member Functions inherited from makVrv::DtStateVisualizer | |
| virtual void | makeVisible () |
| virtual bool | isVisible () const |
| template<typename T , typename C > | |
| void | connectAndUpdate (boost::signalslib::signal< void(T)> &sig, void(C::*fp)(T), T val) |
Protected Attributes | |
| DtDecalModelAgent * | myDecalEffectAgent |
| bool | myDecalCreationPaused |
| bool | myEffectEnabled |
| bool | myEmbarked |
| DtVector | myPosOffset |
| DtModelSemanticsMapper::States::Id | myAttributeStateId |
| std::vector< int > | myAttributeCompareValues |
Protected Attributes inherited from makVrv::DtEntityStateVisualizer | |
| DtEntityStateListener * | myEntityListener |
Protected Attributes inherited from makVrv::DtStateVisualizer | |
| DtBaseConnection & | mySimulation |
| DtStateListener & | myListener |
| bool | myDistributeFlag |
| DtUniqueID | mySceneObjectID |
| std::string | myName |
| std::string | myModelDefinition |
| DtSignalConnectionManager | myConnections |
| DtModelSetId | myModelSet |
| int | myVisualizerType |
| bool | myPickable |
| bool | myVisible |
| const DtVisualizerDefinition * | myVisualizerDefinition |
| DtSceneObjectAgent * | mySceneObjectAgent |
| bool | myInitialInitializeDone |
| ShowHideContextVector | myVisualizerShowHideContexts |
Additional Inherited Members | |
Public Types inherited from makVrv::DtStateVisualizer | |
| enum | Type { AllVisualizerTypes = 0, EntityVisualizerType = 1, EnvironmentalVisualizerType, InteractionVisualizerType, AggregateVisualizerType, IntervisibilityVisualizerType, TacticalSmokeVisualizerType, UserType = 10000 } |
Protected Types inherited from makVrv::DtStateVisualizer | |
| typedef std::vector < DtVisualizerShowHideContext::VisualizerShowHideContext > | ShowHideContextVector |
| makVrv::DtEntityDecalEffectVisualizer::DtEntityDecalEffectVisualizer | ( | DtBaseConnection & | simulation, |
| DtStateListener & | listener, | ||
| DtSceneObjectAgent * | sceneObject, | ||
| DtModelSetId | modelSet | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
delete |
not allowed - default constructor
|
delete |
not allowed - copy constructor
|
delete |
not allowed - equals operator
|
overridevirtual |
called soon after construction to initialize the signals/state from the listener
Reimplemented from makVrv::DtStateVisualizer.
|
virtual |
Set whether the decal effect is enabled.
| bool makVrv::DtEntityDecalEffectVisualizer::decalEffectEnabled | ( | ) | const |
Get whether the decal effect is enabled.
|
virtual |
Set whether the decal effect is paused.
| bool makVrv::DtEntityDecalEffectVisualizer::decalCreationPaused | ( | ) | const |
Get whether the decal effect is paused. So if it is still visible it will create invisible particles instead of visible ones so it can transition between off and on correctly.
|
virtual |
The instance's type info.
Implements makVrv::DtStateVisualizer.
|
static |
This class's type info.
|
protectedvirtual |
No-op must override pure virtual.
Reimplemented from makVrv::DtEntityStateVisualizer.
|
protectedvirtual |
No-op must override pure virtual.
Reimplemented from makVrv::DtEntityStateVisualizer.
|
protectedvirtual |
No-op must override pure virtual.
Reimplemented from makVrv::DtEntityStateVisualizer.
|
protected |
|
protectedvirtual |
|
overrideprotectedvirtual |
Connect the visualizer to the listeners signals Called by DtStateVisualizer::initialize()
Reimplemented from makVrv::DtStateVisualizer.
|
overrideprotectedvirtual |
Sets member variables from the visualizer definition if they exist Should not call this directly. Called by DtStateVisualizer::initialize.
Reimplemented from makVrv::DtStateVisualizer.
|
protectedvirtual |
Visible means that the model agent is created or destroyed when the model agent is destroyed all particles instantly disappear never to be seen again If the entity stops then the particle system is just stopped but the previously created particles stick around If the effect enabled is set to false then the decal effect is no longer visible and the model agent is destroyed.
|
protectedvirtual |
handles changes to the wrm state from the DtEntityStateListener
|
protectedvirtual |
Toggle the effect based on the attribute compare value.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |