Section: Visualization Toolkit IO Classes
To create an instance of class vtkPolyDataWriter, simply invoke its constructor as follows
obj = vtkPolyDataWriter
obj is an instance of the vtkPolyDataWriter class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkPolyDataWriter = obj.NewInstance ()
vtkPolyDataWriter = obj.SafeDownCast (vtkObject o)
vtkPolyData = obj.GetInput () - Get the input to this writer.
vtkPolyData = obj.GetInput (int port) - Get the input to this writer.