Section: Visualization Toolkit Rendering Classes
To create an instance of class vtkActorCollection, simply invoke its constructor as follows
obj = vtkActorCollection
obj
is an instance of the vtkActorCollection class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkActorCollection = obj.NewInstance ()
vtkActorCollection = obj.SafeDownCast (vtkObject o)
obj.AddItem (vtkActor a)
- Add an actor to the list.
vtkActor = obj.GetNextActor ()
- Get the next actor in the list.
vtkActor = obj.GetLastActor ()
- Get the last actor in the list.
vtkActor = obj.GetNextItem ()
- Access routines that are provided for compatibility with previous
version of VTK. Please use the GetNextActor(), GetLastActor() variants
where possible.
vtkActor = obj.GetLastItem ()
- Access routines that are provided for compatibility with previous
version of VTK. Please use the GetNextActor(), GetLastActor() variants
where possible.
obj.ApplyProperties (vtkProperty p)
- Apply properties to all actors in this collection.