VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Interaction
Widgets
vtkWidgetEvent.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkWidgetEvent.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
=========================================================================*/
25
#ifndef __vtkWidgetEvent_h
26
#define __vtkWidgetEvent_h
27
28
#include "vtkInteractionWidgetsModule.h"
// For export macro
29
#include "
vtkObject.h
"
30
31
class
VTKINTERACTIONWIDGETS_EXPORT
vtkWidgetEvent
:
public
vtkObject
32
{
33
public
:
35
static
vtkWidgetEvent
*
New
() ;
36
38
39
vtkTypeMacro(
vtkWidgetEvent
,
vtkObject
);
40
void
PrintSelf
(ostream& os,
vtkIndent
indent);
42
43
//BTX
45
46
enum
WidgetEventIds
{
47
NoEvent = 0,
48
Select
,
49
EndSelect
,
50
Delete
,
51
Translate
,
52
EndTranslate
,
53
Scale
,
54
EndScale
,
55
Resize
,
56
EndResize
,
57
Rotate
,
58
EndRotate
,
59
Move
,
60
SizeHandles
,
61
AddPoint
,
62
AddFinalPoint
,
63
Completed
,
64
TimedOut
,
65
ModifyEvent
,
66
Reset
,
67
Up
,
68
Down
,
69
Left
,
70
Right
71
};
72
//ETX
74
76
78
static
const
char
*GetStringFromEventId(
unsigned
long
event);
79
static
unsigned
long
GetEventIdFromString(
const
char
*event);
81
82
protected
:
83
vtkWidgetEvent
() {}
84
virtual
~vtkWidgetEvent
() {}
85
86
private
:
87
vtkWidgetEvent
(
const
vtkWidgetEvent
&);
//Not implemented
88
void
operator=(
const
vtkWidgetEvent
&);
//Not implemented
89
90
};
91
92
#endif
Generated on Thu May 24 2012 22:22:28 for VTK by
1.8.1