VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
FreeTypeOpenGL
vtkOpenGLFreeTypeTextMapper.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkOpenGLFreeTypeTextMapper.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
=========================================================================*/
29
#ifndef __vtkOpenGLFreeTypeTextMapper_h
30
#define __vtkOpenGLFreeTypeTextMapper_h
31
32
#include "vtkRenderingFreeTypeOpenGLModule.h"
// For export macro
33
#include "
vtkTextMapper.h
"
34
35
class
VTKRENDERINGFREETYPEOPENGL_EXPORT
vtkOpenGLFreeTypeTextMapper
36
:
public
vtkTextMapper
37
{
38
public
:
39
vtkTypeMacro(
vtkOpenGLFreeTypeTextMapper
,
vtkTextMapper
);
40
static
vtkOpenGLFreeTypeTextMapper
*
New
();
41
virtual
void
PrintSelf
(ostream& os,
vtkIndent
indent);
42
44
void
RenderOverlay
(
vtkViewport
* viewport,
vtkActor2D
* actor);
45
49
virtual
void
ReleaseGraphicsResources
(
vtkWindow
*);
50
52
virtual
void
GetSize
(
vtkViewport
* viewport,
int
size
[2]);
53
54
protected
:
55
vtkOpenGLFreeTypeTextMapper
();
56
~
vtkOpenGLFreeTypeTextMapper
();
57
58
vtkTimeStamp
SizeBuildTime
;
59
int
LastSize[2];
60
int
LastLargestDescender
;
61
62
private
:
63
vtkOpenGLFreeTypeTextMapper
(
const
vtkOpenGLFreeTypeTextMapper
&);
// Not implemented.
64
void
operator=(
const
vtkOpenGLFreeTypeTextMapper
&);
// Not implemented.
65
};
66
67
#endif
Generated on Thu May 24 2012 22:22:35 for VTK by
1.8.1