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

A class for rendering text object. More...

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

List of all members.

Public Member Functions

 DtTextRenderer (DtOverlayResourceProvider &provider)
 CTOR.
 ~DtTextRenderer ()
 DTOR.
DtTextProxycreateProxy ()
 Create a text proxy.
DtTextProxycloneProxy (const DtTextProxy *)
 Clone a text proxy.
virtual int numberOfPrimitives () const
 Get the number of Primitives.
virtual void releaseResources ()
 Release any rendering resources.
virtual bool isRenderModeSupported (int mode)
 Get if a render mode is supported.
void render (bool geocentric, float geocentricAlpha, const double location[3], const double positionMatrix[16])
 Render the text.
void addGroupRef (unsigned int)
 Add the given group reference to the DtOverlayResourceProvider.
void removeGroupRef (unsigned int)
 Remove the given group reference from the DtOverlayResourceProvider.

Protected Types

typedef std::vector
< DtTextProxy * > 
TextProxyList

Protected Member Functions

void deleteProxy (DtTextProxy *)
 Create a text proxy.

Protected Attributes

TextProxyList myProxyList
DtTexturedGlyphRenderermyGlyphRenderer
DtProjected2DTexturedEffectmyEffect

Friends

class DtTextProxy

Detailed Description

A class for rendering text object.


Member Typedef Documentation

typedef std::vector<DtTextProxy*> makVrv::DtTextRenderer::TextProxyList [protected]

Constructor & Destructor Documentation

CTOR.

DTOR.


Member Function Documentation

Create a text proxy.

Clone a text proxy.

virtual int makVrv::DtTextRenderer::numberOfPrimitives ( ) const [virtual]

Get the number of Primitives.

Implements makVrv::DtPrimitiveRenderer.

virtual void makVrv::DtTextRenderer::releaseResources ( ) [virtual]

Release any rendering resources.

Implements makVrv::DtPrimitiveRenderer.

virtual bool makVrv::DtTextRenderer::isRenderModeSupported ( int  mode) [virtual]

Get if a render mode is supported.

Implements makVrv::DtPrimitiveRenderer.

void makVrv::DtTextRenderer::render ( bool  geocentric,
float  geocentricAlpha,
const double  location[3],
const double  positionMatrix[16] 
)

Render the text.

void makVrv::DtTextRenderer::addGroupRef ( unsigned  int)

Add the given group reference to the DtOverlayResourceProvider.

Reimplemented from makVrv::DtPrimitiveRenderer.

Remove the given group reference from the DtOverlayResourceProvider.

Reimplemented from makVrv::DtPrimitiveRenderer.

Create a text proxy.


Friends And Related Function Documentation

friend class DtTextProxy [friend]

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)