VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::Dt2DAggregateExtentVisualizer Class Reference

Dt2DAggregateExtentVisualizers display bounding boxes for aggregates on the overlay. More...

Inheritance diagram for makVrv::Dt2DAggregateExtentVisualizer:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Dt2DAggregateExtentVisualizers display bounding boxes for aggregates on the overlay.


Constructor & Destructor Documentation

Constructor.

Destructor.


Member Function Documentation

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.

Set whether updates are locked or not.

Reimplemented from makVrv::DtAggregateExtentVisualizer.

Get this instances type info.

Implements makVrv::DtStateVisualizer.

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.


Member Data Documentation

DtOverlayRectangleModelAgent* makVrv::Dt2DAggregateExtentVisualizer::myPolygonAgent [protected]

The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)