VTK: Rendering/OpenGL2/vtkOpenGLTextActor.h Source File

| VTK 9.3.1

vtkOpenGLTextActor.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 vtkOpenGLTextActor_h
10 #define vtkOpenGLTextActor_h
11
12 #include "vtkRenderingOpenGL2Module.h" // For export macro
13 #include "vtkTextActor.h"
14
15 VTK_ABI_NAMESPACE_BEGIN
16 class vtkOpenGLGL2PSHelper;
17
18 class VTKRENDERINGOPENGL2_EXPORT vtkOpenGLTextActor : public vtkTextActor
19 {
20 public:
21 static vtkOpenGLTextActor* New();
22 vtkTypeMacro(vtkOpenGLTextActor, vtkTextActor);
23 void PrintSelf(ostream& os, vtkIndent indent) override;
24
25 int RenderOverlay(vtkViewport* viewport) override;
26
27 protected:
28 vtkOpenGLTextActor();
29 ~vtkOpenGLTextActor() override;
30
31 int RenderGL2PS(vtkViewport* viewport, vtkOpenGLGL2PSHelper* gl2ps);
32
33 private:
34 vtkOpenGLTextActor(const vtkOpenGLTextActor&) = delete;
35 void operator=(const vtkOpenGLTextActor&) = delete;
36 };
37
38 VTK_ABI_NAMESPACE_END
39 #endif // vtkOpenGLTextActor_h
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkOpenGLGL2PSHelper
Access GL2PS functionality.
Definition: vtkOpenGLGL2PSHelper.h:33
vtkOpenGLTextActor
vtkTextActor override.
Definition: vtkOpenGLTextActor.h:19
vtkOpenGLTextActor::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkOpenGLTextActor::vtkOpenGLTextActor
vtkOpenGLTextActor()
vtkOpenGLTextActor::~vtkOpenGLTextActor
~vtkOpenGLTextActor() override
vtkOpenGLTextActor::RenderGL2PS
int RenderGL2PS(vtkViewport *viewport, vtkOpenGLGL2PSHelper *gl2ps)
vtkOpenGLTextActor::RenderOverlay
int RenderOverlay(vtkViewport *viewport) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
vtkOpenGLTextActor::New
static vtkOpenGLTextActor * New()
vtkTextActor
An actor that displays text.
Definition: vtkTextActor.h:55
vtkViewport
abstract specification for Viewports
Definition: vtkViewport.h:54
vtkTextActor.h