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

STDisplayList Class Reference

#include <QGLViewerSceneTreeObjects.h>

Inheritance diagram for STDisplayList::

QSceneTreeDrawable QSceneTreeNode GLDrawable CTreeNode List of all members.

Public Methods

 STDisplayList (GLuint nDispList)
 ~STDisplayList ()
virtual void draw ()

Private Attributes

GLuint m_nDispList

Detailed Description

Node that manages a OpenGl display list.

Author:
Markus Janich


Constructor & Destructor Documentation

STDisplayList::STDisplayList GLuint   nDispList [inline]
 

Constructor.

'nDisplist' is the value, that is returned by the OpenGL call 'glGenLists(...)'.

NOTE: Don't free the display list by using
'glDeleteLists(...)', because this is already done by the destructor !

STDisplayList::~STDisplayList  
 

Destructor.


Member Function Documentation

void STDisplayList::draw   [virtual]
 

Implementation of the inherited method. It renders the display list to the current OpenGL context.

Reimplemented from GLDrawable.


Member Data Documentation

GLuint STDisplayList::m_nDispList [private]
 


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