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

vtkPNMWriter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkPNMWriter.h,v $
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
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&);  // Not implemented.
00045   void operator=(const vtkPNMWriter&);  // Not implemented.
00046 };
00047 
00048 #endif
00049 
00050 

Generated on Mon Jan 21 23:07:31 2008 for VTK by  doxygen 1.4.3-20050530