![]() |
VR-Forces 5.0.1 Developer's Guide
|
The DtPickableLine is a pickable widget that matches the LineSegment interface.

Public Member Functions | |
| virtual | ~DtPickableLine () |
| DtPickableLine ()=delete | |
| DtPickableLine (const DtPickableLine &other)=delete | |
| DtPickableLine & | operator= (const DtPickableLine &other)=delete |
| virtual void | set3DPosition (int index0or1, float x, float y, float z, float w) |
| virtual void | set2DPosition (int index0or1, float x, float y) |
| virtual void | set3DDirection (unsigned int vertexIndex, float x, float y, float z) |
| virtual void | setDirection2DLength (unsigned int vertexIndex, float length) |
| virtual void | setGroup (float group) |
| virtual void | setWidth (float w) |
Public Member Functions inherited from makVrv::DtPickableWidget | |
| virtual | ~DtPickableWidget ()=0 |
| DtPickableWidget ()=delete | |
| DtPickableWidget (const DtPickableWidget &other)=delete | |
| DtPickableWidget & | operator= (const DtPickableWidget &other)=delete |
| virtual void | setUserData (unsigned long long data) |
| virtual unsigned long long | userData () const |
| unsigned int | id () const |
Protected Member Functions | |
| DtPickableLine (DtDe &de, DtWidgetPicker &picker) | |
Protected Member Functions inherited from makVrv::DtPickableWidget | |
| DtPickableWidget (DtDe &de, DtWidgetPicker &picker) | |
Protected Attributes | |
| DtLineSegment * | myLine |
Protected Attributes inherited from makVrv::DtPickableWidget | |
| DtDe & | myDe |
| DtWidgetPicker & | myPicker |
| unsigned int | myId |
| unsigned long long | myUserData |
Private Attributes | |
| friend | DtPickableLineCreator |
Additional Inherited Members | |
Static Public Member Functions inherited from makVrv::DtPickableWidget | |
| static unsigned int | idFromColor (unsigned int) |
Public Attributes inherited from makVrv::DtPickableWidget | |
| boost::signalslib::signal < void(int x, int y)> | signal_mouseEnter |
| boost::signalslib::signal< void()> | signal_mouseLeave |
| boost::signalslib::signal < void(int x, int y)> | signal_mouseMove |
| boost::signalslib::signal < void(int x, int y, int button)> | signal_mousePress |
| boost::signalslib::signal < void(int x, int y, int button)> | signal_mouseRelease |
| boost::signalslib::signal < void(int x, int y, int button)> | signal_mouseDoubleClick |
| boost::signalslib::signal < void(int x, int y, int wheel)> | signal_mouseWheel |
|
virtual |
DTOR.
|
delete |
Default Constructor not implemented.
|
delete |
Copy Constructor not implemented - Copy not allowed.
|
protected |
Protected CTOR (Instantiated by DtWidgetPicker)
|
delete |
Assignment Operator not implemented - Assignment not allowed.
|
virtual |
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).
|
virtual |
Sets the 2D position offset.
|
virtual |
Set the normalized direction of the line in world space.
|
virtual |
Set the length of the line in 2D space.
|
virtual |
Sets the group of the widget.
|
virtual |
Set the width of the line. By default, the minimum width allowed is 6.0 because lines smaller than that width are difficult to pick. Override this function if that default is undesired.
|
private |
|
protected |