VTK  9.3.1
vtkOpenGLTextMapper.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 
9 #ifndef vtkOpenGLTextMapper_h
10 #define vtkOpenGLTextMapper_h
11 
12 #include "vtkRenderingOpenGL2Module.h" // For export macro
13 #include "vtkTextMapper.h"
14 
15 VTK_ABI_NAMESPACE_BEGIN
17 
18 class VTKRENDERINGOPENGL2_EXPORT vtkOpenGLTextMapper : public vtkTextMapper
19 {
20 public:
21  static vtkOpenGLTextMapper* New();
23  void PrintSelf(ostream& os, vtkIndent indent) override;
24 
25  void RenderOverlay(vtkViewport* vp, vtkActor2D* act) override;
26 
27 protected:
29  ~vtkOpenGLTextMapper() override;
30 
31  void RenderGL2PS(vtkViewport* vp, vtkActor2D* act, vtkOpenGLGL2PSHelper* gl2ps);
32 
33 private:
35  void operator=(const vtkOpenGLTextMapper&) = delete;
36 };
37 
38 VTK_ABI_NAMESPACE_END
39 #endif // vtkOpenGLTextMapper_h
static vtkTextMapper * New()
Creates a new text mapper.
abstract specification for Viewports
Definition: vtkViewport.h:44
void RenderOverlay(vtkViewport *, vtkActor2D *) override
a actor that draws 2D data
Definition: vtkActor2D.h:34
Access GL2PS functionality.
vtkTextMapper override for OpenGL2.
2D text annotation
Definition: vtkTextMapper.h:39
a simple class to control print indentation
Definition: vtkIndent.h:28
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.