VTK
vtkOpenGLBillboardTextActor3D.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOpenGLBillboardTextActor3D.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 =========================================================================*/
20 #ifndef vtkOpenGLBillboardTextActor3D_h
21 #define vtkOpenGLBillboardTextActor3D_h
22 
23 #include "vtkRenderingOpenGL2Module.h" // For export macro
25 
27 
28 class VTKRENDERINGOPENGL2_EXPORT vtkOpenGLBillboardTextActor3D :
30 {
31 public:
34  void PrintSelf(ostream &os, vtkIndent indent) override;
35 
36  int RenderTranslucentPolygonalGeometry(vtkViewport *vp) override;
37 
38 protected:
40  ~vtkOpenGLBillboardTextActor3D() override;
41 
42  int RenderGL2PS(vtkViewport *viewport, vtkOpenGLGL2PSHelper *gl2ps);
43 
44 private:
45  vtkOpenGLBillboardTextActor3D(const vtkOpenGLBillboardTextActor3D&) = delete;
46  void operator=(const vtkOpenGLBillboardTextActor3D&) = delete;
47 };
48 
49 #endif // vtkOpenGLBillboardTextActor3D_h
Handles GL2PS capture of billboard text.
abstract specification for Viewports
Definition: vtkViewport.h:47
Renders pixel-aligned text, facing the camera, anchored at a 3D point.
Access GL2PS functionality.
static vtkBillboardTextActor3D * New()
a simple class to control print indentation
Definition: vtkIndent.h:39