![]() |
VR-Forces 4.0.4 Class Documentation
|
Dt2DAggregateExtentVisualizers display bounding boxes for aggregates on the overlay. More...

Public Member Functions | |
| Dt2DAggregateExtentVisualizer (DtBaseConnection &simulation, DtStateListener &listener, int modelSet) | |
| Constructor. | |
| virtual | ~Dt2DAggregateExtentVisualizer () |
| Destructor. | |
| virtual void | setDimensions (const DtVector &dim) |
| Sets the dimensions of the cuboid (length is X, width is Y, height is Z) | |
| virtual void | setColor (float r, float g, float b, float a) |
| Sets the color of the cuboid. | |
| virtual void | setLockUpdates (bool b) |
| Set whether updates are locked or not. | |
| virtual const DtStateVisualizer::TypeInfo & | typeInfo () const |
| Get this instances type info. | |
Static Public Member Functions | |
| static const DtStateVisualizer::TypeInfo & | theTypeInfo () |
| Get this class's type info. | |
Protected Member Functions | |
| virtual DtModelAgent * | createExtentModelAgent () |
| Creates the cuboid object to visualize extents. | |
| virtual void | createModelAgents () |
| Override to set fill to true for box. | |
| virtual void | destroyModelAgents () |
| Override to null out myPolygonAgent. | |
| virtual void | setVisualizerDefinition (const DtVisualizerDefinition &visDef) |
| Stores variables from visual definition to use when creating visualizer. | |
Protected Attributes | |
| DtOverlayRectangleModelAgent * | myPolygonAgent |
| float | myOutlineWidth |
| bool | myFill |
Dt2DAggregateExtentVisualizers display bounding boxes for aggregates on the overlay.
| makVrv::Dt2DAggregateExtentVisualizer::Dt2DAggregateExtentVisualizer | ( | DtBaseConnection & | simulation, |
| DtStateListener & | listener, | ||
| int | modelSet | ||
| ) |
Constructor.
| virtual makVrv::Dt2DAggregateExtentVisualizer::~Dt2DAggregateExtentVisualizer | ( | ) | [virtual] |
Destructor.
| virtual void makVrv::Dt2DAggregateExtentVisualizer::setDimensions | ( | const DtVector & | dim | ) | [virtual] |
Sets the dimensions of the cuboid (length is X, width is Y, height is Z)
Reimplemented from makVrv::DtAggregateExtentVisualizer.
| virtual void makVrv::Dt2DAggregateExtentVisualizer::setColor | ( | float | r, |
| float | g, | ||
| float | b, | ||
| float | a | ||
| ) | [virtual] |
Sets the color of the cuboid.
Reimplemented from makVrv::DtAggregateExtentVisualizer.
| virtual void makVrv::Dt2DAggregateExtentVisualizer::setLockUpdates | ( | bool | b | ) | [virtual] |
Set whether updates are locked or not.
Reimplemented from makVrv::DtAggregateExtentVisualizer.
| virtual const DtStateVisualizer::TypeInfo& makVrv::Dt2DAggregateExtentVisualizer::typeInfo | ( | ) | const [virtual] |
Get this instances type info.
Implements makVrv::DtStateVisualizer.
| static const DtStateVisualizer::TypeInfo& makVrv::Dt2DAggregateExtentVisualizer::theTypeInfo | ( | ) | [static] |
Get this class's type info.
| virtual DtModelAgent* makVrv::Dt2DAggregateExtentVisualizer::createExtentModelAgent | ( | ) | [protected, virtual] |
Creates the cuboid object to visualize extents.
Implements makVrv::DtAggregateExtentVisualizer.
| virtual void makVrv::Dt2DAggregateExtentVisualizer::createModelAgents | ( | ) | [protected, virtual] |
Override to set fill to true for box.
Reimplemented from makVrv::DtAggregateExtentVisualizer.
| virtual void makVrv::Dt2DAggregateExtentVisualizer::destroyModelAgents | ( | ) | [protected, virtual] |
Override to null out myPolygonAgent.
Reimplemented from makVrv::DtAggregateExtentVisualizer.
| virtual void makVrv::Dt2DAggregateExtentVisualizer::setVisualizerDefinition | ( | const DtVisualizerDefinition & | visDef | ) | [protected, virtual] |
Stores variables from visual definition to use when creating visualizer.
Reimplemented from makVrv::DtStateVisualizer.
DtOverlayRectangleModelAgent* makVrv::Dt2DAggregateExtentVisualizer::myPolygonAgent [protected] |
float makVrv::Dt2DAggregateExtentVisualizer::myOutlineWidth [protected] |
bool makVrv::Dt2DAggregateExtentVisualizer::myFill [protected] |