VTK  9.3.20240416
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
17 
18 class VTKRENDERINGOPENGL2_EXPORT vtkOpenGLTextActor : public vtkTextActor
19 {
20 public:
23  void PrintSelf(ostream& os, vtkIndent indent) override;
24 
25  int RenderOverlay(vtkViewport* viewport) override;
26 
27 protected:
29  ~vtkOpenGLTextActor() override;
30 
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
a simple class to control print indentation
Definition: vtkIndent.h:108
Access GL2PS functionality.
vtkTextActor override.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkOpenGLTextActor() override
int RenderGL2PS(vtkViewport *viewport, vtkOpenGLGL2PSHelper *gl2ps)
int RenderOverlay(vtkViewport *viewport) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
static vtkOpenGLTextActor * New()
An actor that displays text.
Definition: vtkTextActor.h:155
abstract specification for Viewports
Definition: vtkViewport.h:65