VR-Forces 4.0.4 Class Documentation
Public Types | Public Member Functions | Protected Attributes
makVrv::DtTexturedGlyphRenderer Class Reference

A glyph renderer which renders the texture associated with a glyph. More...

Inheritance diagram for makVrv::DtTexturedGlyphRenderer:
Inheritance graph
[legend]

List of all members.

Public Types

typedef std::vector
< DtOffsetColoredTexturedVertex > 
QuadVertexList
typedef boost::unordered_map
< unsigned int, QuadVertexList > 
TextureLists

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.

Protected Attributes

TextureLists myLists
float myCurrentStringPos [4]
float myCurrentStringRotation
float myGroup

Detailed Description

A glyph renderer which renders the texture associated with a glyph.


Member Typedef Documentation

typedef boost::unordered_map<unsigned int, QuadVertexList > makVrv::DtTexturedGlyphRenderer::TextureLists

Constructor & Destructor Documentation

CTOR.

DTOR, releases resources.


Member Function Documentation

Set the projected string position.

Set the string's rotation (in radians).

void makVrv::DtTexturedGlyphRenderer::setGroup ( unsigned int  group)

Set the string's order group.

virtual void makVrv::DtTexturedGlyphRenderer::renderGlyph ( DtPen &  pen,
DtGlyph &  glyph 
) [virtual]

For each glyph to be rendered, the pen stores the location of the rendering.

The glyph provides the glyph parameters.

Implements makVrv::DtGlyphRenderer.

Get the per texture lists (const).

Get the per texture lists.


Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)