VTK
vtkBMPWriter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkBMPWriter.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 =========================================================================*/
28 #ifndef __vtkBMPWriter_h
29 #define __vtkBMPWriter_h
30 
31 #include "vtkIOImageModule.h" // For export macro
32 #include "vtkImageWriter.h"
33 
34 class VTKIOIMAGE_EXPORT vtkBMPWriter : public vtkImageWriter
35 {
36 public:
37  static vtkBMPWriter *New();
39  virtual void PrintSelf(ostream& os, vtkIndent indent);
40 
41 protected:
42  vtkBMPWriter();
44 
45  virtual void WriteFile(ofstream *file, vtkImageData *data, int ext[6], int wExt[6]);
46  virtual void WriteFileHeader(ofstream *, vtkImageData *, int wExt[6]);
47 private:
48  vtkBMPWriter(const vtkBMPWriter&); // Not implemented.
49  void operator=(const vtkBMPWriter&); // Not implemented.
50 };
51 
52 #endif
53 
54