VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
vtkMesaFreeTypeTextMapper.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkMesaFreeTypeTextMapper.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 __vtkMesaFreeTypeTextMapper_h
30
#define __vtkMesaFreeTypeTextMapper_h
31
32
#include "
vtkTextMapper.h
"
33
34
//BTX
35
class
FTFont;
36
//ETX
37
38
class
VTK_RENDERING_EXPORT
vtkMesaFreeTypeTextMapper
:
public
vtkTextMapper
39
{
40
public
:
41
vtkTypeMacro(
vtkMesaFreeTypeTextMapper
,
vtkTextMapper
);
42
static
vtkMesaFreeTypeTextMapper
*
New
();
43
virtual
void
PrintSelf
(ostream& os,
vtkIndent
indent);
44
46
void
RenderOverlay
(
vtkViewport
* viewport,
vtkActor2D
* actor);
47
51
virtual
void
ReleaseGraphicsResources
(
vtkWindow
*);
52
54
virtual
void
GetSize
(
vtkViewport
* viewport,
int
size
[2]);
55
56
protected
:
57
vtkMesaFreeTypeTextMapper
();
58
~
vtkMesaFreeTypeTextMapper
();
59
60
vtkTimeStamp
SizeBuildTime
;
61
int
LastSize[2];
62
int
LastLargestDescender
;
63
64
private
:
65
vtkMesaFreeTypeTextMapper
(
const
vtkMesaFreeTypeTextMapper
&);
// Not implemented.
66
void
operator=(
const
vtkMesaFreeTypeTextMapper
&);
// Not implemented.
67
};
68
69
#endif
Generated on Thu Mar 13 2014 08:10:32 for VTK by
1.8.1.2