Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

GLDrawable Class Reference

#include <GLDrawable.h>

Inheritance diagram for GLDrawable::

QSceneTreeDrawable QCameraInterpolationTool QCameraKeyPathEditorImpl STDisplayList STLightList STQGLExampleInitNode STQGLExampleLightNode STQGLExampleSphere STQGLViewerBoundingBox List of all members.

Public Methods

 GLDrawable ()
virtual ~GLDrawable ()
virtual void draw ()=0

Detailed Description

This is a pure abstract class which defines an interface of a drawable object.

Author:
Markus Janich


Constructor & Destructor Documentation

GLDrawable::GLDrawable  
 

Default constructor.

GLDrawable::~GLDrawable   [virtual]
 

Virtual destructor.


Member Function Documentation

virtual void GLDrawable::draw   [pure virtual]
 

Must be implemented by the inherited class. This method should draw the object to the current OpenGL context and gets called with the GL model matrix set up for the local reference frame of the node. You ought to leave the GL state as it comes in (usually). glPush* and glPop* are your friends.

Reimplemented in QCameraInterpolationTool, QCameraKeyPathEditorImpl, STLightList, STQGLViewerBoundingBox, STDisplayList, STQGLExampleWiredSphere, STQGLExampleSolidSphere, STQGLExampleInitNode, and STQGLExampleLightNode.


The documentation for this class was generated from the following files:
Generated at Thu Oct 4 17:17:30 2001 for QGLViewer by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001