VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkJPEGReader Class Reference

read JPEG files More...

#include <vtkJPEGReader.h>

Inheritance diagram for vtkJPEGReader:
Inheritance graph
[legend]
Collaboration diagram for vtkJPEGReader:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkImageReader2 Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkJPEGReaderNewInstance () const
virtual void PrintSelf (ostream &os, vtkIndent indent)
int CanReadFile (const char *fname)
virtual const char * GetFileExtensions ()

Static Public Member Functions

static vtkJPEGReaderNew ()
static int IsTypeOf (const char *type)
static vtkJPEGReaderSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
virtual void ExecuteInformation ()
virtual void ExecuteDataWithInformation (vtkDataObject *out, vtkInformation *outInfo)
virtual const char * GetDescriptiveName ()
 vtkJPEGReader ()
 ~vtkJPEGReader ()

Detailed Description

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.

See also:
vtkJPEGWriter
Examples:
vtkJPEGReader (Examples)
Tests:
vtkJPEGReader (Tests)

Definition at line 39 of file vtkJPEGReader.h.


Member Typedef Documentation

Reimplemented from vtkImageReader2.

Definition at line 43 of file vtkJPEGReader.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

Reimplemented from vtkImageReader2.

virtual vtkObjectBase* vtkJPEGReader::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkImageReader2.

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.


The documentation for this class was generated from the following file: