VTK
|
read JPEG files More...
#include <vtkJPEGReader.h>
Public Types | |
typedef vtkImageReader2 | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkJPEGReader * | NewInstance () const |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
int | CanReadFile (const char *fname) |
virtual const char * | GetFileExtensions () |
Static Public Member Functions | |
static vtkJPEGReader * | New () |
static int | IsTypeOf (const char *type) |
static vtkJPEGReader * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
virtual void | ExecuteInformation () |
virtual void | ExecuteDataWithInformation (vtkDataObject *out, vtkInformation *outInfo) |
virtual const char * | GetDescriptiveName () |
vtkJPEGReader () | |
~vtkJPEGReader () |
read JPEG files
vtkJPEGReader is a source object that reads JPEG files. The reader can also read an image from a memory buffer, see vtkImageReader2::MemoryBuffer. It should be able to read most any JPEG file.
Definition at line 39 of file vtkJPEGReader.h.
Reimplemented from vtkImageReader2.
Definition at line 43 of file vtkJPEGReader.h.
vtkJPEGReader::vtkJPEGReader | ( | ) | [inline, protected] |
Return a descriptive name for the file format that might be useful in a GUI.
Definition at line 66 of file vtkJPEGReader.h.
vtkJPEGReader::~vtkJPEGReader | ( | ) | [inline, protected] |
Return a descriptive name for the file format that might be useful in a GUI.
Definition at line 67 of file vtkJPEGReader.h.
static vtkJPEGReader* vtkJPEGReader::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkImageReader2.
static int vtkJPEGReader::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkImageReader2.
virtual int vtkJPEGReader::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkImageReader2.
static vtkJPEGReader* vtkJPEGReader::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkImageReader2.
virtual vtkObjectBase* vtkJPEGReader::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkImageReader2.
vtkJPEGReader* vtkJPEGReader::NewInstance | ( | ) | const |
Reimplemented from vtkImageReader2.
virtual void vtkJPEGReader::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkImageReader2.
int vtkJPEGReader::CanReadFile | ( | const char * | fname | ) |
Is the given file a JPEG file?
virtual const char* vtkJPEGReader::GetFileExtensions | ( | ) | [inline, virtual] |
Get the file extensions for this format. Returns a string with a space separated list of extensions in the format .extension
Reimplemented from vtkImageReader2.
Definition at line 52 of file vtkJPEGReader.h.
virtual const char* vtkJPEGReader::GetDescriptiveName | ( | ) | [inline, virtual] |
Return a descriptive name for the file format that might be useful in a GUI.
Reimplemented from vtkImageReader2.
Definition at line 61 of file vtkJPEGReader.h.
virtual void vtkJPEGReader::ExecuteInformation | ( | ) | [protected, virtual] |
Reimplemented from vtkImageReader2.
virtual void vtkJPEGReader::ExecuteDataWithInformation | ( | vtkDataObject * | output, |
vtkInformation * | outInfo | ||
) | [protected, virtual] |
This is a convenience method that is implemented in many subclasses instead of RequestData. It is called by RequestData.
Reimplemented from vtkImageReader2.