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::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)
 
void setIsRotationInScreenSpace (bool isRotationInScreenSpace)
 
void setMaximumWorldHeight (double worldHeightInMeters)
 
void setMaximumWorldWidth (double worldWidthInMeters)
 
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 setLodOutAltitude (double lodOutAltitude)
 
virtual void setIsLodOutAltitudeEnabled (bool isLodOutAltitudeEnabled)
 
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

DtQuadProxymyQuad
 
- 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.

void makVrv::DtPickableQuad::setIsRotationInScreenSpace ( bool  isRotationInScreenSpace)

Set whether or not the rotation of the text object is in screen space. If rotation is in screen space, a 0 degrees rotation means the top of the user's computer monitor. If rotation is not in screen space, it is in world space with a 0 degrees rotation meaning the direction of True North. Default is true.

void makVrv::DtPickableQuad::setMaximumWorldHeight ( double  worldHeightInMeters)

Set the maximum world-space height for the this widget, in meters. Once the quad widget exceeds the maximum world-space height the quad will not be rendered. To disable this mechanism altogether (for height), set this property to -1.0. By default, this property is set to -1.0 (and as a result this mechanism is unused by default).

void makVrv::DtPickableQuad::setMaximumWorldWidth ( double  worldWidthInMeters)

Set the maximum world-space width for the this widget, in meters. Once the quad widget exceeds the maximum world-space width the quad will not be rendered. To disable this mechanism altogether (for width), set this property to -1.0. By default, this property is set to -1.0 (and as a result this mechanism is unused by default).

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::setLodOutAltitude ( double  lodOutAltitude)
virtual

Set the minimum altitude, in meters, at which this quad will no longer render. Only used if setIsLodOutAltitudeEnabled(true). Default is the maximum value a double can hold.

virtual void makVrv::DtPickableQuad::setIsLodOutAltitudeEnabled ( bool  isLodOutAltitudeEnabled)
virtual

Set whether or not to use the LOD Out Altitude property. Default is true.

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

Sets the group of the widget.

Member Data Documentation

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

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

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)