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

Dt3DEnvironmentalAreaVisualizer display a Area drawn as an overlay Area in the scene without occlusion. More...

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

List of all members.

Public Member Functions

 Dt3DEnvironmentalAreaVisualizer (DtBaseConnection &simulation, DtStateListener &listener, int modelSet)
 Constructor.
virtual ~Dt3DEnvironmentalAreaVisualizer ()
 Destructor.
virtual DtPolygonModelAgent * createAreaAgent ()
 Implemented by subclasses to create the agent used to draw the area.
virtual void setLineWidth (int)
 Sets the height of the line separating the back and front face of the area if filled.
virtual void setSolid (bool)
 Sets the area to be solid, not just scribed.
virtual void setGroundClamped (bool)
 Sets to ground clamp each point in the area.
virtual const
DtStateVisualizer::TypeInfo
typeInfo () const
 The instance's type info.

Static Public Member Functions

static const
DtStateVisualizer::TypeInfo
theTypeInfo ()
 This class's type info.

Protected Member Functions

virtual void setOrigin (const DtVector &)
 Sets origin in updater if used, else in agent.
virtual void destroyModelAgents ()
 Destroys any model agents currently created.
virtual void createModelAgents ()
 Creates the model agents associated with the Area.
virtual void addPoint (int index, const DtVector &v)
 Adds a point to the Area. If index is -1, appends else places at given point.
virtual void modifyPoint (int index, const DtVector &v)
 Modifies the point at the given index.
virtual void setPoints (const DtEnvironmentalStateListener::ControlPointsList &)
 Sets the control points to the specified list, adding, removing and changing as needed.
virtual void removePoint (int index)
 Removes point at the given index.

Protected Attributes

DtGroundClampingUpdaterAgent * myUpdater

Detailed Description

Dt3DEnvironmentalAreaVisualizer display a Area drawn as an overlay Area in the scene without occlusion.


Constructor & Destructor Documentation

Constructor.

Destructor.


Member Function Documentation

virtual DtPolygonModelAgent* makVrv::Dt3DEnvironmentalAreaVisualizer::createAreaAgent ( ) [virtual]

Implemented by subclasses to create the agent used to draw the area.

Implements makVrv::DtEnvironmentalAreaVisualizer.

Sets the height of the line separating the back and front face of the area if filled.

Reimplemented from makVrv::DtEnvironmentalAreaVisualizer.

Reimplemented in makVrv::DT_PROTOCOL_NAMESPACE::DtVrlink3DEnvironmentalAreaVisualizer.

Sets the area to be solid, not just scribed.

If scribing is turned off, this could effectively hide the object

Reimplemented from makVrv::DtEnvironmentalAreaVisualizer.

Sets to ground clamp each point in the area.

The instance's type info.

Implements makVrv::DtStateVisualizer.

This class's type info.

virtual void makVrv::Dt3DEnvironmentalAreaVisualizer::setOrigin ( const DtVector ) [protected, virtual]

Sets origin in updater if used, else in agent.

Reimplemented from makVrv::DtEnvironmentalAreaVisualizer.

Reimplemented in makVrv::DT_PROTOCOL_NAMESPACE::DtVrlink3DEnvironmentalAreaVisualizer.

virtual void makVrv::Dt3DEnvironmentalAreaVisualizer::destroyModelAgents ( ) [protected, virtual]

Destroys any model agents currently created.

Reimplemented from makVrv::DtEnvironmentalAreaVisualizer.

virtual void makVrv::Dt3DEnvironmentalAreaVisualizer::createModelAgents ( ) [protected, virtual]

Creates the model agents associated with the Area.

Reimplemented from makVrv::DtEnvironmentalAreaVisualizer.

virtual void makVrv::Dt3DEnvironmentalAreaVisualizer::addPoint ( int  index,
const DtVector  
) [protected, virtual]

Adds a point to the Area. If index is -1, appends else places at given point.

Reimplemented from makVrv::DtEnvironmentalAreaVisualizer.

Reimplemented in makVrv::DT_PROTOCOL_NAMESPACE::DtVrlink3DEnvironmentalAreaVisualizer.

virtual void makVrv::Dt3DEnvironmentalAreaVisualizer::modifyPoint ( int  index,
const DtVector  
) [protected, virtual]

Modifies the point at the given index.

Reimplemented from makVrv::DtEnvironmentalAreaVisualizer.

Reimplemented in makVrv::DT_PROTOCOL_NAMESPACE::DtVrlink3DEnvironmentalAreaVisualizer.

Sets the control points to the specified list, adding, removing and changing as needed.

Reimplemented from makVrv::DtEnvironmentalAreaVisualizer.

Reimplemented in makVrv::DT_PROTOCOL_NAMESPACE::DtVrlink3DEnvironmentalAreaVisualizer.

virtual void makVrv::Dt3DEnvironmentalAreaVisualizer::removePoint ( int  index) [protected, virtual]

Removes point at the given index.

Reimplemented from makVrv::DtEnvironmentalAreaVisualizer.


Member Data Documentation

DtGroundClampingUpdaterAgent* makVrv::Dt3DEnvironmentalAreaVisualizer::myUpdater [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)