IS3D::NamedAxesObj Class Reference

#include <SimpleObj.H>

Inherits IS3D::DrawObj.

List of all members.

Public Member Functions

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

Protected Attributes

std::string _str
double _scale
Color4 _textColor
Color4 _outlineColor
GFontRef _font


Constructor & Destructor Documentation

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

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


Member Function Documentation

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

References _str.

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

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

Implements IS3D::DrawObj.

References _font, _outlineColor, _scale, _str, and _textColor.


Member Data Documentation

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

Referenced by draw(), NamedAxesObj(), and setString().

double IS3D::NamedAxesObj::_scale [protected]

Referenced by draw(), and NamedAxesObj().

Color4 IS3D::NamedAxesObj::_textColor [protected]

Referenced by draw(), and NamedAxesObj().

Referenced by draw(), and NamedAxesObj().

GFontRef IS3D::NamedAxesObj::_font [protected]

Referenced by draw(), and NamedAxesObj().


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

Generated on Wed Jan 26 06:31:21 2011 for IS3D by  doxygen 1.5.6