VTK  9.3.1
vtkOpenGLGL2PSExporter.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
3 
12 #ifndef vtkOpenGLGL2PSExporter_h
13 #define vtkOpenGLGL2PSExporter_h
14 
15 #include "vtkGL2PSExporter.h"
16 #include "vtkIOExportGL2PSModule.h" // For export macro
17 
18 VTK_ABI_NAMESPACE_BEGIN
19 class vtkImageData;
20 
21 class VTKIOEXPORTGL2PS_EXPORT vtkOpenGLGL2PSExporter : public vtkGL2PSExporter
22 {
23 public:
24  static vtkOpenGLGL2PSExporter* New();
26  void PrintSelf(ostream& os, vtkIndent indent) override;
27 
28 protected:
30  ~vtkOpenGLGL2PSExporter() override;
31 
32  void WriteData() override;
33 
34  bool RasterizeBackground(vtkImageData* image);
35  bool CaptureVectorProps();
36 
37 private:
39  void operator=(const vtkOpenGLGL2PSExporter&) = delete;
40 };
41 
42 VTK_ABI_NAMESPACE_END
43 #endif // vtkOpenGLGL2PSExporter_h
export a scene as a PostScript file using GL2PS.
virtual void WriteData()=0
a simple class to control print indentation
Definition: vtkIndent.h:28
topologically and geometrically regular array of data
Definition: vtkImageData.h:42
OpenGL2 implementation of GL2PS exporter.
static vtkGL2PSExporter * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.