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

A visualizer for displaying range rings. More...

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

List of all members.

Classes

struct  SphereStruct

Public Member Functions

 DtRangeSphereVisualizer (makVrv::DtBaseConnection &connection, makVrv::DtStateListener &listener, int modelSet)
 CTOR.
virtual ~DtRangeSphereVisualizer ()
 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.
virtual bool setVisible (bool onOff, int contextInt)
 Returns true if this context wants to show or hide the item.
virtual void setShowRangeSphere (bool)
virtual void setScale (float)

Static Public Member Functions

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

Protected Member Functions

virtual void tryToDraw ()
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 SphereStruct addNewRangeSphere ()
virtual void destroyLastRangeSphere ()
virtual void setRangeSphereColors ()
virtual void slot_entityRangeRingsEnabled (const std::string &markingText, int setting)
virtual void setRangeSphereGeometry ()
virtual void setRangeSphereCount (int)

Protected Attributes

std::vector< SphereStructmyRangeSpheres
DtEntityStateListenerExtensionsmyExtensions
bool myShowRangeSphere
bool myEntityRangeRingsEnabled
float myScale

Detailed Description

A visualizer for displaying range rings.


Constructor & Destructor Documentation

CTOR.

DTOR.


Member Function Documentation

virtual void makVrf::DtRangeSphereVisualizer::connect ( ) [virtual]
virtual void makVrf::DtRangeSphereVisualizer::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 bool makVrf::DtRangeSphereVisualizer::setVisible ( bool  visible,
int  context 
) [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::DtRangeSphereVisualizer::setScale ( float  ) [virtual]
virtual void makVrf::DtRangeSphereVisualizer::tryToDraw ( ) [protected, virtual]
virtual void makVrf::DtRangeSphereVisualizer::createModelAgents ( ) [protected, virtual]

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

Implements makVrv::DtStateVisualizer.

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

Destroys all currently created definitions.

Implements makVrv::DtStateVisualizer.

virtual void makVrf::DtRangeSphereVisualizer::destroyLastRangeSphere ( ) [protected, virtual]
virtual void makVrf::DtRangeSphereVisualizer::setRangeSphereColors ( ) [protected, virtual]
virtual void makVrf::DtRangeSphereVisualizer::slot_entityRangeRingsEnabled ( const std::string &  markingText,
int  setting 
) [protected, virtual]
virtual void makVrf::DtRangeSphereVisualizer::setRangeSphereGeometry ( ) [protected, virtual]
virtual void makVrf::DtRangeSphereVisualizer::setRangeSphereCount ( int  ) [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)