Documentation for vtkLightCollection

vtkLightCollection - a list of lights

Super Class: vtkCollection

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

 

Methods:

static vtkLightCollection *New ()
const char *GetClassName ()
void AddItem (vtkLight *)
void RemoveItem (vtkLight *)
int IsItemPresent (vtkLight *)
vtkLight *GetNextItem ()

 

Detailed Method Descriptions:

Add a light to the list.

void AddItem (vtkLight *)

Remove a light from the list.

void RemoveItem (vtkLight *)

Determine whether a particular light is present. Returns its position in the list.

int IsItemPresent (vtkLight *)

Get the next light in the list. NULL is returned when the collection is exhausted.

vtkLight *GetNextItem ()