IO/vtkPNMWriter.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00040 #ifndef __vtkPNMWriter_h
00041 #define __vtkPNMWriter_h
00042
00043 #include "vtkImageWriter.h"
00044
00045 class VTK_IO_EXPORT vtkPNMWriter : public vtkImageWriter
00046 {
00047 public:
00048 static vtkPNMWriter *New();
00049 vtkTypeRevisionMacro(vtkPNMWriter,vtkImageWriter);
00050 virtual void PrintSelf(ostream& os, vtkIndent indent);
00051
00052 protected:
00053 vtkPNMWriter() {};
00054 ~vtkPNMWriter() {};
00055
00056 virtual void WriteFile(ofstream *file, vtkImageData *data, int extent[6]);
00057 virtual void WriteFileHeader(ofstream *, vtkImageData *);
00058 private:
00059 vtkPNMWriter(const vtkPNMWriter&);
00060 void operator=(const vtkPNMWriter&);
00061 };
00062
00063 #endif
00064
00065