VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
FreeType
vtkFreeTypeStringToImage.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkFreeTypeStringToImage.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
26
#ifndef __vtkFreeTypeStringToImage_h
27
#define __vtkFreeTypeStringToImage_h
28
29
#include "vtkRenderingFreeTypeModule.h"
// For export macro
30
#include "
vtkStringToImage.h
"
31
#include "
vtkSmartPointer.h
"
// For SP ivars
32
33
class
VTKRENDERINGFREETYPE_EXPORT
vtkFreeTypeStringToImage
:
public
vtkStringToImage
34
{
35
public
:
36
vtkTypeMacro(
vtkFreeTypeStringToImage
,
vtkStringToImage
);
37
virtual
void
PrintSelf
(ostream &os,
vtkIndent
indent);
38
39
static
vtkFreeTypeStringToImage
*
New
();
40
42
51
virtual
vtkVector2i
GetBounds
(
vtkTextProperty
*property,
52
const
vtkUnicodeString
&
string
);
53
virtual
vtkVector2i
GetBounds
(
vtkTextProperty
*property,
54
const
vtkStdString
&
string
);
56
58
60
virtual
int
RenderString
(
vtkTextProperty
*property,
61
const
vtkUnicodeString
&
string
,
62
vtkImageData
*
data
);
63
virtual
int
RenderString
(
vtkTextProperty
*property,
64
const
vtkStdString
&
string
,
65
vtkImageData
*
data
);
67
70
virtual
void
SetScaleToPowerOfTwo
(
bool
scale
);
71
73
void
DeepCopy(
vtkFreeTypeStringToImage
*utility);
74
75
protected
:
76
vtkFreeTypeStringToImage
();
77
~
vtkFreeTypeStringToImage
();
78
79
class
Internals;
80
Internals*
Implementation
;
81
82
private
:
83
vtkFreeTypeStringToImage
(
const
vtkFreeTypeStringToImage
&);
// Not implemented.
84
void
operator=(
const
vtkFreeTypeStringToImage
&);
// Not implemented.
85
};
86
87
#endif //__vtkFreeTypeStringToImage_h
Generated on Thu May 24 2012 22:22:35 for VTK by
1.8.1