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

Public Member Functions | |
| DtGraphAttribute (DtDe &de, int maxValues) | |
| CTOR maxValues is the maximum number of values to store in the graph; when this maximum is reached, the graph will throw out the oldest values as new values are added. | |
| virtual | ~DtGraphAttribute () |
| DTOR. | |
| virtual void | setOffset (double x, double y) |
| Set the position of the attribute (generally the top left corner) | |
| virtual void | setPosition (float x, float y, float z, float w) |
| Set the position of the attribute in world space, using vrvGraphics float packing. | |
| virtual void | getMinSize (double &xOut, double &yOut) |
| Get the size of the attribute. | |
| virtual void | setSize (double x, double y) |
| Set the size of the attribute. | |
| virtual void | setColor (float r, float g, float b, float a) |
| Set the color of the bar. | |
| virtual void | setPoint (unsigned int pointIndex, double x, double y) |
| Set the pointIndex'th point. | |
| virtual void | clear () |
| Clear the graph. | |
| virtual void | setShadowText (bool enabled) |
| Set whether attribute text should have shadows. | |
| virtual void | setVisible (bool visible) |
| Set the attribute visible or hidden. | |
| virtual bool | visible () const |
| Get the visibility of the attribute. | |
| virtual void | setOverlay (unsigned int overlayId) |
| Set the overlay to draw the attribute on Overlay ids are defined in DtOverlayManager. | |
| virtual void | setGroup (unsigned int group) |
| Set the group to draw the atribute on. | |
Public Member Functions inherited from makVrv::DtAttribute | |
| DtAttribute () | |
| CTOR. | |
| virtual | ~DtAttribute () |
| DTOR. | |
| virtual void | setForegroundGroup (unsigned int group) |
| Set the group to draw the atribute's foreground on. | |
| virtual void | setBackgroundGroup (unsigned int group) |
| Set the group to draw the atribute's background on. | |
Protected Types | |
| typedef std::vector < DtLineSegment * > | LineSegments |
| typedef std::vector< DtQuad * > | Quads |
| typedef std::vector< Dt2dPoint > | DtPointList |
Protected Member Functions | |
| virtual void | draw () |
| Draw the graph. | |
Protected Attributes | |
| LineSegments | myLineSegments |
| Quads | myQuads |
| DtPointList | myPoints |
| DtBaseOutlineAttribute | myOutline |
| DtDe & | myDe |
| float | myX |
| float | myY |
| float | myZ |
| float | myW |
| double | myOffsetX |
| double | myOffsetY |
| double | mySizeX |
| double | mySizeY |
| float | myR |
| float | myG |
| float | myB |
| float | myA |
| bool | myVisible |
| int | myMaxValues |
Additional Inherited Members | |
Public Attributes inherited from makVrv::DtAttribute | |
| boost::signal< void(DtAttribute *, double, double)> | signal_sizeChanged |
| Emitted when the attribute's size changes. | |
The attribute layout tells DtAttributes where to draw.
|
protected |
|
protected |
|
protected |
| makVrv::DtGraphAttribute::DtGraphAttribute | ( | DtDe & | de, |
| int | maxValues | ||
| ) |
CTOR maxValues is the maximum number of values to store in the graph; when this maximum is reached, the graph will throw out the oldest values as new values are added.
Values of maxValue < 0 indicate no limit.
|
virtual |
DTOR.
|
virtual |
Set the position of the attribute (generally the top left corner)
Reimplemented from makVrv::DtAttribute.
|
virtual |
Set the position of the attribute in world space, using vrvGraphics float packing.
Implements makVrv::DtAttribute.
|
virtual |
Get the size of the attribute.
Implements makVrv::DtAttribute.
|
virtual |
Set the size of the attribute.
Implements makVrv::DtAttribute.
|
virtual |
Set the color of the bar.
Implements makVrv::DtAttribute.
|
virtual |
Set the pointIndex'th point.
|
virtual |
Clear the graph.
|
virtual |
Set whether attribute text should have shadows.
Implements makVrv::DtAttribute.
|
virtual |
Set the attribute visible or hidden.
Implements makVrv::DtAttribute.
|
virtual |
Get the visibility of the attribute.
Implements makVrv::DtAttribute.
|
virtual |
Set the overlay to draw the attribute on Overlay ids are defined in DtOverlayManager.
Implements makVrv::DtAttribute.
|
virtual |
Set the group to draw the atribute on.
The group specifies the z order of the attribute on the overlay.
Implements makVrv::DtAttribute.
|
protectedvirtual |
Draw the graph.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |