Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

dox/IO/vtkPNMWriter.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkPNMWriter.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00029 #ifndef __vtkPNMWriter_h 00030 #define __vtkPNMWriter_h 00031 00032 #include "vtkImageWriter.h" 00033 00034 class VTK_IO_EXPORT vtkPNMWriter : public vtkImageWriter 00035 { 00036 public: 00037 static vtkPNMWriter *New(); 00038 vtkTypeRevisionMacro(vtkPNMWriter,vtkImageWriter); 00039 virtual void PrintSelf(ostream& os, vtkIndent indent); 00040 00041 protected: 00042 vtkPNMWriter() {}; 00043 ~vtkPNMWriter() {}; 00044 00045 virtual void WriteFile(ofstream *file, vtkImageData *data, int extent[6]); 00046 virtual void WriteFileHeader(ofstream *, vtkImageData *); 00047 private: 00048 vtkPNMWriter(const vtkPNMWriter&); // Not implemented. 00049 void operator=(const vtkPNMWriter&); // Not implemented. 00050 }; 00051 00052 #endif 00053 00054