Section: Visualization Toolkit Rendering Classes
To create an instance of class vtkLightCollection, simply invoke its constructor as follows
obj = vtkLightCollection
obj
is an instance of the vtkLightCollection class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkLightCollection = obj.NewInstance ()
vtkLightCollection = obj.SafeDownCast (vtkObject o)
obj.AddItem (vtkLight a)
- Add a light to the list.
vtkLight = obj.GetNextItem ()
- Get the next light in the list. NULL is returned when the collection is
exhausted.