Section: Visualization Toolkit Common Classes
To create an instance of class vtkPropCollection, simply invoke its constructor as follows
obj = vtkPropCollection
obj is an instance of the vtkPropCollection class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkPropCollection = obj.NewInstance ()
vtkPropCollection = obj.SafeDownCast (vtkObject o)
obj.AddItem (vtkProp a) - Add an Prop to the list.
vtkProp = obj.GetNextProp () - Get the next Prop in the list.
vtkProp = obj.GetLastProp () - Get the last Prop in the list.
int = obj.GetNumberOfPaths () - Get the number of paths contained in this list. (Recall that a
vtkProp can consist of multiple parts.) Used in picking and other
activities to get the parts of composite entities like vtkAssembly
or vtkPropAssembly.