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 
27 #ifndef vtkOpenGLGL2PSExporter_h
28 #define vtkOpenGLGL2PSExporter_h
29 
30 #include "vtkIOExportOpenGL2Module.h" // For export macro
31 #include "vtkGL2PSExporter.h"
32 
33 class vtkImageData;
34 
35 class VTKIOEXPORTOPENGL2_EXPORT vtkOpenGLGL2PSExporter: public vtkGL2PSExporter
36 {
37 public:
38  static vtkOpenGLGL2PSExporter *New();
40  void PrintSelf(ostream &os, vtkIndent indent) override;
41 
42 protected:
44  ~vtkOpenGLGL2PSExporter() override;
45 
46  void WriteData() override;
47 
48  bool RasterizeBackground(vtkImageData *image);
49  bool CaptureVectorProps();
50 
51 private:
53  void operator=(const vtkOpenGLGL2PSExporter &) = delete;
54 };
55 
56 #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:39
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
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.