NAME
vtkLightCollection - a list of lights
SYNOPSIS
#include "/opt/vtk-c++/graphics/vtkLightCollection.h"
class VTK_EXPORT vtkLightCollection : public vtkCollection
static vtkLightCollection *New() {return new vtkLightCollection;};
const char *GetClassName() {return "vtkLightCollection";};
void AddItem(vtkLight *a);
void RemoveItem(vtkLight *a);
int IsItemPresent(vtkLight *a);
vtkLight *GetNextItem();
DESCRIPTION
vtkLightCollection represents and provides methods to manipulate a list of lights (i.e., vtkLight and subclasses). The list is unsorted and duplicate entries are not prevented.
SEE ALSO
vtkCollection vtkLight
SUMMARY
void AddItem(vtkLight *a)
Add a light to the list.
void RemoveItem(vtkLight *a)
Remove a light from the list.
int IsItemPresent(vtkLight *a)
Determine whether a particular light is present. Returns its position in the list.
vtkLight *GetNextItem()
Get the next light in the list. NULL is returned when the collection is exhausted.