Section: Visualization Toolkit IO Classes
To create an instance of class vtkXMLImageDataReader, simply invoke its constructor as follows
obj = vtkXMLImageDataReader
obj
is an instance of the vtkXMLImageDataReader class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkXMLImageDataReader = obj.NewInstance ()
vtkXMLImageDataReader = obj.SafeDownCast (vtkObject o)
vtkImageData = obj.GetOutput ()
- Get the reader's output.
vtkImageData = obj.GetOutput (int idx)
- Get the reader's output.
obj.CopyOutputInformation (vtkInformation outInfo, int port)
- For the specified port, copy the information this reader sets up in
SetupOutputInformation to outInfo