VTK
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 "vtkIOExportOpenGL2Module.h" // For export macro
28 #include "vtkGL2PSExporter.h"
29 
30 class vtkImageData;
31 
32 class VTKIOEXPORTOPENGL2_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:
49  vtkOpenGLGL2PSExporter(const vtkOpenGLGL2PSExporter &) = delete;
50  void operator=(const vtkOpenGLGL2PSExporter &) = delete;
51 };
52 
53 #endif // vtkOpenGLGL2PSExporter_h
export a scene as a PostScript file using GL2PS.
a simple class to control print indentation
Definition: vtkIndent.h:39
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
OpenGL2 implementation of GL2PS exporter.
static vtkGL2PSExporter * New()