IS3D::BoxObj Class Reference

#include <SimpleObj.H>

Inherits IS3D::DrawObj.

List of all members.

Public Member Functions

 BoxObj (const Box &box, const Color4 &solidColor=Color4(1,.2,.2,.5), const Color4 &wireColor=Color3::black())
virtual ~BoxObj ()
void draw ()
 Override this function and place your G3D draw calls inside it.

Protected Attributes

Box _box
Color4 _solidColor
Color4 _wireColor


Constructor & Destructor Documentation

IS3D::BoxObj::BoxObj ( const Box &  box,
const Color4 &  solidColor = Color4(1,.2,.2,.5),
const Color4 &  wireColor = Color3::black() 
) [inline]

References _box, _solidColor, and _wireColor.

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


Member Function Documentation

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

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

Implements IS3D::DrawObj.

References _box, _solidColor, and _wireColor.


Member Data Documentation

Box IS3D::BoxObj::_box [protected]

Referenced by BoxObj(), and draw().

Color4 IS3D::BoxObj::_solidColor [protected]

Referenced by BoxObj(), and draw().

Color4 IS3D::BoxObj::_wireColor [protected]

Referenced by BoxObj(), and draw().


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