IS3D::SphereObj Class Reference

#include <SimpleObj.H>

Inherits IS3D::DrawObj.

List of all members.

Public Member Functions

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

Protected Attributes

Sphere _sphere
Color4 _solidColor
Color4 _wireColor


Constructor & Destructor Documentation

IS3D::SphereObj::SphereObj ( const Sphere &  sphere,
const Color4 &  solidColor = Color4(1,.2,.2,.5),
const Color4 &  wireColor = Color3::black() 
) [inline]

References _solidColor, _sphere, and _wireColor.

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


Member Function Documentation

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

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

Implements IS3D::DrawObj.

References _solidColor, _sphere, and _wireColor.


Member Data Documentation

Sphere IS3D::SphereObj::_sphere [protected]

Referenced by draw(), and SphereObj().

Color4 IS3D::SphereObj::_solidColor [protected]

Referenced by draw(), and SphereObj().

Color4 IS3D::SphereObj::_wireColor [protected]

Referenced by draw(), and SphereObj().


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