Section: Visualization Toolkit IO Classes
To create an instance of class vtkXMLUnstructuredDataReader, simply invoke its constructor as follows
obj = vtkXMLUnstructuredDataReader
obj
is an instance of the vtkXMLUnstructuredDataReader class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkXMLUnstructuredDataReader = obj.NewInstance ()
vtkXMLUnstructuredDataReader = obj.SafeDownCast (vtkObject o)
vtkIdType = obj.GetNumberOfPoints ()
- Get the number of points in the output.
vtkIdType = obj.GetNumberOfCells ()
- Get the number of cells in the output.
obj.SetupUpdateExtent (int piece, int numberOfPieces, int ghostLevel)
- Setup the reader as if the given update extent were requested by
its output. This can be used after an UpdateInformation to
validate GetNumberOfPoints() and GetNumberOfCells() without
actually reading data.
obj.CopyOutputInformation (vtkInformation outInfo, int port)