VTK  9.3.0
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:
23  void PrintSelf(ostream& os, vtkIndent indent) override;
24 
25  void RenderOverlay(vtkViewport* vp, vtkActor2D* act) override;
26 
27 protected:
30 
32 
33 private:
35  void operator=(const vtkOpenGLTextMapper&) = delete;
36 };
37 
38 VTK_ABI_NAMESPACE_END
39 #endif // vtkOpenGLTextMapper_h
a actor that draws 2D data
Definition: vtkActor2D.h:44
a simple class to control print indentation
Definition: vtkIndent.h:38
Access GL2PS functionality.
vtkTextMapper override for OpenGL2.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkOpenGLTextMapper * New()
void RenderGL2PS(vtkViewport *vp, vtkActor2D *act, vtkOpenGLGL2PSHelper *gl2ps)
~vtkOpenGLTextMapper() override
void RenderOverlay(vtkViewport *vp, vtkActor2D *act) override
2D text annotation
Definition: vtkTextMapper.h:49
abstract specification for Viewports
Definition: vtkViewport.h:54