![]() |
VR-Forces Developer's Guide
|
DtRangeLineTextVisualizer will display the text of a range between two points on a line. by default the visualizer will show the range from the current to the previous point unless the "computetonextpoint" flag is set (off by default)

Static Public Member Functions | |
| static const makVrv::DtStateVisualizer::TypeInfo & | theTypeInfo () |
| static const makVrv::DtVisualizerSchema & | theRangeLineTextSchema () |
Protected Member Functions | |
| virtual void | createModelAgents () override |
| virtual void | destroyModelAgents () override |
| virtual void | setVisualizerDefinition (const makVrv::DtVisualizerDefinition &visDef) override |
| virtual void | setModelDefinitionForAgents () override |
| virtual void | setTextColor (float r, float g, float b, float a) |
| virtual void | getTextColor (float &r, float &g, float &b, float &a) const |
| virtual void | setTextBoxSize (unsigned int textWidth, unsigned int textHeight) |
| virtual void | getTextBoxSize (unsigned int &textWidth, unsigned int &textHeight) const |
| virtual void | setOriginOffset (int offsetX, int offsetY) |
| virtual void | getOriginOffset (int &offsetX, int &offsetY) const |
| virtual void | setHorizontalAlignment (unsigned int horizontalAlignment) |
| virtual unsigned int | horizontalAlignment () const |
| virtual void | setTextFont (std::string textFont) |
| virtual std::string | textFont () const |
| virtual void | setTextFontSize (unsigned int textFontSize) |
| virtual unsigned int | textFontSize () const |
| virtual void | setComputeToNextPoint (bool) |
| virtual bool | computeToNextPoint () const |
Protected Member Functions inherited from makVrv::DtStateVisualizer | |
| virtual void | connectToListenerSignals () |
| virtual void | makeVisible () |
| virtual void | setInitialValuesFromVisualizerDefinition () |
| template<typename T , typename C > | |
| void | connectAndUpdate (boost::signalslib::signal< void(T)> &sig, void(C::*fp)(T), T val) |
Protected Attributes | |
| makVrv::DtProjectedWidgetModelAgent * | myRangeLineTextModelAgent |
| makVrv::DtWidgetLabelAgent * | myRangeLineTextWidgetAgent |
| DtAttachableRangeLineTextUpdaterAgent * | myRangeLineTextUpdaterAgent |
| makVrv::DtSceneObjectAgent * | myRangeLineTextObjectAgent |
| unsigned int | myTextBoxSize [2] |
| unsigned int | myTextHorizontalAlignment |
| std::string | myTextFont |
| unsigned int | myTextFontSize |
| float | myTextColor [4] |
| int | myOriginOffset [2] |
| bool | myComputeToNextPoint |
Protected Attributes inherited from makVrv::DtStateVisualizer | |
| DtBaseConnection & | mySimulation |
| DtStateListener & | myListener |
| bool | myDistributeFlag |
| DtUniqueID | mySceneObjectID |
| std::string | myName |
| std::string | myModelDefinition |
| DtSignalConnectionManager | myConnections |
| DtModelSetId | myModelSet |
| int | myVisualizerType |
| bool | myPickable |
| bool | myVisible |
| const DtVisualizerDefinition * | myVisualizerDefinition |
| DtSceneObjectAgent * | mySceneObjectAgent |
| bool | myInitialInitializeDone |
| ShowHideContextVector | myVisualizerShowHideContexts |
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 |
| DtRangeLineTextVisualizer::DtRangeLineTextVisualizer | ( | makVrv::DtBaseConnection & | simulation, |
| makVrv::DtStateListener & | listener, | ||
| makVrv::DtSceneObjectAgent * | , | ||
| makVrv::DtModelSetId | modelSet | ||
| ) |
Constructor.
|
overridevirtual |
Destructor.
|
overridevirtual |
Get this instances type info.
Implements makVrv::DtStateVisualizer.
|
static |
Get this class's type info.
|
static |
Schema for this visualizer.
|
overrideprotectedvirtual |
Creates all the agents needed to display the range line text.
Implements makVrv::DtStateVisualizer.
|
overrideprotectedvirtual |
Destroyes all the agents.
Implements makVrv::DtStateVisualizer.
|
overrideprotectedvirtual |
Stores variables from visual definition to use when creating visualizer.
Reimplemented from makVrv::DtStateVisualizer.
|
overrideprotectedvirtual |
No-op.
Implements makVrv::DtStateVisualizer.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |