Section: Visualization Toolkit Infovis Classes
To create an instance of class vtkPruneTreeFilter, simply invoke its constructor as follows
obj = vtkPruneTreeFilter
obj is an instance of the vtkPruneTreeFilter class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkPruneTreeFilter = obj.NewInstance ()
vtkPruneTreeFilter = obj.SafeDownCast (vtkObject o)
vtkIdType = obj.GetParentVertex () - Set the parent vertex of the subtree to remove.
obj.SetParentVertex (vtkIdType ) - Set the parent vertex of the subtree to remove.