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