Section: Visualization Toolkit IO Classes
To create an instance of class vtkXMLPolyDataReader, simply invoke its constructor as follows
obj = vtkXMLPolyDataReader
obj
is an instance of the vtkXMLPolyDataReader class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkXMLPolyDataReader = obj.NewInstance ()
vtkXMLPolyDataReader = obj.SafeDownCast (vtkObject o)
vtkPolyData = obj.GetOutput ()
- Get the reader's output.
vtkPolyData = obj.GetOutput (int idx)
- Get the reader's output.
vtkIdType = obj.GetNumberOfVerts ()
- Get the number of verts/lines/strips/polys in the output.
vtkIdType = obj.GetNumberOfLines ()
- Get the number of verts/lines/strips/polys in the output.
vtkIdType = obj.GetNumberOfStrips ()
- Get the number of verts/lines/strips/polys in the output.
vtkIdType = obj.GetNumberOfPolys ()
- Get the number of verts/lines/strips/polys in the output.