![]() |
VR-Forces 4.0.4 Class Documentation
|
A visualizer for displaying range rings. More...

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< SphereStruct > | myRangeSpheres |
| DtEntityStateListenerExtensions * | myExtensions |
| bool | myShowRangeSphere |
| bool | myEntityRangeRingsEnabled |
| float | myScale |
A visualizer for displaying range rings.
| makVrf::DtRangeSphereVisualizer::DtRangeSphereVisualizer | ( | makVrv::DtBaseConnection & | connection, |
| makVrv::DtStateListener & | listener, | ||
| int | modelSet | ||
| ) |
CTOR.
| virtual makVrf::DtRangeSphereVisualizer::~DtRangeSphereVisualizer | ( | ) | [virtual] |
DTOR.
| virtual void makVrf::DtRangeSphereVisualizer::connect | ( | ) | [virtual] |
| virtual void makVrf::DtRangeSphereVisualizer::disconnect | ( | ) | [virtual] |
| virtual void makVrf::DtRangeSphereVisualizer::initialize_settings | ( | ) | [virtual] |
| virtual void makVrf::DtRangeSphereVisualizer::setVisualizerDefinition | ( | const makVrv::DtVisualizerDefinition & | visDef | ) | [virtual] |
Sets the visual definition of the visualizer.
Reimplemented from makVrv::DtStateVisualizer.
| virtual void makVrf::DtRangeSphereVisualizer::setModelDefinitionForAgents | ( | ) | [virtual] |
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.
| virtual const makVrv::DtStateVisualizer::TypeInfo& makVrf::DtRangeSphereVisualizer::typeInfo | ( | ) | const [virtual] |
The instance's type info.
Implements makVrv::DtStateVisualizer.
| static const makVrv::DtStateVisualizer::TypeInfo& makVrf::DtRangeSphereVisualizer::theTypeInfo | ( | ) | [static] |
This class's type info.
| static const makVrv::DtVisualizerSchema& makVrf::DtRangeSphereVisualizer::theDtRangeSphereSchema | ( | ) | [static] |
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::setShowRangeSphere | ( | bool | ) | [virtual] |
| 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 SphereStruct makVrf::DtRangeSphereVisualizer::addNewRangeSphere | ( | ) | [protected, virtual] |
| 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] |
std::vector<SphereStruct> makVrf::DtRangeSphereVisualizer::myRangeSpheres [protected] |
float makVrf::DtRangeSphereVisualizer::myScale [protected] |