vtkPNMReader.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00041 #ifndef __vtkPNMReader_h
00042 #define __vtkPNMReader_h
00043
00044 #include "vtkImageReader.h"
00045
00046 class VTK_IO_EXPORT vtkPNMReader : public vtkImageReader
00047 {
00048 public:
00049 static vtkPNMReader *New();
00050 vtkTypeRevisionMacro(vtkPNMReader,vtkImageReader);
00051 virtual void PrintSelf(ostream& os, vtkIndent indent);
00052
00053 int CanReadFile(const char* fname);
00055
00056 virtual const char* GetFileExensions()
00057 {
00058 return ".pnm .pgm .ppm";
00059 }
00061
00063
00064 virtual const char* GetDescriptiveName()
00065 {
00066 return "PNM";
00067 }
00069
00070 protected:
00071 vtkPNMReader() {};
00072 ~vtkPNMReader() {};
00073 void ExecuteInformation();
00074 private:
00075 vtkPNMReader(const vtkPNMReader&);
00076 void operator=(const vtkPNMReader&);
00077 };
00078
00079 #endif
00080
00081