VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
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 "
vtkObject.h
"
29
30
class
VTK_WIDGETS_EXPORT
vtkWidgetEvent
:
public
vtkObject
31
{
32
public
:
34
static
vtkWidgetEvent
*
New
() ;
35
37
38
vtkTypeMacro(
vtkWidgetEvent
,
vtkObject
);
39
void
PrintSelf
(ostream& os,
vtkIndent
indent);
41
42
//BTX
44
45
enum
WidgetEventIds
{
46
NoEvent = 0,
47
Select
,
48
EndSelect
,
49
Delete
,
50
Translate
,
51
EndTranslate
,
52
Scale
,
53
EndScale
,
54
Resize
,
55
EndResize
,
56
Rotate
,
57
EndRotate
,
58
Move
,
59
SizeHandles
,
60
AddPoint
,
61
AddFinalPoint
,
62
Completed
,
63
TimedOut
,
64
ModifyEvent
,
65
Reset
,
66
Up
,
67
Down
,
68
Left
,
69
Right
70
};
71
//ETX
73
75
77
static
const
char
*GetStringFromEventId(
unsigned
long
event);
78
static
unsigned
long
GetEventIdFromString(
const
char
*event);
80
81
protected
:
82
vtkWidgetEvent
() {}
83
virtual
~vtkWidgetEvent
() {}
84
85
private
:
86
vtkWidgetEvent
(
const
vtkWidgetEvent
&);
//Not implemented
87
void
operator=(
const
vtkWidgetEvent
&);
//Not implemented
88
89
};
90
91
#endif
Generated on Tue Jan 8 2013 05:45:41 for VTK by
1.8.1.2