VTK  9.7.1
vtkOpenGLTextActor3D.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
3 
9 #ifndef vtkOpenGLTextActor3D_h
10 #define vtkOpenGLTextActor3D_h
11 
12 #include "vtkRenderingOpenGL2Module.h" // For export macro
13 #include "vtkTextActor3D.h"
14 #include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
15 
16 VTK_ABI_NAMESPACE_BEGIN
19 
20 class VTKRENDERINGOPENGL2_EXPORT VTK_MARSHALAUTO vtkOpenGLTextActor3D : public vtkTextActor3D
21 {
22 public:
23  static vtkOpenGLTextActor3D* New();
25  static vtkOverrideAttribute* CreateOverrideAttributes();
27  void PrintSelf(ostream& os, vtkIndent indent) override;
28 
29  int RenderTranslucentPolygonalGeometry(vtkViewport* viewport) override;
30 
31 protected:
33  ~vtkOpenGLTextActor3D() override;
34 
35  int RenderGL2PS(vtkViewport* vp, vtkOpenGLGL2PSHelper* gl2ps);
36 
37 private:
39  void operator=(const vtkOpenGLTextActor3D&) = delete;
40 };
41 
42 #define vtkOpenGLTextActor3D_OVERRIDE_ATTRIBUTES vtkOpenGLTextActor3D::CreateOverrideAttributes()
43 VTK_ABI_NAMESPACE_END
44 #endif // vtkOpenGLTextActor3D_h
Attribute for vtkObjectFactory overrides.
abstract specification for Viewports
Definition: vtkViewport.h:46
Access GL2PS functionality.
int RenderTranslucentPolygonalGeometry(vtkViewport *viewport) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:28
An actor that displays text.
#define VTK_NEWINSTANCE
#define VTK_MARSHALAUTO
static vtkTextActor3D * New()
OpenGL2 override for vtkTextActor3D.