![]() |
VR-Forces 4.0.4 Class Documentation
|
The DtPickableLine is a pickable widget that matches the LineSegment interface. More...

Public Member Functions | |
| virtual | ~DtPickableLine () |
| DTOR. | |
| void | set3DPosition (int index0or1, float x, float y, float z, float w) |
| Set the center location of the widget. | |
| void | set2DPosition (int index0or1, float x, float y) |
| Sets the 2D position offset. | |
| void | set3DDirection (unsigned int vertexIndex, float x, float y, float z) |
| Set the normalized direction of the line in world space. | |
| void | setDirection2DLength (unsigned int vertexIndex, float length) |
| Set the length of the line in 2D space. | |
| void | setGroup (float group) |
| Sets the group of the widget. | |
| void | setWidth (float w) |
| Set the width of the line. | |
Protected Member Functions | |
| DtPickableLine (DtWidgetPicker &picker) | |
| Protected CTOR (Instantiated by DtWidgetPicker) | |
Protected Attributes | |
| DtLineSegment * | myLine |
Friends | |
| class | DtWidgetPicker |
The DtPickableLine is a pickable widget that matches the LineSegment interface.
| virtual makVrv::DtPickableLine::~DtPickableLine | ( | ) | [virtual] |
DTOR.
| makVrv::DtPickableLine::DtPickableLine | ( | DtWidgetPicker & | picker | ) | [protected] |
Protected CTOR (Instantiated by DtWidgetPicker)
| void makVrv::DtPickableLine::set3DPosition | ( | int | index0or1, |
| float | x, | ||
| float | y, | ||
| float | z, | ||
| float | w | ||
| ) |
Set the center location of the widget.
Depending on the coordinate system of the overlay, the position can be in 2D coordinates, 3D coordinates or 4D coordinates (packed higher precision 3D coordinates).
| void makVrv::DtPickableLine::set2DPosition | ( | int | index0or1, |
| float | x, | ||
| float | y | ||
| ) |
Sets the 2D position offset.
| void makVrv::DtPickableLine::set3DDirection | ( | unsigned int | vertexIndex, |
| float | x, | ||
| float | y, | ||
| float | z | ||
| ) |
Set the normalized direction of the line in world space.
| void makVrv::DtPickableLine::setDirection2DLength | ( | unsigned int | vertexIndex, |
| float | length | ||
| ) |
Set the length of the line in 2D space.
| void makVrv::DtPickableLine::setGroup | ( | float | group | ) |
Sets the group of the widget.
| void makVrv::DtPickableLine::setWidth | ( | float | w | ) |
Set the width of the line.
friend class DtWidgetPicker [friend] |
Reimplemented from makVrv::DtPickableWidget.
DtLineSegment* makVrv::DtPickableLine::myLine [protected] |