![]() |
VR-Forces Developer's Guide
|
The attribute layout tells DtAttributes where to draw.

Public Member Functions | |
| DtAttribute () | |
| virtual | ~DtAttribute () |
| DtAttribute (const DtAttribute &other)=delete | |
| DtAttribute & | operator= (const DtAttribute &other)=delete |
| virtual void | setPosition (float x, float y, float z, float w)=0 |
| virtual void | setOffset (double x, double y) |
| virtual void | getMinSize (double &xOut, double &yOut)=0 |
| virtual void | setColor (float r, float g, float b, float a)=0 |
| virtual void | setSize (double x, double y)=0 |
| virtual void | setShadowText (bool enabled)=0 |
| virtual void | setVisible (bool visible)=0 |
| virtual bool | visible () const =0 |
| virtual void | setLodOutAltitude (double lodOutAltitude)=0 |
| virtual double | lodOutAltitude () const =0 |
| virtual void | setIsLodOutAltitudeEnabled (bool isEnabled)=0 |
| virtual bool | isLodOutAltitudeEnabled () const =0 |
| virtual void | setOverlay (unsigned int overlayId)=0 |
| virtual void | setGroup (unsigned int group)=0 |
| virtual void | setForegroundGroup (unsigned int group) |
| virtual void | setBackgroundGroup (unsigned int group) |
Public Attributes | |
| boost::signalslib::signal < void(DtAttribute *, double, double)> | signal_sizeChanged |
| makVrv::DtAttribute::DtAttribute | ( | ) |
CTOR.
|
virtual |
DTOR.
|
delete |
Copy Constructor not implemented - Copy not allowed.
|
delete |
Assignment Operator not implemented - Assignment not allowed.
|
pure virtual |
Set the position of the attribute in world space, using vrvGraphics float packing.
Implemented in makVrv::DtGraphAttribute, makVrv::DtBaseTextAttribute, makVrv::DtImageAttribute, makVrv::DtBaseQuadAttribute, makVrv::DtValueBarAttribute, and makVrv::DtBaseOutlineAttribute.
Set the offset of the attribute.
Reimplemented in makVrv::DtBaseTextAttribute, makVrv::DtImageAttribute, makVrv::DtGraphAttribute, makVrv::DtBaseQuadAttribute, makVrv::DtValueBarAttribute, and makVrv::DtBaseOutlineAttribute.
Get the minimum size of the attribute.
Implemented in makVrv::DtGraphAttribute, makVrv::DtImageAttribute, makVrv::DtBaseTextAttribute, makVrv::DtBaseOutlineAttribute, makVrv::DtBaseQuadAttribute, makVrv::DtValueBarAttribute, makVrf::DtVrfImageAttribute, and makVrf::DtVrfValueBarAttribute.
|
pure virtual |
Set the color of the attribute.
Implemented in makVrv::DtBaseTextAttribute, makVrv::DtGraphAttribute, makVrv::DtValueBarAttribute, makVrv::DtBaseOutlineAttribute, makVrv::DtImageAttribute, and makVrv::DtBaseQuadAttribute.
Set the size of the attribute.
Implemented in makVrv::DtBaseTextAttribute, makVrv::DtImageAttribute, makVrv::DtGraphAttribute, makVrv::DtBaseOutlineAttribute, makVrv::DtBaseQuadAttribute, makVrv::DtValueBarAttribute, makVrf::DtVrfImageAttribute, and makVrf::DtVrfValueBarAttribute.
|
pure virtual |
Set whether attribute text should have shadows.
Implemented in makVrv::DtBaseTextAttribute, makVrv::DtGraphAttribute, makVrv::DtBaseOutlineAttribute, makVrv::DtImageAttribute, makVrv::DtValueBarAttribute, and makVrv::DtBaseQuadAttribute.
|
pure virtual |
Set the attribute visible or hidden.
Implemented in makVrv::DtGraphAttribute, makVrv::DtBaseOutlineAttribute, makVrv::DtImageAttribute, makVrv::DtValueBarAttribute, makVrv::DtBaseQuadAttribute, makVrv::DtBaseTextAttribute, makVrf::DtVrfImageAttribute, makVrv::DtNumericAttribute, and makVrv::DtTextAttribute.
|
pure virtual |
Get the visibility of the attribute.
Implemented in makVrv::DtBaseTextAttribute, makVrv::DtGraphAttribute, makVrv::DtBaseOutlineAttribute, makVrv::DtImageAttribute, makVrv::DtValueBarAttribute, and makVrv::DtBaseQuadAttribute.
|
pure virtual |
Set the altitude, in meters, at which this attribute no longer appears. Only used if setIsLodOutAltitudeEnabled(true).
Implemented in makVrv::DtGraphAttribute, makVrv::DtBaseOutlineAttribute, makVrv::DtImageAttribute, makVrv::DtBaseQuadAttribute, makVrv::DtValueBarAttribute, and makVrv::DtBaseTextAttribute.
|
pure virtual |
Get the altitude, in meters, at which this attribute no longer appears.
Implemented in makVrv::DtGraphAttribute, makVrv::DtBaseOutlineAttribute, makVrv::DtImageAttribute, makVrv::DtBaseQuadAttribute, makVrv::DtValueBarAttribute, and makVrv::DtBaseTextAttribute.
|
pure virtual |
Set whether or not this attribute will use the LOD Out Altitude property.
Implemented in makVrv::DtGraphAttribute, makVrv::DtBaseOutlineAttribute, makVrv::DtImageAttribute, makVrv::DtBaseQuadAttribute, makVrv::DtValueBarAttribute, and makVrv::DtBaseTextAttribute.
|
pure virtual |
Get whether or not this attribute will use the LOD Out Altitude property.
Implemented in makVrv::DtGraphAttribute, makVrv::DtBaseOutlineAttribute, makVrv::DtImageAttribute, makVrv::DtBaseQuadAttribute, makVrv::DtValueBarAttribute, and makVrv::DtBaseTextAttribute.
Set the overlay to draw the attribute on. Overlay ids are defined in DtOverlayManager.
Implemented in makVrv::DtGraphAttribute, makVrv::DtBaseTextAttribute, makVrv::DtBaseOutlineAttribute, makVrv::DtBaseQuadAttribute, makVrv::DtImageAttribute, and makVrv::DtValueBarAttribute.
Set the group to draw the atribute on. The group specifies the z order of the attribute on the overlay.
Implemented in makVrv::DtGraphAttribute, makVrv::DtBaseTextAttribute, makVrv::DtBaseOutlineAttribute, makVrv::DtBaseQuadAttribute, makVrv::DtImageAttribute, and makVrv::DtValueBarAttribute.
Set the group to draw the atribute's foreground on. The group specifies the z order of the attribute on the overlay. By default, this method just calls setGroup(unsigned int).
Reimplemented in makVrv::DtBaseTextAttribute.
Set the group to draw the atribute's background on. The group specifies the z order of the attribute on the overlay. By default, this method just calls setGroup(unsigned int).
Reimplemented in makVrv::DtBaseTextAttribute.
| boost::signalslib::signal<void (DtAttribute*,double,double)> makVrv::DtAttribute::signal_sizeChanged |
Emitted when the attribute's size changes.
| _1 | the attribute that changed. |
| _2 | the new x size of the attribute. |
| _3 | the new y size of the attribute. |