VR-Forces Developer's Guide
 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 | Private Attributes
makVrv::DtPickableLine Class Reference

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

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

Public Member Functions

virtual ~DtPickableLine ()
 
 DtPickableLine ()=delete
 
 DtPickableLine (const DtPickableLine &other)=delete
 
DtPickableLineoperator= (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
 
DtPickableWidgetoperator= (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

DtLineSegmentmyLine
 
- Protected Attributes inherited from makVrv::DtPickableWidget
DtDemyDe
 
DtWidgetPickermyPicker
 
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
 

Constructor & Destructor Documentation

virtual makVrv::DtPickableLine::~DtPickableLine ( )
virtual

DTOR.

makVrv::DtPickableLine::DtPickableLine ( )
delete

Default Constructor not implemented.

makVrv::DtPickableLine::DtPickableLine ( const DtPickableLine other)
delete

Copy Constructor not implemented - Copy not allowed.

makVrv::DtPickableLine::DtPickableLine ( DtDe de,
DtWidgetPicker picker 
)
protected

Protected CTOR (Instantiated by DtWidgetPicker)

Member Function Documentation

DtPickableLine& makVrv::DtPickableLine::operator= ( const DtPickableLine other)
delete

Assignment Operator not implemented - Assignment not allowed.

virtual void makVrv::DtPickableLine::set3DPosition ( int  index0or1,
float  x,
float  y,
float  z,
float  w 
)
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 void makVrv::DtPickableLine::set2DPosition ( int  index0or1,
float  x,
float  y 
)
virtual

Sets the 2D position offset.

virtual void makVrv::DtPickableLine::set3DDirection ( unsigned int  vertexIndex,
float  x,
float  y,
float  z 
)
virtual

Set the normalized direction of the line in world space.

virtual void makVrv::DtPickableLine::setDirection2DLength ( unsigned int  vertexIndex,
float  length 
)
virtual

Set the length of the line in 2D space.

virtual void makVrv::DtPickableLine::setGroup ( float  group)
virtual

Sets the group of the widget.

virtual void makVrv::DtPickableLine::setWidth ( float  w)
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.

Member Data Documentation

friend makVrv::DtPickableLine::DtPickableLineCreator
private
DtLineSegment* makVrv::DtPickableLine::myLine
protected

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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)