Section: Visualization Toolkit Filtering Classes
To create an instance of class vtkPolyDataSource, simply invoke its constructor as follows
obj = vtkPolyDataSource
obj
is an instance of the vtkPolyDataSource class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkPolyDataSource = obj.NewInstance ()
vtkPolyDataSource = obj.SafeDownCast (vtkObject o)
vtkPolyData = obj.GetOutput ()
- Get the output of this source.
vtkPolyData = obj.GetOutput (int idx)
- Get the output of this source.
obj.SetOutput (vtkPolyData output)
- Get the output of this source.