IO/vtkPNMReader.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00054 #ifndef __vtkPNMReader_h
00055 #define __vtkPNMReader_h
00056
00057 #include "vtkImageReader.h"
00058
00059 class VTK_IO_EXPORT vtkPNMReader : public vtkImageReader
00060 {
00061 public:
00062 static vtkPNMReader *New();
00063 vtkTypeRevisionMacro(vtkPNMReader,vtkImageReader);
00064 virtual void PrintSelf(ostream& os, vtkIndent indent);
00065
00066 int CanReadFile(const char* fname);
00068
00069 virtual const char* GetFileExensions()
00070 {
00071 return ".pnm .pgm .ppm";
00072 }
00074
00076
00077 virtual const char* GetDescriptiveName()
00078 {
00079 return "PNM";
00080 }
00082
00083 protected:
00084 vtkPNMReader() {};
00085 ~vtkPNMReader() {};
00086 void ExecuteInformation();
00087 private:
00088 vtkPNMReader(const vtkPNMReader&);
00089 void operator=(const vtkPNMReader&);
00090 };
00091
00092 #endif
00093
00094