VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes | Friends
makVrv::DtPickableLine Class Reference

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

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

List of all members.

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

DtLineSegmentmyLine

Friends

class DtWidgetPicker

Detailed Description

The DtPickableLine is a pickable widget that matches the LineSegment interface.


Constructor & Destructor Documentation

DTOR.

Protected CTOR (Instantiated by DtWidgetPicker)


Member Function Documentation

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.

Set the width of the line.


Friends And Related Function Documentation

friend class DtWidgetPicker [friend]

Reimplemented from makVrv::DtPickableWidget.


Member Data Documentation


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)