![]() |
VR-Forces 5.0.2 Developer's Guide
|
Visualizer for 2d rectangle remote graphics.

Static Public Member Functions | |
| static const DtStateVisualizer::TypeInfo & | theTypeInfo () |
Protected Member Functions | |
| virtual void | setVisible (bool yesNo) |
| virtual void | createModelAgents () |
| virtual void | destroyModelAgents () |
| virtual void | setModelDefinitionForAgents () |
Protected Member Functions inherited from makVrv::DtStateVisualizer | |
| virtual void | connectToListenerSignals () |
| virtual void | makeVisible () |
| virtual bool | isVisible () const |
| virtual void | setInitialValuesFromVisualizerDefinition () |
| template<typename T , typename C > | |
| void | connectAndUpdate (boost::signalslib::signal< void(T)> &sig, void(C::*fp)(T), T val) |
Protected Attributes | |
| DtWindowPolygonAgent * | myPolygonAgent |
| DtVisibilityAdapter < DtWindowPolygonAgent > * | myVisibilityAdapter |
| double | myWidth |
| double | myHeight |
| double | myBottomLeftX |
| double | myBottomLeftY |
Protected Attributes inherited from makVrv::DtStateVisualizer | |
| DtBaseConnection & | mySimulation |
| DtStateListener & | myListener |
| bool | myDistributeFlag |
| DtUniqueID | mySceneObjectID |
| std::string | myName |
| std::string | myModelDefinition |
| DtSignalConnectionManager | myConnections |
| int | myModelSet |
| int | myVisualizerType |
| bool | myPickable |
| bool | myVisible |
| const DtVisualizerDefinition * | myVisualizerDefinition |
| DtStateVisualizer * | myParent |
| DtSceneObjectAgent * | mySceneObjectAgent |
| bool | myInitialInitializeDone |
| ShowHideContextVector | myVisualizerShowHideContexts |
Protected Attributes inherited from makVrv::DtRemoteGraphicVisualizerAttributes | |
| bool | myActive |
| bool | myFlashing |
| std::vector< std::string > | myLayers |
| std::string | myLayerName |
| bool | myRemoteGraphicsEnabled |
Additional Inherited Members | |
Public Types inherited from makVrv::DtStateVisualizer | |
| enum | Type { AllVisualizerTypes = 0, EntityVisualizerType = 1, EnvironmentalVisualizerType, InteractionVisualizerType, AggregateVisualizerType, IntervisibilityVisualizerType, TacticalSmokeVisualizerType, UserType = 10000 } |
Public Attributes inherited from makVrv::DtStateVisualizer | |
| boost::signalslib::signal < void(DtStateVisualizer *, DtStateVisualizer *, DtStateVisualizer *)> | signal_reparented |
Protected Types inherited from makVrv::DtStateVisualizer | |
| typedef std::vector < DtVisualizerShowHideContext::VisualizerShowHideContext > | ShowHideContextVector |
| makVrv::Dt2DRectangleStateVisualizer::Dt2DRectangleStateVisualizer | ( | DtBaseConnection & | simulation, |
| DtStateListener & | listener, | ||
| int | modelSet | ||
| ) |
CTOR.
| makVrv::Dt2DRectangleStateVisualizer::Dt2DRectangleStateVisualizer | ( | DtBaseConnection & | simulation, |
| DtStateListener & | listener, | ||
| DtSceneObjectAgent * | sceneObject, | ||
| int | modelSet | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Set the rectangle's color.
|
virtual |
Set the rectangle's flashing state (similar to HTML blink)
Implements makVrv::DtRemoteGraphicVisualizerAttributes.
|
virtual |
Set the percentage of the screen that the rectangle's width (x) and height (y) take up.
|
virtual |
Set the location of the rectangle's bottom left corner as a percentage of the screen width (x) and height (y).
|
virtual |
Set the rotation of the rectangle in radians. The rotation is clockwise around the center of the rectangle.
|
virtual |
Set the scale factor of the rectangle.
Set the fill pattern of the rectangle, according to OpenGL polygon stippling.
|
virtual |
Set the rectangle's drawing style to filled or outlined.
|
virtual |
Update the agent's vertices according to width/height and bottom left corner.
|
virtual |
The instance's type info.
Implements makVrv::DtStateVisualizer.
|
static |
This class's type info.
|
protectedvirtual |
Set the visuals visible or invisible. This maintains the state of the visual objects, and calling setVisible(false) should not be expected to provide any performance benefit.
Implements makVrv::DtRemoteGraphicVisualizerAttributes.
|
protectedvirtual |
Create the visual models, or do nothing if they already exist.
Implements makVrv::DtStateVisualizer.
|
protectedvirtual |
Destroy the visual models. This does not maintain their state; for example, calling setFlashing(true); destroyModelAgents(); createModelAgents(); will result in models with the default value of flashing, which is false.
Destroying models generally provides some performance benefit, as compared to calling setVisible(false).
Implements makVrv::DtStateVisualizer.
|
protectedvirtual |
Not implemented.
Implements makVrv::DtStateVisualizer.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |