VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
vtkQtStringToImage.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkQtStringToImage.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 __vtkQtStringToImage_h
27
#define __vtkQtStringToImage_h
28
29
#include "
vtkStringToImage.h
"
30
#include "
vtkSmartPointer.h
"
// For SP ivars
31
32
class
vtkQImageToImageSource
;
33
34
class
VTK_RENDERING_EXPORT
vtkQtStringToImage
:
public
vtkStringToImage
35
{
36
public
:
37
vtkTypeMacro(
vtkQtStringToImage
,
vtkStringToImage
);
38
virtual
void
PrintSelf
(ostream &os,
vtkIndent
indent);
39
40
static
vtkQtStringToImage
*
New
();
41
43
52
virtual
vtkVector2i
GetBounds
(
vtkTextProperty
*property,
53
const
vtkUnicodeString
&
string
);
54
virtual
vtkVector2i
GetBounds
(
vtkTextProperty
*property,
55
const
vtkStdString
&
string
);
57
59
61
virtual
int
RenderString
(
vtkTextProperty
*property,
62
const
vtkUnicodeString
&
string
,
63
vtkImageData
*
data
);
64
virtual
int
RenderString
(
vtkTextProperty
*property,
65
const
vtkStdString
&
string
,
66
vtkImageData
*
data
);
68
70
void
DeepCopy(
vtkQtStringToImage
*utility);
71
72
protected
:
73
vtkQtStringToImage
();
74
~
vtkQtStringToImage
();
75
76
class
Internals;
77
Internals*
Implementation
;
78
79
vtkSmartPointer<vtkQImageToImageSource>
QImageToImage
;
80
81
private
:
82
vtkQtStringToImage
(
const
vtkQtStringToImage
&);
// Not implemented.
83
void
operator=(
const
vtkQtStringToImage
&);
// Not implemented.
84
};
85
86
#endif //__vtkQtStringToImage_h
Generated on Fri Aug 2 2013 12:20:02 for VTK by
1.8.4