![]() |
VR-Forces Developer's Guide
|
A visualizer for displaying a Image (Bitmap) Symbology Icon. The visualizer stores a map by integer of which image to display. If no image identifier is supplied, the first available image in the map is displayed.

Protected Member Functions | |
| virtual DtObjectTypeStateListener & | objectTypeStateListener () |
| virtual void | setHasMouse (bool hasMouse) |
| virtual void | createModelAgents () |
| virtual void | destroyModelAgents () |
| virtual void | update () |
| virtual DtUnicode | imageSymbolDefinition (int) const |
| 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 } |
Protected Types inherited from makVrv::DtStateVisualizer | |
| typedef std::vector < DtVisualizerShowHideContext::VisualizerShowHideContext > | ShowHideContextVector |
| makVrv::DtImageSymbolVisualizer::DtImageSymbolVisualizer | ( | DtBaseConnection & | connection, |
| 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 |
Initialize the visualizer.
Reimplemented from makVrv::DtStateVisualizer.
Reimplemented in makVrv::DtEntityImageSymbolVisualizer, makVrv::DtAggregateImageSymbolVisualizer, makVrv::DtTacticalGraphicImageSymbolVisualizer, and makVrf::DtVrfTacticalGraphicImageSymbolVisualizer.
|
virtual |
Sets the model definition of the agents.
Implements makVrv::DtStateVisualizer.
|
overridevirtual |
Sets whether or not the symbol is selected. Connected to DtStateListener's signal_objectSelectionChanged signal.
Reimplemented from makVrv::DtStateVisualizer.
|
virtual |
Set whether or not fixed icon scaling will be used. If fixed icon scaling is NOT used, then icons will be dynamically scaled based on the altitude of the observer for the channel rendering the icon.
| void makVrv::DtImageSymbolVisualizer::setScale | ( | float | scale | ) |
Sets scale of the item relative to the default size This is only used if setFixedIconScalingEnabled(true).
|
virtual |
Set the altitude-specific scale values to use for this visualizer.
|
virtual |
Sets the image to display.
|
virtual |
Returns the image symbol to display.
|
virtual |
Sets whether or not the item is selectable.
Reimplemented from makVrv::DtStateVisualizer.
|
virtual |
Sets the integer to model definition map of this visualizer.
| const DtVisualAttributeForceSpecificString::ForceTypeToUnicodeMap& makVrv::DtImageSymbolVisualizer::imageSymbolMap | ( | ) | const |
Returns the map.
Sets the size of the image if scaling is 1.0.
Returns the current size of the image if scale is 1.0.
|
virtual |
Sets whether or not this item is destroyed. If it is the destroyed model definition will be displayed on top of the icon.
|
inline |
Returns whether or not this object is destroyed.
|
virtual |
Sets the model definition to display when item is destroyed.
|
inline |
Returns the model used for the destroyed image.
|
virtual |
Rotates the object to the given heading as indicated by the radians contents of heading.
|
inlineprotectedvirtual |
|
protectedvirtual |
Sets whether or not the mouse is on this item. If so will show as "highlighted".
|
protectedvirtual |
Creates the agents used to display this model.
Implements makVrv::DtStateVisualizer.
Reimplemented in makVrv::DtTacticalGraphicImageSymbolVisualizer, and makVrv::DtAggregateImageSymbolVisualizer.
|
protectedvirtual |
Destroys agents used to create this mode.
Implements makVrv::DtStateVisualizer.
Reimplemented in makVrv::DtTacticalGraphicImageSymbolVisualizer.
|
protectedvirtual |
Updates the model with items to display.
|
protectedvirtual |
Given an integer, return the image symbol definition for that. If it does not exist, return the first element.
Reimplemented in makVrf::DtVrfTacticalGraphicImageSymbolVisualizer.
|
overrideprotectedvirtual |
Connect the visualizer to the listeners signals Called by DtStateVisualizer::initialize()
Reimplemented from makVrv::DtStateVisualizer.
Reimplemented in makVrv::DtTacticalGraphicImageSymbolVisualizer.
|
overrideprotectedvirtual |
Sets member variables from the visualizer definition if they exist Should not call this directly. Called by DtStateVisualizer::initialize.
Reimplemented from makVrv::DtStateVisualizer.
Reimplemented in makVrv::DtTacticalGraphicImageSymbolVisualizer.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |