VR-Forces 5.0.3 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::DtPickableQuad Class Reference

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

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

Public Member Functions

virtual ~DtPickableQuad ()
 
 DtPickableQuad ()=delete
 
 DtPickableQuad (const DtPickableQuad &other)=delete
 
DtPickableQuadoperator= (const DtPickableQuad &other)=delete
 
virtual void setPosition (float x, float y, float z, float w)
 
virtual void setRotation (float angle)
 
virtual void setPoints (const float points[8])
 
virtual void setPointsByMinimumAltitude (const float points[8], double altitude)
 
virtual void setIsForcedPointsByAltitudeEnabled (bool isEnabled)
 
virtual void setAltitudeForForcedPoints (double altitude)
 
virtual void clearAltitudeSpecificConfigurations ()
 
virtual void setGroup (float group)
 
- 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

 DtPickableQuad (DtDe &de, DtWidgetPicker &picker)
 
- Protected Member Functions inherited from makVrv::DtPickableWidget
 DtPickableWidget (DtDe &de, DtWidgetPicker &picker)
 

Protected Attributes

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

Private Attributes

friend DtPickableQuadCreator
 

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::DtPickableQuad::~DtPickableQuad ( )
virtual

Virtual DTOR.

makVrv::DtPickableQuad::DtPickableQuad ( )
delete

Default Constructor not implemented.

makVrv::DtPickableQuad::DtPickableQuad ( const DtPickableQuad other)
delete

Copy Constructor not implemented - Copy not allowed.

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

Protected CTOR (Instantiated by DtWidgetPicker)

Member Function Documentation

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

Assignment Operator not implemented - Assignment not allowed.

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

Set the orientation of the widget.

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

Set the 2d points of the widget.

Parameters
points2d points in order [x0,y0,x1,y1,...]
virtual void makVrv::DtPickableQuad::setPointsByMinimumAltitude ( const float  points[8],
double  altitude 
)
virtual

Set the 2d points of the widget when the altitude of the observer rendering the widget exceeds the provided altitude, in meters.

virtual void makVrv::DtPickableQuad::setIsForcedPointsByAltitudeEnabled ( bool  isEnabled)
virtual

Set whether or not a particular set of points are used, regardless of altitude. This only matters if altitude-specific sets of points are used. The sets of points used are provided by the altitude-specific configuration corresponding to the altitude provided using: setAltitudeForForcedPoints(...)

virtual void makVrv::DtPickableQuad::setAltitudeForForcedPoints ( double  altitude)
virtual

Set the altitude, in meters, to use when determining the forced set of points. This is only used if setIsForcedPointsByAltitudeEnabled(true).

virtual void makVrv::DtPickableQuad::clearAltitudeSpecificConfigurations ( )
virtual

Clear all altitude-specific configurations.

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

Sets the group of the widget.

Member Data Documentation

friend makVrv::DtPickableQuad::DtPickableQuadCreator
private
DtQuad* makVrv::DtPickableQuad::myQuad
protected

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

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)