VTK
vtkPostScriptWriter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPostScriptWriter.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 =========================================================================*/
27 #ifndef __vtkPostScriptWriter_h
28 #define __vtkPostScriptWriter_h
29 
30 #include "vtkImageWriter.h"
31 
33 {
34 public:
35  static vtkPostScriptWriter *New();
37  virtual void PrintSelf(ostream& os, vtkIndent indent);
38 
39 protected:
42 
43  virtual void WriteFile(ofstream *file, vtkImageData *data, int extent[6]);
44  virtual void WriteFileHeader(ofstream *, vtkImageData *);
45  virtual void WriteFileTrailer(ofstream *, vtkImageData *);
46 private:
47  vtkPostScriptWriter(const vtkPostScriptWriter&); // Not implemented.
48  void operator=(const vtkPostScriptWriter&); // Not implemented.
49 };
50 
51 #endif
52 
53 
virtual void WriteFileTrailer(ofstream *, vtkImageData *)
a simple class to control print indentation
Definition: vtkIndent.h:37
topologically and geometrically regular array of data
Definition: vtkImageData.h:43
Writes images to files.
static vtkImageWriter * New()
Writes an image as a PostScript file.
void PrintSelf(ostream &os, vtkIndent indent)
virtual void WriteFileHeader(ofstream *, vtkImageData *)
virtual void WriteFile(ofstream *file, vtkImageData *data, int extent[6])
#define VTK_IO_EXPORT