![]() |
VR-Forces Developer's Guide
|
Visualizer for entity track histories; places a 3d ribbon behind the entity, which tracks the location history of the entity.

Static Public Member Functions | |
| static const DtStateVisualizer::TypeInfo & | theTypeInfo () |
Protected Member Functions | |
| virtual void | slot_embarkedStateChanged () |
| virtual void | updateActivity () |
| virtual void | createModelAgents () override |
| virtual void | destroyModelAgents () override |
| virtual void | updateColor () |
| virtual void | setModelDefinitionForAgents () override |
| virtual void | connectToListenerSignals () override |
| virtual void | setInitialValuesFromVisualizerDefinition () override |
| virtual void | setForceType (DtForceType f) |
Track History Setting Changed Slots | |
Updates the track history as the settings change. | |
| virtual void | slot_trackHistoryRibbonSpacingChanged (float spacing) |
| virtual void | slot_trackHistoryRibbonLengthChanged (int maxSamples) |
| virtual void | slot_trackHistoryRibbonTimeoutChanged (float duration) |
| virtual void | slot_trackHistoryRibbonInfiniteChanged (bool isInfinite) |
| virtual void | slot_trackHistoryHeightLinesEnabledChanged (bool enabled) |
| virtual void | slot_clearTrackHistories () |
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) |
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::DtEntityTrackHistoryVisualizer::DtEntityTrackHistoryVisualizer | ( | 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.
Reimplemented in makVrf::DtVrfEntityTrackHistoryVisualizer, makVrf::DtSpotReportTrackHistoryVisualizer, and makVrf::DtAggregateTrackHistoryVisualizer.
|
virtual |
Sets whether the track history is enabled (visible).
|
virtual |
Gets whether the track history is currently enabled (visible).
|
virtual |
Returns true if model should be visible.
Reimplemented in makVrf::DtVrfEntityTrackHistoryVisualizer.
|
virtual |
override color in the model definition
|
virtual |
The instance's type info.
Implements makVrv::DtStateVisualizer.
Reimplemented in makVrf::DtSpotReportTrackHistoryVisualizer, and makVrf::DtAggregateTrackHistoryVisualizer.
|
virtual |
set the color override value for this visualizer. This allows the original color to be changed while the color is overriden and update correctly when the override is turned off
|
static |
This class's type info.
|
protectedvirtual |
Set whether the entity is embarked or not (update track history visibility).
|
protectedvirtual |
Ensure model agents are created or destroyed as visibility changes. Called from setTrackHistoryEnabled(bool).
|
overrideprotectedvirtual |
Creates model agents for visualizing the track history.
Reimplemented from makVrv::DtEntityStateVisualizer.
Reimplemented in makVrf::DtSpotReportTrackHistoryVisualizer.
|
overrideprotectedvirtual |
Destroys the model agents used to visualize the track history.
Reimplemented from makVrv::DtEntityStateVisualizer.
Reimplemented in makVrf::DtSpotReportTrackHistoryVisualizer.
|
protectedvirtual |
Applies the color (set by setColor(float,float,float,float) to the track history.
|
overrideprotectedvirtual |
Tells the track history model agents to use the current model definition.
Reimplemented from makVrv::DtEntityStateVisualizer.
Reimplemented in makVrf::DtSpotReportTrackHistoryVisualizer.
|
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 |
Sets the force type which changes the model definition based on force type and updates the color.
Reimplemented in makVrf::DtVrfEntityTrackHistoryVisualizer.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |