VTK  9.7.1
vtkOpenGLBillboardTextActor3D.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
8 #ifndef vtkOpenGLBillboardTextActor3D_h
9 #define vtkOpenGLBillboardTextActor3D_h
10 
12 #include "vtkRenderingOpenGL2Module.h" // For export macro
13 
14 VTK_ABI_NAMESPACE_BEGIN
17 class VTKRENDERINGOPENGL2_EXPORT vtkOpenGLBillboardTextActor3D : public vtkBillboardTextActor3D
18 {
19 public:
22  static vtkOverrideAttribute* CreateOverrideAttributes();
24  void PrintSelf(ostream& os, vtkIndent indent) override;
25 
27 
28 protected:
31 
32  int RenderGL2PS(vtkViewport* viewport, vtkOpenGLGL2PSHelper* gl2ps);
33 
34 private:
36  void operator=(const vtkOpenGLBillboardTextActor3D&) = delete;
37 };
38 
39 #define vtkOpenGLBillboardTextActor3D_OVERRIDE_ATTRIBUTES \
40  vtkOpenGLBillboardTextActor3D::CreateOverrideAttributes()
41 VTK_ABI_NAMESPACE_END
42 #endif // vtkOpenGLBillboardTextActor3D_h
Attribute for vtkObjectFactory overrides.
Handles GL2PS capture of billboard text.
abstract specification for Viewports
Definition: vtkViewport.h:46
Renders pixel-aligned text, facing the camera, anchored at a 3D point.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Access GL2PS functionality.
static vtkBillboardTextActor3D * New()
a simple class to control print indentation
Definition: vtkIndent.h:28
#define VTK_NEWINSTANCE
int RenderTranslucentPolygonalGeometry(vtkViewport *vp) override
Just render in translucent pass, since it can execute multiple times (depth peeling, for instance).