![]() |
VR-Forces 4.0.4 Class Documentation
|
The attribute layout tells DtAttributes where to draw. More...

Public Member Functions | |
| DtAttribute () | |
| CTOR. | |
| virtual | ~DtAttribute () |
| DTOR. | |
| virtual void | setPosition (float x, float y, float z, float w)=0 |
| Set the position of the attribute in world space, using vrvGraphics float packing. | |
| virtual void | setOffset (double x, double y) |
| Set the offset of the attribute. | |
| virtual void | getMinSize (double &xOut, double &yOut)=0 |
| Get the minimum size of the attribute. | |
| virtual void | setColor (float r, float g, float b, float a)=0 |
| Set the color of the attribute. | |
| virtual void | setSize (double x, double y)=0 |
| Set the size of the attribute. | |
| virtual void | setVisible (bool visible)=0 |
| Set the attribute visible or hidden. | |
| virtual bool | visible () const =0 |
| Get the visibility of the attribute. | |
| virtual void | setOverlay (unsigned int overlayId)=0 |
| Set the overlay to draw the attribute on Overlay ids are defined in DtOverlayManager. | |
| virtual void | setGroup (unsigned int group)=0 |
| Set the group to draw the atribute on. | |
Public Attributes | |
| boost::signal< void(DtAttribute *, double, double)> | signal_sizeChanged |
| Emitted when the attribute's size changes. | |
The attribute layout tells DtAttributes where to draw.
CTOR.
| virtual makVrv::DtAttribute::~DtAttribute | ( | ) | [virtual] |
DTOR.
| virtual void makVrv::DtAttribute::setPosition | ( | float | x, |
| float | y, | ||
| float | z, | ||
| float | w | ||
| ) | [pure virtual] |
Set the position of the attribute in world space, using vrvGraphics float packing.
Implemented in makVrv::DtGraphAttribute, makVrv::DtImageAttribute, makVrv::DtBaseOutlineAttribute, makVrv::DtBaseTextAttribute, makVrv::DtValueBarAttribute, and makVrv::DtBaseQuadAttribute.
| virtual void makVrv::DtAttribute::setOffset | ( | double | x, |
| double | y | ||
| ) | [virtual] |
Set the offset of the attribute.
Reimplemented in makVrv::DtBaseTextAttribute, makVrv::DtImageAttribute, makVrv::DtGraphAttribute, makVrv::DtBaseOutlineAttribute, makVrv::DtBaseQuadAttribute, and makVrv::DtValueBarAttribute.
| virtual void makVrv::DtAttribute::getMinSize | ( | double & | xOut, |
| double & | yOut | ||
| ) | [pure virtual] |
Get the minimum size of the attribute.
Implemented in makVrv::DtGraphAttribute, makVrv::DtImageAttribute, makVrv::DtBaseOutlineAttribute, makVrv::DtBaseTextAttribute, makVrv::DtValueBarAttribute, and makVrv::DtBaseQuadAttribute.
| virtual void makVrv::DtAttribute::setColor | ( | float | r, |
| float | g, | ||
| float | b, | ||
| float | a | ||
| ) | [pure virtual] |
Set the color of the attribute.
Implemented in makVrv::DtGraphAttribute, makVrv::DtBaseTextAttribute, makVrv::DtImageAttribute, makVrv::DtValueBarAttribute, makVrv::DtBaseOutlineAttribute, and makVrv::DtBaseQuadAttribute.
| virtual void makVrv::DtAttribute::setSize | ( | double | x, |
| double | y | ||
| ) | [pure virtual] |
Set the size of the attribute.
Implemented in makVrv::DtBaseTextAttribute, makVrv::DtGraphAttribute, makVrv::DtImageAttribute, makVrv::DtBaseOutlineAttribute, makVrv::DtBaseQuadAttribute, and makVrv::DtValueBarAttribute.
| virtual void makVrv::DtAttribute::setVisible | ( | bool | visible | ) | [pure virtual] |
Set the attribute visible or hidden.
Implemented in makVrv::DtGraphAttribute, makVrv::DtImageAttribute, makVrv::DtBaseOutlineAttribute, makVrv::DtValueBarAttribute, makVrv::DtBaseQuadAttribute, makVrv::DtBaseTextAttribute, makVrv::DtNumericAttribute, and makVrv::DtTextAttribute.
| virtual bool makVrv::DtAttribute::visible | ( | ) | const [pure virtual] |
Get the visibility of the attribute.
Implemented in makVrv::DtGraphAttribute, makVrv::DtImageAttribute, makVrv::DtBaseOutlineAttribute, makVrv::DtBaseTextAttribute, makVrv::DtValueBarAttribute, and makVrv::DtBaseQuadAttribute.
| virtual void makVrv::DtAttribute::setOverlay | ( | unsigned int | overlayId | ) | [pure virtual] |
Set the overlay to draw the attribute on Overlay ids are defined in DtOverlayManager.
Implemented in makVrv::DtGraphAttribute, makVrv::DtBaseTextAttribute, makVrv::DtImageAttribute, makVrv::DtBaseOutlineAttribute, makVrv::DtBaseQuadAttribute, and makVrv::DtValueBarAttribute.
| virtual void makVrv::DtAttribute::setGroup | ( | unsigned int | group | ) | [pure virtual] |
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::DtImageAttribute, makVrv::DtBaseOutlineAttribute, makVrv::DtBaseQuadAttribute, and makVrv::DtValueBarAttribute.
| boost::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. |