IS3D::TextObj Class Reference

#include <SimpleObj.H>

Inherits IS3D::DrawObj.

List of all members.

Public Member Functions

 TextObj (const std::string &str, const double textHeight, const Color4 &textColor=Color3::white(), const Color4 &outlineColor=Color4::clear())
virtual ~TextObj ()
void setString (const std::string &newStr)
void setOffsetFrame (CoordinateFrame cf)
void draw ()
 Override this function and place your G3D draw calls inside it.

Protected Attributes

std::string _str
double _height
Color4 _textColor
Color4 _outlineColor
GFontRef _font
CoordinateFrame _offset


Constructor & Destructor Documentation

IS3D::TextObj::TextObj ( const std::string &  str,
const double  textHeight,
const Color4 &  textColor = Color3::white(),
const Color4 &  outlineColor = Color4::clear() 
) [inline]

virtual IS3D::TextObj::~TextObj (  )  [inline, virtual]


Member Function Documentation

void IS3D::TextObj::setString ( const std::string &  newStr  )  [inline]

void IS3D::TextObj::setOffsetFrame ( CoordinateFrame  cf  )  [inline]

void IS3D::TextObj::draw (  )  [inline, virtual]

Override this function and place your G3D draw calls inside it.

Implements IS3D::DrawObj.


Member Data Documentation

std::string IS3D::TextObj::_str [protected]

double IS3D::TextObj::_height [protected]

Color4 IS3D::TextObj::_textColor [protected]

Color4 IS3D::TextObj::_outlineColor [protected]

GFontRef IS3D::TextObj::_font [protected]

CoordinateFrame IS3D::TextObj::_offset [protected]


The documentation for this class was generated from the following file:
Generated on Sun Jul 6 06:42:49 2008 for IS3D by  doxygen 1.5.1