glotzopengl::Text Class Reference

#include <Text.h>

Inheritance diagram for glotzopengl::Text:

glotzopengl::GlObject glotzopengl::GlotzGlBaseObject

List of all members.

Public Member Functions

 Text ()
 Text (GLfloat, GLfloat, const char *)
 ~Text ()
std::istream & Read (std::istream &)
void Scale (GLfloat)
void SetPosition (GLfloat, GLfloat)
void SetString (const char *)
void DrawString (GLfloat, GLfloat, const char *)
void SetRotation (GLfloat)
void Display ()

Protected Attributes

GLfloat mPositionX
GLfloat mPositionY
GLfloat mPositionZ
GLfloat mScaleX
GLfloat mScaleY
GLfloat mScaleZ
GLfloat mRotationAngle
std::string mMessage

Friends

std::ostream & operator<< (std::ostream &, Text &)


Constructor & Destructor Documentation

glotzopengl::Text::Text (  ) 

glotzopengl::Text::Text ( GLfloat  x,
GLfloat  y,
const char *  string 
)

glotzopengl::Text::~Text (  ) 


Member Function Documentation

std::istream & glotzopengl::Text::Read ( std::istream &  is  ) 

void glotzopengl::Text::Scale ( GLfloat  sf  ) 

void glotzopengl::Text::SetPosition ( GLfloat  x,
GLfloat  y 
)

void glotzopengl::Text::SetString ( const char *  str  ) 

void glotzopengl::Text::DrawString ( GLfloat  x,
GLfloat  y,
const char *  string 
)

void glotzopengl::Text::SetRotation ( GLfloat  angle  ) 

void glotzopengl::Text::Display (  )  [virtual]

Implements glotzopengl::GlObject.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  ,
Text  
) [friend]


Member Data Documentation

GLfloat glotzopengl::Text::mPositionX [protected]

Reimplemented from glotzopengl::GlObject.

GLfloat glotzopengl::Text::mPositionY [protected]

Reimplemented from glotzopengl::GlObject.

GLfloat glotzopengl::Text::mPositionZ [protected]

Reimplemented from glotzopengl::GlObject.

GLfloat glotzopengl::Text::mScaleX [protected]

Reimplemented from glotzopengl::GlObject.

GLfloat glotzopengl::Text::mScaleY [protected]

Reimplemented from glotzopengl::GlObject.

GLfloat glotzopengl::Text::mScaleZ [protected]

Reimplemented from glotzopengl::GlObject.

GLfloat glotzopengl::Text::mRotationAngle [protected]

std::string glotzopengl::Text::mMessage [protected]


The documentation for this class was generated from the following files:
Generated on Tue Feb 24 20:54:46 2009 by  doxygen 1.5.3