![]() |
VR-Forces 4.1 Class Documentation
|
A glyph renderer which renders the texture associated with a glyph. More...

Public Types | |
| typedef std::vector < DtOffsetColoredTexturedVertex > | QuadVertexList |
| typedef boost::unordered_map < unsigned int, QuadVertexList > | TextureLists |
Public Types inherited from makVrv::DtGlyphRenderer | |
| enum | BitmapFormat { Alpha, RGB } |
Public Member Functions | |
| DtTexturedGlyphRenderer () | |
| CTOR. | |
| ~DtTexturedGlyphRenderer () | |
| DTOR, releases resources. | |
| void | setProjectedStringPosition (const float pos[4]) |
| Set the projected string position. | |
| void | setProjectedStringRotation (float angle) |
| Set the string's rotation (in radians). | |
| void | setGroup (unsigned int group) |
| Set the string's order group. | |
| virtual void | renderGlyph (DtPen &pen, DtGlyph &glyph) |
| For each glyph to be rendered, the pen stores the location of the rendering. | |
| const TextureLists & | perTextureLists () const |
| Get the per texture lists (const). | |
| TextureLists & | perTextureLists () |
| Get the per texture lists. | |
Public Member Functions inherited from makVrv::DtGlyphRenderer | |
| DtGlyphRenderer () | |
| virtual | ~DtGlyphRenderer () |
| DTOR. | |
Protected Attributes | |
| TextureLists | myLists |
| float | myCurrentStringPos [4] |
| float | myCurrentStringRotation |
| float | myGroup |
A glyph renderer which renders the texture associated with a glyph.
| typedef std::vector<DtOffsetColoredTexturedVertex> makVrv::DtTexturedGlyphRenderer::QuadVertexList |
| typedef boost::unordered_map<unsigned int, QuadVertexList > makVrv::DtTexturedGlyphRenderer::TextureLists |
| makVrv::DtTexturedGlyphRenderer::DtTexturedGlyphRenderer | ( | ) |
CTOR.
| makVrv::DtTexturedGlyphRenderer::~DtTexturedGlyphRenderer | ( | ) |
DTOR, releases resources.
| void makVrv::DtTexturedGlyphRenderer::setProjectedStringPosition | ( | const float | pos[4] | ) |
Set the projected string position.
| void makVrv::DtTexturedGlyphRenderer::setProjectedStringRotation | ( | float | angle | ) |
Set the string's rotation (in radians).
| void makVrv::DtTexturedGlyphRenderer::setGroup | ( | unsigned int | group | ) |
Set the string's order group.
For each glyph to be rendered, the pen stores the location of the rendering.
The glyph provides the glyph parameters.
Implements makVrv::DtGlyphRenderer.
|
inline |
Get the per texture lists (const).
|
inline |
Get the per texture lists.
|
protected |
|
protected |
|
protected |
|
protected |