VTK  9.4.20241218
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
35#ifndef vtkPostScriptWriter_h
36#define vtkPostScriptWriter_h
37
38#include "vtkIOImageModule.h" // For export macro
39#include "vtkImageWriter.h"
40
41VTK_ABI_NAMESPACE_BEGIN
42class VTKIOIMAGE_EXPORT vtkPostScriptWriter : public vtkImageWriter
43{
44public:
47 void PrintSelf(ostream& os, vtkIndent indent) override;
48
49protected:
51 ~vtkPostScriptWriter() override = default;
52
53 void WriteFile(ostream* file, vtkImageData* data, int extent[6], int wExt[6]) override;
54 void WriteFileHeader(ostream*, vtkImageData*, int wExt[6]) override;
55 void WriteFileTrailer(ostream*, vtkImageData*) override;
56
57private:
59 void operator=(const vtkPostScriptWriter&) = delete;
60};
61
62VTK_ABI_NAMESPACE_END
63#endif
topologically and geometrically regular array of data
Writes images to files.
a simple class to control print indentation
Definition vtkIndent.h:108
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