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