Section: Visualization Toolkit Parallel Classes
To create an instance of class vtkPDataSetReader, simply invoke its constructor as follows
obj = vtkPDataSetReader
obj
is an instance of the vtkPDataSetReader class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkPDataSetReader = obj.NewInstance ()
vtkPDataSetReader = obj.SafeDownCast (vtkObject o)
obj.SetFileName (string )
- This file to open and read.
string = obj.GetFileName ()
- This file to open and read.
int = obj.GetDataType ()
- This is set when UpdateInformation is called.
It shows the type of the output.
int = obj.CanReadFile (string filename)
- Called to determine if the file can be read by the reader.