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 Mon Jul 10 12:46:00 2006 for QGLViewer by  doxygen 1.4.7