VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
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 "
vtkTextMapper.h
"
33
34
//#include <FTGL.h>
35
//
36
//#ifdef FTGL_USE_NAMESPACE
37
//namespace ftgl
38
//{
39
//#endif
40
//BTX
41
//class FTFont;
42
//ETX
43
//#ifdef FTGL_USE_NAMESPACE
44
//}
45
//#endif
46
47
class
VTK_RENDERING_EXPORT
vtkOpenGLFreeTypeTextMapper
:
public
vtkTextMapper
48
{
49
public
:
50
vtkTypeMacro(
vtkOpenGLFreeTypeTextMapper
,
vtkTextMapper
);
51
static
vtkOpenGLFreeTypeTextMapper
*
New
();
52
virtual
void
PrintSelf
(ostream& os,
vtkIndent
indent);
53
55
void
RenderOverlay
(
vtkViewport
* viewport,
vtkActor2D
* actor);
56
60
virtual
void
ReleaseGraphicsResources
(
vtkWindow
*);
61
63
virtual
void
GetSize
(
vtkViewport
* viewport,
int
size
[2]);
64
65
protected
:
66
vtkOpenGLFreeTypeTextMapper
();
67
~
vtkOpenGLFreeTypeTextMapper
();
68
69
vtkTimeStamp
SizeBuildTime
;
70
int
LastSize[2];
71
int
LastLargestDescender
;
72
73
private
:
74
vtkOpenGLFreeTypeTextMapper
(
const
vtkOpenGLFreeTypeTextMapper
&);
// Not implemented.
75
void
operator=(
const
vtkOpenGLFreeTypeTextMapper
&);
// Not implemented.
76
};
77
78
79
#endif
80
Generated on Tue Jan 8 2013 05:45:38 for VTK by
1.8.1.2