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

STLightList Class Reference

#include <QGLViewerSceneTreeObjects.h>

Inheritance diagram for STLightList::

QSceneTreeDrawable QSceneTreeNode GLDrawable CTreeNode List of all members.

Public Methods

 STLightList (const CList< CLightSource > *pLightList)
 STLightList (const CLightSource &Light)
 ~STLightList ()
virtual void draw ()

Private Attributes

CList< CLightSource > * m_pLightList

Detailed Description

Node that manages a list of lights.

Author:
Richard Guenther


Constructor & Destructor Documentation

STLightList::STLightList const CList< CLightSource > *   pLightList
 

Constructs a node with the given list of lights.

NOTE: A full duplicate of the list is made.
So you'reallowed to delete the original list after the call of this constructor.

STLightList::STLightList const CLightSource &   Light
 

Constructs a node with only one light.

STLightList::~STLightList  
 

Destructor.


Member Function Documentation

void STLightList::draw   [virtual]
 

Implementation of the inherited method. It makes all necessary OpenGL calls to enable all lights in the list.

Reimplemented from GLDrawable.


Member Data Documentation

CList<CLightSource>* STLightList::m_pLightList [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