![]() |
VR-Forces 5.0.2 Developer's Guide
|
Base class for height above terrain line visualizers to show height above terrain line and label.

Protected Member Functions | |
| virtual DtObjectTypeStateListener & | objectTypeStateListener () |
| virtual void | createModelAgents () override |
| virtual void | destroyModelAgents () override |
| virtual void | updateAltitudeBasedScalingProperties () |
| virtual void | updateForcedAltitudeBasedConfigurationEnabledState () |
| virtual void | updateLodOutAltitudeProperties () |
| virtual void | updateIsLodOutAltitudeEnabledState () |
| virtual void | setModelDefinitionForAgents () override |
| virtual void | connectToListenerSignals () override |
| virtual void | setInitialValuesFromVisualizerDefinition () override |
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 } |
Public Attributes inherited from makVrv::DtStateVisualizer | |
| boost::signalslib::signal < void(DtStateVisualizer *, DtStateVisualizer *, DtStateVisualizer *)> | signal_reparented |
Protected Types inherited from makVrv::DtStateVisualizer | |
| typedef std::vector < DtVisualizerShowHideContext::VisualizerShowHideContext > | ShowHideContextVector |
| makVrv::DtHATLineVisualizer::DtHATLineVisualizer | ( | DtBaseConnection & | simulation, |
| DtStateListener & | listener, | ||
| int | modelSet | ||
| ) |
CTOR.
| makVrv::DtHATLineVisualizer::DtHATLineVisualizer | ( | DtBaseConnection & | simulation, |
| DtStateListener & | listener, | ||
| DtSceneObjectAgent * | sceneObject, | ||
| int | 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 makVrv::DtEnvironmentalHATLineVisualizer, and makVrv::DtEntityHATLineVisualizer.
|
virtual |
|
overridevirtual |
Set the scene object id of the line object visualizing this hat line.
Reimplemented from makVrv::DtStateVisualizer.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Set / Get the period at which the hat line is updated.
Set / Get the period at which the hat line is updated.
|
virtual |
Set / Get whether to use the height map when calculating elevations on streamed terrains (slower)
|
virtual |
Set / Get whether to use the height map when calculating elevations on streamed terrains (slower)
|
virtual |
Set / Get the minimum altitude, in meters, at which all HAT informational text will no longer appear. Default is 500000 meters. This functionality is not used by default and can be enabled by setting lodoutaltitudeenabled to true in the visual definition that this visualizer was created from. This functionality is designed to be used in the 2D projection.
|
virtual |
Set / Get the minimum altitude, in meters, at which all HAT informational text will no longer appear. Default is 500000 meters. This functionality is not used by default and can be enabled by setting lodoutaltitudeenabled to true in the visual definition that this visualizer was created from. This functionality is designed to be used in the 2D projection.
|
virtual |
Set whether or not all symbol decorations managed by this visualizer are pinned or not. A pinned symbol decoration will always appear regardless of LOD Out Altitude.
|
virtual |
Set whether or not altitude-based scaling will be used. If altitude-based scaling is used, then the HAT informational text will be visualized with varying font sizes based on the altitude of the camera rendering the text. This functionality is not used by default and can be enabled by setting dynamicscalingenabled to true in the visual definition that this visualizer was created from. This functionality is designed to be used in the 2D projection.
|
virtual |
Set the altitude-based scale values to use for this visualizer. Altitude-based scale values are used to scale HAT informational text based on the altitude of the camera rendering the text.
|
virtual |
Set / Get the mouse hover state.
|
virtual |
Set / Get the mouse hover state.
|
overridevirtual |
Sets whether this visualizer's entity is selected or not. Connected to DtStateListener's signal_objectSelectionChanged signal.
Reimplemented from makVrv::DtStateVisualizer.
Reimplemented in makVrv::DtEntityHATLineVisualizer, and makVrv::DtEnvironmentalHATLineVisualizer.
|
protectedvirtual |
|
overrideprotectedvirtual |
Create the model agents for the line and text.
Implements makVrv::DtStateVisualizer.
Reimplemented in makVrv::DtEnvironmentalHATLineVisualizer, and makVrv::DtEntityHATLineVisualizer.
|
overrideprotectedvirtual |
Destroy the model agents for the line and text.
Implements makVrv::DtStateVisualizer.
|
protectedvirtual |
Set/Clear the altitude-based configurations of the heading line indicator based on the whether fixed scaling is enabled.
|
protectedvirtual |
Force a particular altitude-based configuration for the heading line indicator based on mouse hover and selection state.
|
protectedvirtual |
Updates the LOD Out Altitude property of all symbol decorations.
|
protectedvirtual |
Updates the LOD Out Altitude property of all symbol decorations.
|
overrideprotectedvirtual |
Pass any model definition specified in the visual definition to the visualizer.
Implements makVrv::DtStateVisualizer.
|
overrideprotectedvirtual |
Connect the visualizer to the listeners signals Called by DtStateVisualizer::initialize()
Reimplemented from makVrv::DtStateVisualizer.
Reimplemented in makVrv::DtEnvironmentalHATLineVisualizer, and makVrv::DtEntityHATLineVisualizer.
|
overrideprotectedvirtual |
Sets member variables from the visualizer definition if they exist Should not call this directly. Called by DtStateVisualizer::initialize.
Reimplemented from makVrv::DtStateVisualizer.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
whether or not the widget this visualizer controls is pinned
|
protected |
Whether or not this visualizer will lod out based on altitude.
|
protected |
The altitude at which all HAT information will no longer appear The default value is 100000 meters. Only used if myLODAltitudeEnabled is true.
|
protected |
Whether or not the lod out altitude is overridden. If overridden, the lod out altitude from the visualizer's state listener is ignored. Only used if myLODAltitudeEnabled is true.
|
protected |
Whether or not to use altitude-based scaling is used.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |