VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Widgets
vtkTextWidget.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkTextWidget.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
=========================================================================*/
33
#ifndef __vtkTextWidget_h
34
#define __vtkTextWidget_h
35
36
class
vtkTextRepresentation
;
37
class
vtkTextActor
;
38
39
#include "
vtkBorderWidget.h
"
40
41
class
VTK_WIDGETS_EXPORT
vtkTextWidget
:
public
vtkBorderWidget
42
{
43
public
:
45
static
vtkTextWidget
*
New
();
46
48
49
vtkTypeMacro(
vtkTextWidget
,
vtkBorderWidget
);
50
void
PrintSelf
(ostream& os,
vtkIndent
indent);
52
54
57
void
SetRepresentation
(
vtkTextRepresentation
*r)
58
{this->
Superclass::SetWidgetRepresentation
(
59
reinterpret_cast<vtkWidgetRepresentation*>(r));}
61
63
68
void
SetTextActor(
vtkTextActor
*textActor);
69
vtkTextActor
*GetTextActor();
71
73
virtual
void
CreateDefaultRepresentation
();
74
75
protected
:
76
vtkTextWidget
();
77
~
vtkTextWidget
();
78
79
private
:
80
vtkTextWidget
(
const
vtkTextWidget
&);
//Not implemented
81
void
operator=(
const
vtkTextWidget
&);
//Not implemented
82
};
83
84
#endif
Generated on Wed Nov 21 2012 21:34:09 for VTK by
1.8.2