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

The DtPickableLine is a pickable widget that matches the TriangleProxy interface. More...

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

Public Member Functions

virtual ~DtPickableTriangle ()
 Virtual DTOR.
void set3DPosition (float x, float y, float z, float w)
 Sets the 3D position of the triangle. (As a packed vec 4).
void set3DPosition (unsigned int index, float x, float y, float z, float w)
 Sets the 3D position of a vertex in the triangle. (As a packed vec 4).
void set2DPosition (unsigned int index, float x, float y)
 Set a specific position.
void setGroup (float order)
 Set the order.
- 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

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

Protected Attributes

DtTriangleProxymyProxy
- 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 DtPickableLine is a pickable widget that matches the TriangleProxy interface.

Constructor & Destructor Documentation

virtual makVrv::DtPickableTriangle::~DtPickableTriangle ( )
virtual

Virtual DTOR.

makVrv::DtPickableTriangle::DtPickableTriangle ( DtWidgetPicker picker)
protected

Protected CTOR (Instantiated by DtWidgetPicker)

Member Function Documentation

void makVrv::DtPickableTriangle::set3DPosition ( float  x,
float  y,
float  z,
float  w 
)

Sets the 3D position of the triangle. (As a packed vec 4).

void makVrv::DtPickableTriangle::set3DPosition ( unsigned int  index,
float  x,
float  y,
float  z,
float  w 
)

Sets the 3D position of a vertex in the triangle. (As a packed vec 4).

void makVrv::DtPickableTriangle::set2DPosition ( unsigned int  index,
float  x,
float  y 
)

Set a specific position.

Does not do index bounds checking.

void makVrv::DtPickableTriangle::setGroup ( float  order)

Set the order.

Friends And Related Function Documentation

friend class DtWidgetPicker
friend

Member Data Documentation

DtTriangleProxy* makVrv::DtPickableTriangle::myProxy
protected

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

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)