VTK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
home
demarle
Source
VTK
release
8.2
build
Utilities
Doxygen
dox
Rendering
OpenGL2
vtkOpenGLTextMapper.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkOpenGLTextMapper.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 vtkOpenGLTextMapper_h
22
#define vtkOpenGLTextMapper_h
23
24
#include "vtkRenderingOpenGL2Module.h"
// For export macro
25
#include "
vtkTextMapper.h
"
26
27
class
vtkOpenGLGL2PSHelper
;
28
29
class
VTKRENDERINGOPENGL2_EXPORT
vtkOpenGLTextMapper
:
public
vtkTextMapper
30
{
31
public
:
32
static
vtkOpenGLTextMapper
*
New
();
33
vtkTypeMacro(
vtkOpenGLTextMapper
,
vtkTextMapper
)
34
void PrintSelf(ostream &os,
vtkIndent
indent) override;
35
36
void
RenderOverlay(
vtkViewport
*vp,
vtkActor2D
*act) override;
37
38
protected:
39
vtkOpenGLTextMapper
();
40
~vtkOpenGLTextMapper() override;
41
42
void
RenderGL2PS(
vtkViewport
*vp,
vtkActor2D
*act,
43
vtkOpenGLGL2PSHelper
*gl2ps);
44
45
private:
46
vtkOpenGLTextMapper(const vtkOpenGLTextMapper&) = delete;
47
void
operator=(const vtkOpenGLTextMapper&) = delete;
48
};
49
50
#endif // vtkOpenGLTextMapper_h
vtkTextMapper.h
vtkTextMapper::New
static vtkTextMapper * New()
Creates a new text mapper.
vtkViewport
abstract specification for Viewports
Definition:
vtkViewport.h:47
vtkActor2D
a actor that draws 2D data
Definition:
vtkActor2D.h:45
vtkOpenGLGL2PSHelper
Access GL2PS functionality.
Definition:
vtkOpenGLGL2PSHelper.h:43
vtkOpenGLTextMapper
vtkTextMapper override for OpenGL2.
Definition:
vtkOpenGLTextMapper.h:29
vtkTextMapper
2D text annotation
Definition:
vtkTextMapper.h:53
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
Generated by
1.8.11