VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Interaction
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 "vtkInteractionWidgetsModule.h"
// For export macro
40
#include "
vtkBorderWidget.h
"
41
42
class
VTKINTERACTIONWIDGETS_EXPORT
vtkTextWidget
:
public
vtkBorderWidget
43
{
44
public
:
46
static
vtkTextWidget
*
New
();
47
49
50
vtkTypeMacro(
vtkTextWidget
,
vtkBorderWidget
);
51
void
PrintSelf
(ostream& os,
vtkIndent
indent);
53
55
58
void
SetRepresentation
(
vtkTextRepresentation
*r)
59
{this->Superclass::SetWidgetRepresentation(
60
reinterpret_cast<vtkWidgetRepresentation*>(r));}
62
64
69
void
SetTextActor(
vtkTextActor
*textActor);
70
vtkTextActor
*GetTextActor();
72
74
virtual
void
CreateDefaultRepresentation
();
75
76
protected
:
77
vtkTextWidget
();
78
~
vtkTextWidget
();
79
80
private
:
81
vtkTextWidget
(
const
vtkTextWidget
&);
//Not implemented
82
void
operator=(
const
vtkTextWidget
&);
//Not implemented
83
};
84
85
#endif
Generated on Thu May 24 2012 22:22:28 for VTK by
1.8.1