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
//BTX
35
class
FTFont;
36
//ETX
37
38
class
VTK_RENDERING_EXPORT
vtkOpenGLFreeTypeTextMapper
:
public
vtkTextMapper
39
{
40
public
:
41
vtkTypeMacro(
vtkOpenGLFreeTypeTextMapper
,
vtkTextMapper
);
42
static
vtkOpenGLFreeTypeTextMapper
*
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
vtkOpenGLFreeTypeTextMapper
();
58
~
vtkOpenGLFreeTypeTextMapper
();
59
60
vtkTimeStamp
SizeBuildTime
;
61
int
LastSize[2];
62
int
LastLargestDescender
;
63
64
private
:
65
vtkOpenGLFreeTypeTextMapper
(
const
vtkOpenGLFreeTypeTextMapper
&);
// Not implemented.
66
void
operator=(
const
vtkOpenGLFreeTypeTextMapper
&);
// Not implemented.
67
};
68
69
70
#endif
71
vtkTextMapper::GetSize
virtual void GetSize(vtkViewport *, int size[2])
Definition:
vtkTextMapper.h:55
vtkTextMapper.h
vtkOpenGLFreeTypeTextMapper::LastLargestDescender
int LastLargestDescender
Definition:
vtkOpenGLFreeTypeTextMapper.h:62
vtkTextMapper::New
static vtkTextMapper * New()
vtkMapper2D::RenderOverlay
virtual void RenderOverlay(vtkViewport *, vtkActor2D *)
Definition:
vtkMapper2D.h:39
vtkViewport
abstract specification for Viewports
Definition:
vtkViewport.h:45
vtkActor2D
a actor that draws 2D data
Definition:
vtkActor2D.h:43
vtkTimeStamp
record modification and/or execution time
Definition:
vtkTimeStamp.h:33
vtkTextMapper
2D text annotation
Definition:
vtkTextMapper.h:43
vtkWindow
window superclass for vtkRenderWindow
Definition:
vtkWindow.h:35
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:37
vtkOpenGLFreeTypeTextMapper
2D Text annotation support
Definition:
vtkOpenGLFreeTypeTextMapper.h:38
vtkX3D::size
Definition:
vtkX3D.h:253
VTK_RENDERING_EXPORT
#define VTK_RENDERING_EXPORT
Definition:
vtkWin32Header.h:278
vtkAbstractMapper::ReleaseGraphicsResources
virtual void ReleaseGraphicsResources(vtkWindow *)
Definition:
vtkAbstractMapper.h:62
vtkOpenGLFreeTypeTextMapper::SizeBuildTime
vtkTimeStamp SizeBuildTime
Definition:
vtkOpenGLFreeTypeTextMapper.h:60
vtkTextMapper::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Generated on Sun Oct 19 2014 13:07:31 for VTK by
1.8.8