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

A class for controlling text owned by the TextRenderer. More...

List of all members.

Public Member Functions

 ~DtTextProxy ()
 DTOR.
void setAlignment (DtFont::TextAlignement alignment)
 Set the position.
void setPosition (float x, float y, float z, float w=0)
 Set the position.
void setRotation (float angle)
 Set the rotation.
void setColor (float r, float g, float b, float a)
 Set the color of the text.
void setString (const DtUnicode &str)
 Set the text string.
const DtUnicodestring () const
 Gets the text string.
void setFont (DtFontSP font)
 Set the font to render using.
DtFontSP font ()
 Get the font rendering.
void setBounds (const DtBoundingBox &box)
 Set the bounds of the text.
void setGroup (unsigned int group)
 Sets the text group.
unsigned int group () const
 Gets the group of the text.

Protected Member Functions

 DtTextProxy (DtTextRenderer *parent)
 CTOR.
DtTextProxyclone (DtTextRenderer *parent) const
 Clone the given DtTextProxy.

Protected Attributes

DtTextRenderermyParent
float myRotation
float myPosition [4]
float myColor [4]
unsigned int myGroup
DtFont::TextAlignement myAlignment
DtUnicode myString
DtBoundingBox myBounds
DtFontSP myFont

Friends

class DtTextRenderer

Detailed Description

A class for controlling text owned by the TextRenderer.


Constructor & Destructor Documentation

DTOR.

CTOR.


Member Function Documentation

Set the position.

void makVrv::DtTextProxy::setPosition ( float  x,
float  y,
float  z,
float  w = 0 
)

Set the position.

void makVrv::DtTextProxy::setRotation ( float  angle)

Set the rotation.

void makVrv::DtTextProxy::setColor ( float  r,
float  g,
float  b,
float  a 
)

Set the color of the text.

Set the text string.

Gets the text string.

Set the font to render using.

Get the font rendering.

Set the bounds of the text.

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

Sets the text group.

unsigned int makVrv::DtTextProxy::group ( ) const

Gets the group of the text.

DtTextProxy* makVrv::DtTextProxy::clone ( DtTextRenderer parent) const [protected]

Clone the given DtTextProxy.


Friends And Related Function Documentation

friend class DtTextRenderer [friend]

Member Data Documentation

float makVrv::DtTextProxy::myPosition[4] [protected]
float makVrv::DtTextProxy::myColor[4] [protected]
unsigned int makVrv::DtTextProxy::myGroup [protected]

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)