![]() |
VR-Forces 4.0.4 Class Documentation
|
Dt3DEnvironmentalLineVisualizer display a line drawn as an overlay line in the scene without occlusion. More...

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 |
Dt3DEnvironmentalLineVisualizer display a line drawn as an overlay line in the scene without occlusion.
| makVrv::Dt3DEnvironmentalLineVisualizer::Dt3DEnvironmentalLineVisualizer | ( | DtBaseConnection & | simulation, |
| DtStateListener & | listener, | ||
| int | modelSet | ||
| ) |
Constructor.
| virtual makVrv::Dt3DEnvironmentalLineVisualizer::~Dt3DEnvironmentalLineVisualizer | ( | ) | [virtual] |
Destructor.
| virtual DtLineModelAgent* makVrv::Dt3DEnvironmentalLineVisualizer::createLineAgent | ( | ) | [virtual] |
Create the line agent that will implement this line.
Implements makVrv::DtEnvironmentalLineVisualizer.
| virtual void makVrv::Dt3DEnvironmentalLineVisualizer::setLineWidth | ( | int | ) | [virtual] |
Sets the line width.
Reimplemented from makVrv::DtEnvironmentalLineVisualizer.
Reimplemented in makVrv::DT_PROTOCOL_NAMESPACE::DtVrlink3DEnvironmentalLineVisualizer.
| virtual void makVrv::Dt3DEnvironmentalLineVisualizer::setSolid | ( | bool | ) | [virtual] |
Sets line to be solidly filled or just an outline.
Reimplemented from makVrv::DtEnvironmentalLineVisualizer.
| virtual void makVrv::Dt3DEnvironmentalLineVisualizer::setGroundClamped | ( | bool | ) | [virtual] |
Sets to ground clamp each point in the line.
| virtual const DtStateVisualizer::TypeInfo& makVrv::Dt3DEnvironmentalLineVisualizer::typeInfo | ( | ) | const [virtual] |
The instance's type info.
Implements makVrv::DtStateVisualizer.
| static const DtStateVisualizer::TypeInfo& makVrv::Dt3DEnvironmentalLineVisualizer::theTypeInfo | ( | ) | [static] |
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.
| virtual void makVrv::Dt3DEnvironmentalLineVisualizer::setPoints | ( | const DtEnvironmentalStateListener::ControlPointsList & | ) | [protected, virtual] |
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.
DtGroundClampingUpdaterAgent* makVrv::Dt3DEnvironmentalLineVisualizer::myUpdater [protected] |