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

STLightList Class Reference

#include <QGLViewerSceneTreeObjects.h>

Inheritance diagram for STLightList:

QSceneTreeDrawable QSceneTreeNode GLDrawable CTreeNode List of all members.

Public Member Functions

 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.

Implements GLDrawable.


Member Data Documentation

CList<CLightSource>* STLightList::m_pLightList [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Mar 5 18:23:26 2003 for QGLViewer by doxygen1.3-rc3