VR-Forces 4.0.4 Class Documentation
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
makVrf::DtRangeRingVisualizer Class Reference

A visualizer for displaying range rings. More...

Inheritance diagram for makVrf::DtRangeRingVisualizer:
Inheritance graph
[legend]

List of all members.

Classes

struct  RingStruct

Public Member Functions

 DtRangeRingVisualizer (makVrv::DtBaseConnection &connection, makVrv::DtStateListener &listener, int modelSet)
 CTOR.
virtual ~DtRangeRingVisualizer ()
 DTOR.
virtual void connect ()
virtual void disconnect ()
virtual void initialize_settings ()
virtual void setVisualizerDefinition (const makVrv::DtVisualizerDefinition &visDef)
 Sets the visual definition of the visualizer.
virtual void setModelDefinitionForAgents ()
 Sets model definition for all the agents that this visualizer might be using.
virtual const
makVrv::DtStateVisualizer::TypeInfo
typeInfo () const
 The instance's type info.

Static Public Member Functions

static const
makVrv::DtStateVisualizer::TypeInfo
theTypeInfo ()
 This class's type info.
static const
makVrv::DtVisualizerSchema
theDtRangeRingSchema ()
 Get reference to DtEntityMilitaryImageSymbolVisualizer schema.

Protected Member Functions

virtual void createModelAgents ()
 Override to create model agents that will be used to display data from the listener.
virtual void destroyModelAgents ()
 Destroys all currently created definitions.
virtual void createRing ()
virtual void destroyOuterRing ()
virtual void tryToDraw ()
virtual void updateRangeRingsCount ()
virtual bool setVisible (bool visible, int context)
 Returns true if this context wants to show or hide the item.
virtual void setRangeRingsScale (float)
 Changes the scale of the font and width of the ring + axis lines.
virtual void setRangeRingsFill (bool)
 Fills the ring - currently not enabled in dialog, but should work.
virtual void setRangeRingsGeometry ()
virtual void setRangeRingsColors ()
virtual void setRangeRingsLabels ()
virtual void slot_entityRangeRingsEnabled (const std::string &markingText, int setting)
virtual void slot_displayUnitChanged (makVrv::DtUnitConverterCollection::DisplayUnitType, int, int)

Protected Attributes

std::vector< RingStructmyRangeRings
DtEntityStateListenerExtensionsmyExtensions
std::string myFontFile
float myFontSizeUnscaled
float myScale
bool myFill
bool myEntityRangeRingsEnabled

Detailed Description

A visualizer for displaying range rings.


Constructor & Destructor Documentation

CTOR.

DTOR.


Member Function Documentation

virtual void makVrf::DtRangeRingVisualizer::connect ( ) [virtual]
virtual void makVrf::DtRangeRingVisualizer::disconnect ( ) [virtual]

Sets the visual definition of the visualizer.

Reimplemented from makVrv::DtStateVisualizer.

Sets model definition for all the agents that this visualizer might be using.

If model agents are not created, should create them. Should not call this directly, but rather call setModelDefinition

Implements makVrv::DtStateVisualizer.

The instance's type info.

Implements makVrv::DtStateVisualizer.

This class's type info.

Get reference to DtEntityMilitaryImageSymbolVisualizer schema.

virtual void makVrf::DtRangeRingVisualizer::createModelAgents ( ) [protected, virtual]

Override to create model agents that will be used to display data from the listener.

Implements makVrv::DtStateVisualizer.

virtual void makVrf::DtRangeRingVisualizer::destroyModelAgents ( ) [protected, virtual]

Destroys all currently created definitions.

Implements makVrv::DtStateVisualizer.

virtual void makVrf::DtRangeRingVisualizer::createRing ( ) [protected, virtual]
virtual void makVrf::DtRangeRingVisualizer::destroyOuterRing ( ) [protected, virtual]
virtual void makVrf::DtRangeRingVisualizer::tryToDraw ( ) [protected, virtual]
virtual void makVrf::DtRangeRingVisualizer::updateRangeRingsCount ( ) [protected, virtual]
virtual bool makVrf::DtRangeRingVisualizer::setVisible ( bool  visible,
int  context 
) [protected, virtual]

Returns true if this context wants to show or hide the item.

If it does, put onto (or removes) list of contexts that are responsible for keeping this item hidden. If there are no items left and the item wants to be show, createModelAgents() is called, else if being hidden, destroyModelAgents() is called. Returns true if visibility has changed

Reimplemented from makVrv::DtStateVisualizer.

virtual void makVrf::DtRangeRingVisualizer::setRangeRingsScale ( float  ) [protected, virtual]

Changes the scale of the font and width of the ring + axis lines.

virtual void makVrf::DtRangeRingVisualizer::setRangeRingsFill ( bool  ) [protected, virtual]

Fills the ring - currently not enabled in dialog, but should work.

virtual void makVrf::DtRangeRingVisualizer::setRangeRingsGeometry ( ) [protected, virtual]
virtual void makVrf::DtRangeRingVisualizer::setRangeRingsColors ( ) [protected, virtual]
virtual void makVrf::DtRangeRingVisualizer::setRangeRingsLabels ( ) [protected, virtual]
virtual void makVrf::DtRangeRingVisualizer::slot_entityRangeRingsEnabled ( const std::string &  markingText,
int  setting 
) [protected, virtual]

Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)