Section: Visualization Toolkit IO Classes
To create an instance of class vtkPNGReader, simply invoke its constructor as follows
obj = vtkPNGReader
obj
is an instance of the vtkPNGReader class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkPNGReader = obj.NewInstance ()
vtkPNGReader = obj.SafeDownCast (vtkObject o)
int = obj.CanReadFile (string fname)
- Is the given file a PNG file?
string = obj.GetFileExtensions ()
- Return a descriptive name for the file format that might be useful in a GUI.
string = obj.GetDescriptiveName ()