VTK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
home
boeckb
code
depot
group-kitware
vtk
build-release
Utilities
Doxygen
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
vtkWidgetEvent::ModifyEvent
Definition:
vtkWidgetEvent.h:65
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:61
vtkWidgetEvent::Resize
Definition:
vtkWidgetEvent.h:55
vtkWidgetEvent::Delete
Definition:
vtkWidgetEvent.h:50
vtkWidgetEvent::Up
Definition:
vtkWidgetEvent.h:67
vtkWidgetEvent::Translate
Definition:
vtkWidgetEvent.h:51
vtkWidgetEvent::TimedOut
Definition:
vtkWidgetEvent.h:64
vtkWidgetEvent::~vtkWidgetEvent
virtual ~vtkWidgetEvent()
Definition:
vtkWidgetEvent.h:84
vtkWidgetEvent::Move
Definition:
vtkWidgetEvent.h:59
vtkWidgetEvent::SizeHandles
Definition:
vtkWidgetEvent.h:60
vtkWidgetEvent::Rotate
Definition:
vtkWidgetEvent.h:57
vtkWidgetEvent::Completed
Definition:
vtkWidgetEvent.h:63
vtkWidgetEvent
define widget events
Definition:
vtkWidgetEvent.h:31
VTKINTERACTIONWIDGETS_EXPORT
#define VTKINTERACTIONWIDGETS_EXPORT
Definition:
vtkInteractionWidgetsModule.h:15
vtkWidgetEvent::Scale
Definition:
vtkWidgetEvent.h:53
vtkObject::PrintSelf
virtual void PrintSelf(ostream &os, vtkIndent indent)
vtkWidgetEvent::EndTranslate
Definition:
vtkWidgetEvent.h:52
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:38
vtkWidgetEvent::EndSelect
Definition:
vtkWidgetEvent.h:49
vtkWidgetEvent::AddFinalPoint
Definition:
vtkWidgetEvent.h:62
vtkWidgetEvent::Left
Definition:
vtkWidgetEvent.h:69
vtkWidgetEvent::Down
Definition:
vtkWidgetEvent.h:68
vtkWidgetEvent::Reset
Definition:
vtkWidgetEvent.h:66
vtkWidgetEvent::EndResize
Definition:
vtkWidgetEvent.h:56
vtkWidgetEvent::EndRotate
Definition:
vtkWidgetEvent.h:58
vtkWidgetEvent::WidgetEventIds
WidgetEventIds
Definition:
vtkWidgetEvent.h:46
vtkWidgetEvent::EndScale
Definition:
vtkWidgetEvent.h:54
vtkObject::New
static vtkObject * New()
vtkObject.h
vtkInteractionWidgetsModule.h
vtkWidgetEvent::vtkWidgetEvent
vtkWidgetEvent()
Definition:
vtkWidgetEvent.h:83
vtkWidgetEvent::AddPoint
Definition:
vtkWidgetEvent.h:61
vtkWidgetEvent::Select
Definition:
vtkWidgetEvent.h:48
Generated by
1.8.9.1