VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
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 "
vtkStringToImage.h
"
30
#include "
vtkSmartPointer.h
"
// For SP ivars
31
32
class
VTK_RENDERING_EXPORT
vtkFreeTypeStringToImage
:
public
vtkStringToImage
33
{
34
public
:
35
vtkTypeMacro(
vtkFreeTypeStringToImage
,
vtkStringToImage
);
36
virtual
void
PrintSelf
(ostream &os,
vtkIndent
indent);
37
38
static
vtkFreeTypeStringToImage
*
New
();
39
41
50
virtual
vtkVector2i
GetBounds
(
vtkTextProperty
*property,
51
const
vtkUnicodeString
&
string
);
52
virtual
vtkVector2i
GetBounds
(
vtkTextProperty
*property,
53
const
vtkStdString
&
string
);
55
57
59
virtual
int
RenderString
(
vtkTextProperty
*property,
60
const
vtkUnicodeString
&
string
,
61
vtkImageData
*
data
);
62
virtual
int
RenderString
(
vtkTextProperty
*property,
63
const
vtkStdString
&
string
,
64
vtkImageData
*
data
);
66
69
virtual
void
SetScaleToPowerOfTwo
(
bool
scale
);
70
72
void
DeepCopy(
vtkFreeTypeStringToImage
*utility);
73
74
protected
:
75
vtkFreeTypeStringToImage
();
76
~
vtkFreeTypeStringToImage
();
77
78
class
Internals;
79
Internals*
Implementation
;
80
81
private
:
82
vtkFreeTypeStringToImage
(
const
vtkFreeTypeStringToImage
&);
// Not implemented.
83
void
operator=(
const
vtkFreeTypeStringToImage
&);
// Not implemented.
84
};
85
86
#endif //__vtkFreeTypeStringToImage_h
Generated on Wed May 30 2012 13:22:21 for VTK by
1.8.1