VTK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
home
demarle
Source
VTK
release
8.2
build
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
=========================================================================*/
26
#ifndef vtkWidgetEvent_h
27
#define vtkWidgetEvent_h
28
29
#include "vtkInteractionWidgetsModule.h"
// For export macro
30
#include "
vtkObject.h
"
31
32
class
VTKINTERACTIONWIDGETS_EXPORT
vtkWidgetEvent
:
public
vtkObject
33
{
34
public
:
38
static
vtkWidgetEvent
*
New
() ;
39
41
44
vtkTypeMacro(
vtkWidgetEvent
,
vtkObject
);
45
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
47
51
enum
WidgetEventIds
{
52
NoEvent = 0,
53
Select
,
54
EndSelect
,
55
Delete
,
56
Translate
,
57
EndTranslate
,
58
Scale
,
59
EndScale
,
60
Resize
,
61
EndResize
,
62
Rotate
,
63
EndRotate
,
64
Move
,
65
SizeHandles
,
66
AddPoint
,
67
AddFinalPoint
,
68
Completed
,
69
TimedOut
,
70
ModifyEvent
,
71
Reset
,
72
Up
,
73
Down
,
74
Left
,
75
Right
,
76
Select3D
,
77
EndSelect3D
,
78
Move3D
,
79
AddPoint3D
,
80
AddFinalPoint3D
81
};
82
84
87
static
const
char
*GetStringFromEventId(
unsigned
long
event);
88
static
unsigned
long
GetEventIdFromString(
const
char
*event);
90
91
protected
:
92
vtkWidgetEvent
() {}
93
~vtkWidgetEvent
()
override
{}
94
95
private
:
96
vtkWidgetEvent
(
const
vtkWidgetEvent
&) =
delete
;
97
void
operator=(
const
vtkWidgetEvent
&) =
delete
;
98
99
};
100
101
#endif
vtkWidgetEvent::ModifyEvent
Definition:
vtkWidgetEvent.h:70
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:59
vtkWidgetEvent::Resize
Definition:
vtkWidgetEvent.h:60
vtkWidgetEvent::Delete
Definition:
vtkWidgetEvent.h:55
vtkWidgetEvent::Up
Definition:
vtkWidgetEvent.h:72
vtkObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkWidgetEvent::Translate
Definition:
vtkWidgetEvent.h:56
vtkWidgetEvent::TimedOut
Definition:
vtkWidgetEvent.h:69
vtkWidgetEvent::Move
Definition:
vtkWidgetEvent.h:64
vtkWidgetEvent::Right
Definition:
vtkWidgetEvent.h:75
vtkWidgetEvent::SizeHandles
Definition:
vtkWidgetEvent.h:65
vtkWidgetEvent::Rotate
Definition:
vtkWidgetEvent.h:62
vtkWidgetEvent::Completed
Definition:
vtkWidgetEvent.h:68
vtkWidgetEvent
define widget events
Definition:
vtkWidgetEvent.h:32
vtkWidgetEvent::EndSelect3D
Definition:
vtkWidgetEvent.h:77
vtkWidgetEvent::Scale
Definition:
vtkWidgetEvent.h:58
vtkWidgetEvent::EndTranslate
Definition:
vtkWidgetEvent.h:57
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkWidgetEvent::EndSelect
Definition:
vtkWidgetEvent.h:54
vtkWidgetEvent::AddFinalPoint
Definition:
vtkWidgetEvent.h:67
vtkWidgetEvent::Left
Definition:
vtkWidgetEvent.h:74
vtkWidgetEvent::Down
Definition:
vtkWidgetEvent.h:73
vtkWidgetEvent::Reset
Definition:
vtkWidgetEvent.h:71
vtkWidgetEvent::EndResize
Definition:
vtkWidgetEvent.h:61
vtkWidgetEvent::EndRotate
Definition:
vtkWidgetEvent.h:63
vtkWidgetEvent::AddPoint3D
Definition:
vtkWidgetEvent.h:79
vtkWidgetEvent::WidgetEventIds
WidgetEventIds
All the widget events are defined here.
Definition:
vtkWidgetEvent.h:51
vtkWidgetEvent::EndScale
Definition:
vtkWidgetEvent.h:59
vtkWidgetEvent::Move3D
Definition:
vtkWidgetEvent.h:78
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
vtkObject.h
vtkWidgetEvent::~vtkWidgetEvent
~vtkWidgetEvent() override
Definition:
vtkWidgetEvent.h:93
vtkWidgetEvent::vtkWidgetEvent
vtkWidgetEvent()
Definition:
vtkWidgetEvent.h:92
vtkWidgetEvent::AddPoint
Definition:
vtkWidgetEvent.h:66
vtkWidgetEvent::Select3D
Definition:
vtkWidgetEvent.h:76
vtkWidgetEvent::Select
Definition:
vtkWidgetEvent.h:53
Generated by
1.8.11