dox/IO/vtkJPEGReader.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00032
#ifndef __vtkJPEGReader_h
00033
#define __vtkJPEGReader_h
00034
00035
#include "vtkImageReader2.h"
00036
00037 class VTK_IO_EXPORT vtkJPEGReader :
public vtkImageReader2
00038 {
00039
public:
00040
static vtkJPEGReader *
New();
00041 vtkTypeRevisionMacro(vtkJPEGReader,
vtkImageReader2);
00042
virtual void PrintSelf(ostream& os,
vtkIndent indent);
00043
00045
int CanReadFile(
const char* fname);
00046
00048
00050 virtual const char*
GetFileExensions()
00051 {
00052
return ".jpeg .jpg";
00053 }
00055
00057
00059 virtual const char*
GetDescriptiveName()
00060 {
00061
return "JPEG";
00062 }
00064
protected:
00065 vtkJPEGReader() {};
00066 ~vtkJPEGReader() {};
00067
00068
virtual void ExecuteInformation();
00069
virtual void ExecuteData(
vtkDataObject *out);
00070
private:
00071 vtkJPEGReader(
const vtkJPEGReader&);
00072
void operator=(
const vtkJPEGReader&);
00073 };
00074
#endif
00075
00076