VTK  9.3.0
vtkPostScriptWriter.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
16#ifndef vtkPostScriptWriter_h
17#define vtkPostScriptWriter_h
18
19#include "vtkIOImageModule.h" // For export macro
20#include "vtkImageWriter.h"
21
22VTK_ABI_NAMESPACE_BEGIN
23class VTKIOIMAGE_EXPORT vtkPostScriptWriter : public vtkImageWriter
24{
25public:
28 void PrintSelf(ostream& os, vtkIndent indent) override;
29
30protected:
32 ~vtkPostScriptWriter() override = default;
33
34 void WriteFile(ostream* file, vtkImageData* data, int extent[6], int wExt[6]) override;
35 void WriteFileHeader(ostream*, vtkImageData*, int wExt[6]) override;
36 void WriteFileTrailer(ostream*, vtkImageData*) override;
37
38private:
40 void operator=(const vtkPostScriptWriter&) = delete;
41};
42
43VTK_ABI_NAMESPACE_END
44#endif
topologically and geometrically regular array of data
Writes images to files.
a simple class to control print indentation
Definition vtkIndent.h:29
Writes an image as a PostScript file.
void WriteFileTrailer(ostream *, vtkImageData *) override
void WriteFile(ostream *file, vtkImageData *data, int extent[6], int wExt[6]) override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkPostScriptWriter * New()
~vtkPostScriptWriter() override=default
void WriteFileHeader(ostream *, vtkImageData *, int wExt[6]) override
vtkPostScriptWriter()=default