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

Dt3DEnvironmentalLineVisualizer display a line drawn as an overlay line in the scene without occlusion. More...

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

List of all members.

Public Member Functions

 Dt3DEnvironmentalLineVisualizer (DtBaseConnection &simulation, DtStateListener &listener, int modelSet)
 Constructor.
virtual ~Dt3DEnvironmentalLineVisualizer ()
 Destructor.
virtual DtLineModelAgent * createLineAgent ()
 Create the line agent that will implement this line.
virtual void setLineWidth (int)
 Sets the line width.
virtual void setSolid (bool)
 Sets line to be solidly filled or just an outline.
virtual void setGroundClamped (bool)
 Sets to ground clamp each point in the line.
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 createModelAgents ()
 Creates the model agents associated with the line.
virtual void addPoint (int index, const DtVector &v)
 Adds a point to the line.
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.
virtual void setOrigin (const DtVector &)
 Sets the origin of the line.

Protected Attributes

DtGroundClampingUpdaterAgent * myUpdater

Detailed Description

Dt3DEnvironmentalLineVisualizer display a line drawn as an overlay line in the scene without occlusion.


Constructor & Destructor Documentation

Constructor.

Destructor.


Member Function Documentation

virtual DtLineModelAgent* makVrv::Dt3DEnvironmentalLineVisualizer::createLineAgent ( ) [virtual]

Create the line agent that will implement this line.

Implements makVrv::DtEnvironmentalLineVisualizer.

Sets line to be solidly filled or just an outline.

Reimplemented from makVrv::DtEnvironmentalLineVisualizer.

Sets to ground clamp each point in the line.

The instance's type info.

Implements makVrv::DtStateVisualizer.

This class's type info.

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

Creates the model agents associated with the line.

Reimplemented from makVrv::DtEnvironmentalLineVisualizer.

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

Adds a point to the line.

If index is -1, appends else places at given point

Reimplemented from makVrv::DtEnvironmentalLineVisualizer.

Reimplemented in makVrv::DT_PROTOCOL_NAMESPACE::DtVrlink3DEnvironmentalLineVisualizer.

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

Modifies the point at the given index.

Reimplemented from makVrv::DtEnvironmentalLineVisualizer.

Reimplemented in makVrv::DT_PROTOCOL_NAMESPACE::DtVrlink3DEnvironmentalLineVisualizer.

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

Reimplemented from makVrv::DtEnvironmentalLineVisualizer.

Reimplemented in makVrv::DT_PROTOCOL_NAMESPACE::DtVrlink3DEnvironmentalLineVisualizer.

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

Removes point at the given index.

Reimplemented from makVrv::DtEnvironmentalLineVisualizer.

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

Sets the origin of the line.

Reimplemented from makVrv::DtEnvironmentalLineVisualizer.

Reimplemented in makVrv::DT_PROTOCOL_NAMESPACE::DtVrlink3DEnvironmentalLineVisualizer.


Member Data Documentation

DtGroundClampingUpdaterAgent* makVrv::Dt3DEnvironmentalLineVisualizer::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)