IO/vtkPNMWriter.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00025 #ifndef __vtkPNMWriter_h
00026 #define __vtkPNMWriter_h
00027
00028 #include "vtkImageWriter.h"
00029
00030 class VTK_IO_EXPORT vtkPNMWriter : public vtkImageWriter
00031 {
00032 public:
00033 static vtkPNMWriter *New();
00034 vtkTypeRevisionMacro(vtkPNMWriter,vtkImageWriter);
00035 virtual void PrintSelf(ostream& os, vtkIndent indent);
00036
00037 protected:
00038 vtkPNMWriter() {};
00039 ~vtkPNMWriter() {};
00040
00041 virtual void WriteFile(ofstream *file, vtkImageData *data, int extent[6]);
00042 virtual void WriteFileHeader(ofstream *, vtkImageData *);
00043 private:
00044 vtkPNMWriter(const vtkPNMWriter&);
00045 void operator=(const vtkPNMWriter&);
00046 };
00047
00048 #endif
00049
00050