vrj::GlDrawObjectFunctor Class Reference

Base interface for an object drawing functor. More...

#include <vrj/Draw/OGL/GlDrawObjectFunctor.h>

Inheritance diagram for vrj::GlDrawObjectFunctor:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual void contextInit ()=0
 Called to initialize any context specific information.
virtual void draw (vrj::User *user)=0
 Callback function for drawing.
virtual ~GlDrawObjectFunctor ()

Detailed Description

Base interface for an object drawing functor.

Any OpenGL draw objects should be derived from this class. This is used for drawing things such as wands and gloves.

Definition at line 51 of file GlDrawObjectFunctor.h.


Constructor & Destructor Documentation

virtual vrj::GlDrawObjectFunctor::~GlDrawObjectFunctor (  )  [inline, virtual]

Definition at line 64 of file GlDrawObjectFunctor.h.

00065    {
00066       /* Do nothing. */ ;
00067    }


Member Function Documentation

virtual void vrj::GlDrawObjectFunctor::contextInit (  )  [pure virtual]

Called to initialize any context specific information.

Implemented in vrj::GlDrawEllipsoidHeadFunctor, vrj::GlDrawConeWandFunctor, and vrj::GlDrawRightAngleWandFunctor.

virtual void vrj::GlDrawObjectFunctor::draw ( vrj::User user  )  [pure virtual]

Callback function for drawing.

Called when the object should be drawn.

Precondition:
OpenGL context is set and ready to go.

Implemented in vrj::GlDrawEllipsoidHeadFunctor, vrj::GlDrawConeWandFunctor, and vrj::GlDrawRightAngleWandFunctor.

Referenced by vrj::GlBasicSimulator::drawSimulator().


The documentation for this class was generated from the following file:
Generated on Thu Jan 4 10:58:15 2007 for VR Juggler by  doxygen 1.5.1