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
vtkX3D::data
Definition:
vtkX3D.h:315
vtkStdString
Wrapper around vtkstd::string to keep symbols short.
Definition:
vtkStdString.h:45
vtkFreeTypeStringToImage
uses Qt to render the supplied text to an image.
Definition:
vtkFreeTypeStringToImage.h:32
vtkStringToImage.h
vtkStringToImage
uses Qt to render the supplied text to an image.
Definition:
vtkStringToImage.h:34
vtkStringToImage::RenderString
virtual int RenderString(vtkTextProperty *property, const vtkUnicodeString &string, vtkImageData *data)=0
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:37
vtkImageData
topologically and geometrically regular array of data
Definition:
vtkImageData.h:43
vtkVector2i
Definition:
vtkVector.h:194
vtkTextProperty
represent text properties.
Definition:
vtkTextProperty.h:37
VTK_RENDERING_EXPORT
#define VTK_RENDERING_EXPORT
Definition:
vtkWin32Header.h:278
vtkSmartPointer.h
vtkStringToImage::SetScaleToPowerOfTwo
virtual void SetScaleToPowerOfTwo(bool scale)
vtkObject::New
static vtkObject * New()
vtkX3D::scale
Definition:
vtkX3D.h:229
vtkUnicodeString
String class that stores Unicode text.
Definition:
vtkUnicodeString.h:70
vtkStringToImage::GetBounds
virtual vtkVector2i GetBounds(vtkTextProperty *property, const vtkUnicodeString &string)=0
vtkFreeTypeStringToImage::Implementation
Internals * Implementation
Definition:
vtkFreeTypeStringToImage.h:78
vtkStringToImage::PrintSelf
virtual void PrintSelf(ostream &os, vtkIndent indent)
Generated by
1.8.9.1