Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

InSpace::WorldRotAxisDrawObj Class Reference

#include <WorldRotAxisInt.H>

Inherits InSpace::DrawObj.

List of all members.

Public Member Functions

 WorldRotAxisDrawObj ()
virtual ~WorldRotAxisDrawObj ()
void contextInit ()
void draw ()
void setEndPoints (const Wpt &pos0, const Wpt &pos1)

Protected Attributes

isGlContextData< GLuint > _nSphere
Wpt _pos0
Wpt _pos1
float _afMatAmbient [4]
float _afMatDiffuse [4]
float _afMatSpecular [4]
float _afMatShininess [1]


Constructor & Destructor Documentation

InSpace::WorldRotAxisDrawObj::WorldRotAxisDrawObj  )  [inline]
 

virtual InSpace::WorldRotAxisDrawObj::~WorldRotAxisDrawObj  )  [inline, virtual]
 


Member Function Documentation

void InSpace::WorldRotAxisDrawObj::contextInit  )  [virtual]
 

Implement this to do any GL specific initialization that you need to within your object. Called once per GL context.

Reimplemented from InSpace::DrawObj.

void InSpace::WorldRotAxisDrawObj::draw  )  [virtual]
 

This is the most important function to implement in your subclass. Use GL calls inside this to draw something. This object's xform() has already been pushed onto the MODELVIEW stack when this gets called. If using inspace with G3D, use drawG3D() as a replacement for this function.

Reimplemented from InSpace::DrawObj.

void InSpace::WorldRotAxisDrawObj::setEndPoints const Wpt pos0,
const Wpt pos1
[inline]
 


Member Data Documentation

float InSpace::WorldRotAxisDrawObj::_afMatAmbient[4] [protected]
 

float InSpace::WorldRotAxisDrawObj::_afMatDiffuse[4] [protected]
 

float InSpace::WorldRotAxisDrawObj::_afMatShininess[1] [protected]
 

float InSpace::WorldRotAxisDrawObj::_afMatSpecular[4] [protected]
 

isGlContextData<GLuint> InSpace::WorldRotAxisDrawObj::_nSphere [protected]
 

Wpt InSpace::WorldRotAxisDrawObj::_pos0 [protected]
 

Wpt InSpace::WorldRotAxisDrawObj::_pos1 [protected]
 


The documentation for this class was generated from the following file:
Generated on Thu Jul 8 15:19:31 2004 for inspace by doxygen 1.3.4