VTK
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
abstract specification for Viewports
Definition: vtkViewport.h:47
vtkTextActor override.
Access GL2PS functionality.
An actor that displays text.
Definition: vtkTextActor.h:56
a simple class to control print indentation
Definition: vtkIndent.h:39
static vtkTextActor * New()
Instantiate object with a rectangle in normaled view coordinates of (0.2,0.85, 0.8, 0.95).