VTK  9.0.20201128
vtkOpenGLTextActor.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOpenGLTextActor.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 
21 #ifndef vtkOpenGLTextActor_h
22 #define vtkOpenGLTextActor_h
23 
24 #include "vtkRenderingOpenGL2Module.h" // For export macro
25 #include "vtkTextActor.h"
26 
28 
29 class VTKRENDERINGOPENGL2_EXPORT vtkOpenGLTextActor : public vtkTextActor
30 {
31 public:
32  static vtkOpenGLTextActor* New();
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35 
36  int RenderOverlay(vtkViewport* viewport) override;
37 
38 protected:
40  ~vtkOpenGLTextActor() override;
41 
42  int RenderGL2PS(vtkViewport* viewport, vtkOpenGLGL2PSHelper* gl2ps);
43 
44 private:
45  vtkOpenGLTextActor(const vtkOpenGLTextActor&) = delete;
46  void operator=(const vtkOpenGLTextActor&) = delete;
47 };
48 
49 #endif // vtkOpenGLTextActor_h
vtkTextActor.h
vtkTextActor::New
static vtkTextActor * New()
Instantiate object with a rectangle in normaled view coordinates of (0.2,0.85, 0.8,...
vtkTextActor::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTextActor::RenderOverlay
int RenderOverlay(vtkViewport *viewport) override
Support the standard render methods.
vtkTextActor
An actor that displays text. Scaled or unscaled.
Definition: vtkTextActor.h:50
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkViewport
abstract specification for Viewports
Definition: vtkViewport.h:44
vtkOpenGLGL2PSHelper
Access GL2PS functionality.
Definition: vtkOpenGLGL2PSHelper.h:43
vtkOpenGLTextActor
vtkTextActor override.
Definition: vtkOpenGLTextActor.h:29