![]() |
VR-Forces 4.0.4 Class Documentation
|
Protocol independent mass label visualizer. More...

Public Member Functions | |
| MassLabelVisualizer (makVrv::DtBaseConnection &simulation, makVrv::DtStateListener &listener, int modelSet) | |
| CTOR. | |
| virtual | ~MassLabelVisualizer () |
| DTOR. | |
| 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 | updateMass (float mass) |
| Update the mass. | |
| 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. | |
Protected Member Functions | |
| virtual void | setModelDefinitionForAgents () |
| Sets model definition for all the agents that this visualizer might be using. | |
Protected Attributes | |
| makVrv::DtProjectedWidgetModelAgent * | myProjectedModel |
| makVrv::DtWidgetLabelAgent * | myLabel |
Protocol independent mass label visualizer.
| MassLabelVisualizer::MassLabelVisualizer | ( | makVrv::DtBaseConnection & | simulation, |
| makVrv::DtStateListener & | listener, | ||
| int | modelSet | ||
| ) |
CTOR.
| virtual MassLabelVisualizer::~MassLabelVisualizer | ( | ) | [virtual] |
DTOR.
| virtual void MassLabelVisualizer::createModelAgents | ( | ) | [virtual] |
Override to create model agents that will be used to display data from the listener.
Implements makVrv::DtStateVisualizer.
Reimplemented in VrlinkMassLabelVisualizer.
| virtual void MassLabelVisualizer::destroyModelAgents | ( | ) | [virtual] |
Destroys all currently created definitions.
Implements makVrv::DtStateVisualizer.
| virtual void MassLabelVisualizer::updateMass | ( | float | mass | ) | [virtual] |
Update the mass.
| virtual const makVrv::DtStateVisualizer::TypeInfo& MassLabelVisualizer::typeInfo | ( | ) | const [virtual] |
The instance's type info.
Implements makVrv::DtStateVisualizer.
| static const makVrv::DtStateVisualizer::TypeInfo& MassLabelVisualizer::theTypeInfo | ( | ) | [static] |
This class's type info.
| virtual void MassLabelVisualizer::setModelDefinitionForAgents | ( | ) | [protected, 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.
makVrv::DtProjectedWidgetModelAgent* MassLabelVisualizer::myProjectedModel [protected] |
makVrv::DtWidgetLabelAgent* MassLabelVisualizer::myLabel [protected] |