VTK
vtkOpenGLTextActor.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOpenGLTextActor.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 vtkOpenGLTextActor_h
22 #define vtkOpenGLTextActor_h
23 
24 #include "vtkRenderingOpenGL2Module.h" // For export macro
25 #include "vtkTextActor.h"
26 
28 
29 class VTKRENDERINGOPENGL2_EXPORT vtkOpenGLTextActor: public vtkTextActor
30 {
31 public:
32  static vtkOpenGLTextActor* New();
34  virtual void PrintSelf(ostream &os, vtkIndent indent);
35 
36  virtual int RenderOverlay(vtkViewport* viewport);
37 
38 protected:
40  ~vtkOpenGLTextActor();
41 
42  int RenderGL2PS(vtkViewport *viewport, vtkOpenGLGL2PSHelper *gl2ps);
43 
44 private:
45  vtkOpenGLTextActor(const vtkOpenGLTextActor&) VTK_DELETE_FUNCTION;
46  void operator=(const vtkOpenGLTextActor&) VTK_DELETE_FUNCTION;
47 };
48 
49 #endif // vtkOpenGLTextActor_h
abstract specification for Viewports
Definition: vtkViewport.h:47
vtkTextActor override.
Helper functionality for GL2PS exporting.
An actor that displays text.
Definition: vtkTextActor.h:56
a simple class to control print indentation
Definition: vtkIndent.h:39
static vtkTextActor * New()
Instantiate object with a rectangle in normaled view coordinates of (0.2,0.85, 0.8, 0.95).