VTK  9.0.1
vtkOpenGLGL2PSExporter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOpenGLGL2PSExporter.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 =========================================================================*/
15 
24 #ifndef vtkOpenGLGL2PSExporter_h
25 #define vtkOpenGLGL2PSExporter_h
26 
27 #include "vtkGL2PSExporter.h"
28 #include "vtkIOExportGL2PSModule.h" // For export macro
29 
30 class vtkImageData;
31 
32 class VTKIOEXPORTGL2PS_EXPORT vtkOpenGLGL2PSExporter : public vtkGL2PSExporter
33 {
34 public:
35  static vtkOpenGLGL2PSExporter* New();
37  void PrintSelf(ostream& os, vtkIndent indent) override;
38 
39 protected:
41  ~vtkOpenGLGL2PSExporter() override;
42 
43  void WriteData() override;
44 
45  bool RasterizeBackground(vtkImageData* image);
46  bool CaptureVectorProps();
47 
48 private:
50  void operator=(const vtkOpenGLGL2PSExporter&) = delete;
51 };
52 
53 #endif // vtkOpenGLGL2PSExporter_h
vtkGL2PSExporter::New
static vtkGL2PSExporter * New()
vtkOpenGLGL2PSExporter
OpenGL2 implementation of GL2PS exporter.
Definition: vtkOpenGLGL2PSExporter.h:32
vtkGL2PSExporter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkX3D::image
@ image
Definition: vtkX3D.h:380
vtkGL2PSExporter
export a scene as a PostScript file using GL2PS.
Definition: vtkGL2PSExporter.h:87
vtkExporter::WriteData
virtual void WriteData()=0
vtkGL2PSExporter.h
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:41
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33