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
28class VTKRENDERINGOPENGL2_EXPORT vtkOpenGLBillboardTextActor3D :
30{
31public:
34 void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE;
35
36 virtual int RenderTranslucentPolygonalGeometry(vtkViewport *vp);
37
38protected:
41
42 int RenderGL2PS(vtkViewport *viewport, vtkOpenGLGL2PSHelper *gl2ps);
43
44private:
46 void operator=(const vtkOpenGLBillboardTextActor3D&) VTK_DELETE_FUNCTION;
47};
48
49#endif // vtkOpenGLBillboardTextActor3D_h
Renders pixel-aligned text, facing the camera, anchored at a 3D point.
a simple class to control print indentation
Definition: vtkIndent.h:40
Handles GL2PS capture of billboard text.
static vtkOpenGLBillboardTextActor3D * New()
Helper functionality for GL2PS exporting.
abstract specification for Viewports
Definition: vtkViewport.h:48