VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | Friends
makVrv::DtPickableQuad Class Reference

The DtPickableQuad is a pickable widget that matches the Quad interface. More...

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

Public Member Functions

virtual ~DtPickableQuad ()
 Virtual DTOR.
void setPosition (float x, float y, float z, float w)
 Set the center location of the widget.
void setRotation (float angle)
 Set the orientation of the widget.
void setPoints (const float points[8])
 Set the 2d points of the widget.
void setGroup (float group)
 Sets the group of the widget.
- Public Member Functions inherited from makVrv::DtPickableWidget
virtual ~DtPickableWidget ()
 DTOR.
void setUserData (unsigned long long data)
 Set the element id of the widget.
unsigned long long userData () const
 Get the element id of the widget.

Protected Member Functions

 DtPickableQuad (DtWidgetPicker &picker)
 Protected CTOR (Instantiated by DtWidgetPicker)
- Protected Member Functions inherited from makVrv::DtPickableWidget
 DtPickableWidget (DtWidgetPicker &picker)
 Protected CTOR (Instantiated by DtWidgetPicker)

Protected Attributes

DtQuadmyQuad
- Protected Attributes inherited from makVrv::DtPickableWidget
DtWidgetPickermyPicker
unsigned int myId
unsigned long long myUserData

Friends

class DtWidgetPicker

Additional Inherited Members

- Static Public Member Functions inherited from makVrv::DtPickableWidget
static unsigned int idFromColor (unsigned int)
 Get the id from a color.
- Public Attributes inherited from makVrv::DtPickableWidget
boost::signal< void(int x, int y)> signal_mouseEnter
 Emitted whenever a mouse enters over a widget for the first time.
boost::signal< void()> signal_mouseLeave
 Emitted whenever a mouse leaves over a widget, called before it enters another widget.
boost::signal< void(int x, int y)> signal_mouseMove
 Emitted whenever a mouse moves over a widget, including when it enters.
boost::signal< void(int x, int
y, int button)> 
signal_mousePress
 Emitted whenever a mouse button is pressed over a widget. If a press.
boost::signal< void(int x, int
y, int button)> 
signal_mouseRelease
 Emitted whenever a mouse button is released over a widget.
boost::signal< void(int x, int
y, int button)> 
signal_mouseDoubleClick
 Emitted when a mouse button is doubled clicked over a widget.
boost::signal< void(int x, int
y, int wheel)> 
signal_mouseWheel
 Emitted when a mouse wheel is scrolled over a widget.

Detailed Description

The DtPickableQuad is a pickable widget that matches the Quad interface.

Constructor & Destructor Documentation

virtual makVrv::DtPickableQuad::~DtPickableQuad ( )
virtual

Virtual DTOR.

makVrv::DtPickableQuad::DtPickableQuad ( DtWidgetPicker picker)
protected

Protected CTOR (Instantiated by DtWidgetPicker)

Member Function Documentation

void makVrv::DtPickableQuad::setPosition ( 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::DtPickableQuad::setRotation ( float  angle)

Set the orientation of the widget.

void makVrv::DtPickableQuad::setPoints ( const float  points[8])

Set the 2d points of the widget.

Parameters
points2d points in order [x0,y0,x1,y1,...]
void makVrv::DtPickableQuad::setGroup ( float  group)

Sets the group of the widget.

Friends And Related Function Documentation

friend class DtWidgetPicker
friend

Member Data Documentation

DtQuad* makVrv::DtPickableQuad::myQuad
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)