![]() |
VR-Forces 4.0.4 Class Documentation
|
Dt3DTextModel is eyepoint-aligned text located in 3D database coordinates. More...

Public Member Functions | |
| Dt3DTextModel (DtDe &de, DtUniqueID id) | |
| CTOR. | |
| virtual | ~Dt3DTextModel () |
| DTOR. | |
| virtual void | setColor (float r, float g, float b, float a)=0 |
| Set the text's color in RGBA. | |
| virtual void | setFont (const std::string &fontName)=0 |
| Set the font for the 3D text. | |
| virtual void | setFontSize (double size)=0 |
| Set the font size in pixels. | |
| virtual void | setText (const std::string &text)=0 |
| Set the text to display. | |
Dt3DTextModel is eyepoint-aligned text located in 3D database coordinates.
It is scaled so that its size on the screen is fixed regardless of the eyepoint's location.
| makVrv::Dt3DTextModel::Dt3DTextModel | ( | DtDe & | de, |
| DtUniqueID | id | ||
| ) |
CTOR.
| virtual makVrv::Dt3DTextModel::~Dt3DTextModel | ( | ) | [virtual] |
DTOR.
| virtual void makVrv::Dt3DTextModel::setColor | ( | float | r, |
| float | g, | ||
| float | b, | ||
| float | a | ||
| ) | [pure virtual] |
Set the text's color in RGBA.
Reimplemented from makVrv::DtModel.
Implemented in makVrv::DtOsg3DTextModel.
| virtual void makVrv::Dt3DTextModel::setFont | ( | const std::string & | fontName | ) | [pure virtual] |
Set the font for the 3D text.
Implemented in makVrv::DtOsg3DTextModel.
| virtual void makVrv::Dt3DTextModel::setFontSize | ( | double | size | ) | [pure virtual] |
Set the font size in pixels.
Implemented in makVrv::DtOsg3DTextModel.
| virtual void makVrv::Dt3DTextModel::setText | ( | const std::string & | text | ) | [pure virtual] |
Set the text to display.
Implemented in makVrv::DtOsg3DTextModel.