![]() |
VR-Forces Development_Version Class Documentation
|
vrvGraphics implementation of a 2D text More...

Public Member Functions | |
| DtOsgWindowTextInstance (DtDe &de) | |
| CTOR. | |
| virtual | ~DtOsgWindowTextInstance () |
| DTOR. | |
| virtual void | setTopLeftCorner (float x, float y) |
| Set the Top left corner of the text in normalized screen coordinates (0..1) | |
| virtual void | setVisible (bool isVisible) |
| Set the text visible or invisible. | |
| virtual void | setColor (float r, float g, float b, float a) |
| Set the text's color. | |
| virtual void | setText (const std::string &textString) |
| Set the text to display. | |
| virtual void | setFont (const std::string &fontFile, float sizeInPoints) |
| Set the font file and size in points to display the text in. | |
| virtual void | setTextBoxWidth (unsigned int widthInPixels) |
| Set the width of the text box in pixels. | |
| virtual void | setAlignment (DtWindowText::TextAlignment alignment) |
| Set the alignment mode of the text. | |
| virtual bool | visible () const |
| Get the text's visibility status. | |
Public Member Functions inherited from makVrv::DtWindowTextInstance | |
| virtual | ~DtWindowTextInstance () |
| DTOR. | |
Public Member Functions inherited from makVrv::DtSetVisibilityInterface | |
| virtual | ~DtSetVisibilityInterface () |
Protected Member Functions | |
| virtual void | slot_releaseResources () |
| Destroy the text when the resources are released since it's fonts won't work anymore. | |
| virtual void | slot_onViewCreated () |
| Recreate the text if needed when a new window is created. | |
| void | createText () |
| Create the text object. | |
Protected Attributes | |
| DtDe & | myDe |
| float | myColorR |
| float | myColorG |
| float | myColorB |
| float | myColorA |
| std::string | myFontFile |
| std::string | myTextString |
| float | mySize |
| float | myWidth |
| float | myTopLeftX |
| float | myTopLeftY |
| DtFont::TextAlignement | myAlignment |
| DtTextProxy * | myText |
| bool | myIsVisible |
Additional Inherited Members | |
Public Types inherited from makVrv::DtWindowTextInstance | |
| typedef std::vector< Vertex > | VertexList |
vrvGraphics implementation of a 2D text
| makVrv::DtOsgWindowTextInstance::DtOsgWindowTextInstance | ( | DtDe & | de | ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Set the Top left corner of the text in normalized screen coordinates (0..1)
Implements makVrv::DtWindowTextInstance.
|
virtual |
Set the text visible or invisible.
Implements makVrv::DtWindowTextInstance.
|
virtual |
Set the text's color.
Implements makVrv::DtWindowTextInstance.
|
virtual |
Set the text to display.
Implements makVrv::DtWindowTextInstance.
|
virtual |
Set the font file and size in points to display the text in.
Implements makVrv::DtWindowTextInstance.
|
virtual |
Set the width of the text box in pixels.
Implements makVrv::DtWindowTextInstance.
|
virtual |
Set the alignment mode of the text.
Implements makVrv::DtWindowTextInstance.
|
virtual |
Get the text's visibility status.
|
protectedvirtual |
Destroy the text when the resources are released since it's fonts won't work anymore.
|
protectedvirtual |
Recreate the text if needed when a new window is created.
|
protected |
Create the text object.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |