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

Public Member Functions | |
| DtNumericAttribute (DtDe &de) | |
| CTOR. | |
| virtual | ~DtNumericAttribute () |
| DTOR. | |
| virtual void | setVisible (bool isVisible) |
| Set the text visible or invisible. | |
| virtual void | setNumber (double num) |
| Set the number to display. | |
Public Member Functions inherited from makVrv::DtBaseTextAttribute | |
| DtBaseTextAttribute (DtDe &de) | |
| CTOR. | |
| virtual | ~DtBaseTextAttribute () |
| DTOR. | |
| virtual void | setString (const DtUnicode &str) |
| Set the string to render. | |
| 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 | setOffset (double x, double y) |
| Set the Top left corner of the text. | |
| virtual void | setColor (float r, float g, float b, float a) |
| Set the text's color. | |
| virtual void | setFont (const std::string &fontFile, float sizeInPoints) |
| Set the font file and size in points to display the text in. | |
| virtual bool | visible () const |
| Get the text's visibility status. | |
| virtual void | setSize (double x, double y) |
| Set the size of the text box. | |
| 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. | |
| virtual void | setForegroundGroup (unsigned int group) |
| Set the group to draw the text's foreground on. | |
| virtual void | setBackgroundGroup (unsigned int group) |
| Set the group to draw the text's background (shadow) on. | |
| virtual float | fontSize () |
| Get the text's font size in points. | |
| virtual const std::string & | fontFile () |
| Get the text's font file name. | |
| virtual void | setShadowText (bool enabled) |
| Set whether text shadows should be displayed. | |
Public Member Functions inherited from makVrv::DtAttribute | |
| DtAttribute () | |
| CTOR. | |
| virtual | ~DtAttribute () |
| DTOR. | |
Protected Attributes | |
| DtUnicode | myTextString |
Protected Attributes inherited from makVrv::DtBaseTextAttribute | |
| DtDe & | myDe |
| float | myColorR |
| float | myColorG |
| float | myColorB |
| float | myColorA |
| std::string | myFontFile |
| float | myFontSize |
| float | myWidth |
| float | myOffsetX |
| float | myOffsetY |
| float | myWorldX |
| float | myWorldY |
| float | myWorldZ |
| float | myWorldW |
| double | mySizeX |
| double | mySizeY |
| DtFont::TextAlignement | myAlignment |
| DtTextProxy * | myText |
| DtTextProxy * | myShadowText |
| DtUnicode | myString |
| unsigned int | myOverlayId |
| unsigned int | myForegroundOverlayGroup |
| unsigned int | myBackgroundOverlayGroup |
| bool | myShadowTextFlag |
Additional Inherited Members | |
Static Public Member Functions inherited from makVrv::DtBaseTextAttribute | |
| static float | pointsToPixelsAprox (float points) |
| Convert a dimension in points to an approximatation of pixels (The exact correct value depends on monitor DPI) | |
Public Attributes inherited from makVrv::DtAttribute | |
| boost::signal< void(DtAttribute *, double, double)> | signal_sizeChanged |
| Emitted when the attribute's size changes. | |
Protected Member Functions inherited from makVrv::DtBaseTextAttribute | |
| void | setStringForText (const DtUnicode &str, DtTextProxy &text) |
| setString for a specific text proxy | |
| void | setFontForText (const std::string &fontFile, float sizeInPoints, DtTextProxy &text) |
| setFont for a specific text proxy | |
| void | setOffsetForText (double x, double y, DtTextProxy &text) |
| setOffset for a specific text proxy | |
| void | setVisibleForText (DtTextProxy &text) |
| set a specific text object visible | |
| void | createText () |
| Create the text object. | |
The attribute layout tells DtAttributes where to draw.
| makVrv::DtNumericAttribute::DtNumericAttribute | ( | DtDe & | de | ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Set the text visible or invisible.
Reimplemented from makVrv::DtBaseTextAttribute.
|
virtual |
Set the number to display.
|
protected |