VTK
vtkOpenGLTextActor3D.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOpenGLTextActor3D.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 vtkOpenGLTextActor3D_h
22 #define vtkOpenGLTextActor3D_h
23 
24 #include "vtkRenderingOpenGL2Module.h" // For export macro
25 #include "vtkTextActor3D.h"
26 
28 
29 class VTKRENDERINGOPENGL2_EXPORT vtkOpenGLTextActor3D: public vtkTextActor3D
30 {
31 public:
32  static vtkOpenGLTextActor3D* New();
34  void PrintSelf(ostream &os, vtkIndent indent) override;
35 
36  int RenderTranslucentPolygonalGeometry(vtkViewport* viewport) override;
37 
38 protected:
40  ~vtkOpenGLTextActor3D() override;
41 
42  int RenderGL2PS(vtkViewport *vp, vtkOpenGLGL2PSHelper *gl2ps);
43 
44 private:
45  vtkOpenGLTextActor3D(const vtkOpenGLTextActor3D&) = delete;
46  void operator=(const vtkOpenGLTextActor3D&) = delete;
47 };
48 
49 #endif // vtkOpenGLTextActor3D_h
abstract specification for Viewports
Definition: vtkViewport.h:47
Access GL2PS functionality.
a simple class to control print indentation
Definition: vtkIndent.h:39
An actor that displays text.
static vtkTextActor3D * New()
OpenGL2 override for vtkTextActor3D.