The DtPickableLine is a pickable widget that matches the LineSegment interface.
More...
|
| virtual | ~DtPickableLine () |
| | DTOR. More...
|
| |
| void | set3DPosition (int index0or1, float x, float y, float z, float w) |
| | Set the center location of the widget. More...
|
| |
| void | set2DPosition (int index0or1, float x, float y) |
| | Sets the 2D position offset. More...
|
| |
| void | set3DDirection (unsigned int vertexIndex, float x, float y, float z) |
| | Set the normalized direction of the line in world space. More...
|
| |
| void | setDirection2DLength (unsigned int vertexIndex, float length) |
| | Set the length of the line in 2D space. More...
|
| |
| void | setGroup (float group) |
| | Sets the group of the widget. More...
|
| |
| void | setWidth (float w) |
| | Set the width of the line. More...
|
| |
| virtual | ~DtPickableWidget () |
| | DTOR. More...
|
| |
| void | setUserData (unsigned long long data) |
| | Set the element id of the widget. More...
|
| |
| unsigned long long | userData () const |
| | Get the element id of the widget. More...
|
| |
|
| static unsigned int | idFromColor (unsigned int) |
| | Get the id from a color. More...
|
| |
| boost::signal< void(int x, int y)> | signal_mouseEnter |
| | Emitted whenever a mouse enters over a widget for the first time. More...
|
| |
| boost::signal< void()> | signal_mouseLeave |
| | Emitted whenever a mouse leaves over a widget, called before it enters another widget. More...
|
| |
| boost::signal< void(int x, int y)> | signal_mouseMove |
| | Emitted whenever a mouse moves over a widget, including when it enters. More...
|
| |
boost::signal< void(int x, int
y, int button)> | signal_mousePress |
| | Emitted whenever a mouse button is pressed over a widget. If a press. More...
|
| |
boost::signal< void(int x, int
y, int button)> | signal_mouseRelease |
| | Emitted whenever a mouse button is released over a widget. More...
|
| |
boost::signal< void(int x, int
y, int button)> | signal_mouseDoubleClick |
| | Emitted when a mouse button is doubled clicked over a widget. More...
|
| |
boost::signal< void(int x, int
y, int wheel)> | signal_mouseWheel |
| | Emitted when a mouse wheel is scrolled over a widget. More...
|
| |
The DtPickableLine is a pickable widget that matches the LineSegment interface.
| virtual makVrv::DtPickableLine::~DtPickableLine |
( |
| ) |
|
|
virtual |
| 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.
The documentation for this class was generated from the following file:
- /data/exports/nrhent7-1/nightly/docs/vrForces.vrf4-8-branch/include/vrvGraphics/DtPickableWidget.h