VTK
vtkPNMWriter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPNMWriter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
25 #ifndef __vtkPNMWriter_h
26 #define __vtkPNMWriter_h
27 
28 #include "vtkImageWriter.h"
29 
31 {
32 public:
33  static vtkPNMWriter *New();
35  virtual void PrintSelf(ostream& os, vtkIndent indent);
36 
37 protected:
40 
41  virtual void WriteFile(ofstream *file, vtkImageData *data, int extent[6]);
42  virtual void WriteFileHeader(ofstream *, vtkImageData *);
43 private:
44  vtkPNMWriter(const vtkPNMWriter&); // Not implemented.
45  void operator=(const vtkPNMWriter&); // Not implemented.
46 };
47 
48 #endif
49 
50