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