Medical Imaging Interaction Toolkit
2024.12.00
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Groups
Namespace List
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
z
Variables
e
f
i
l
m
n
p
r
s
t
Typedefs
a
b
c
d
f
g
i
l
m
n
o
p
q
r
s
t
v
x
Enumerations
Enumerator
a
b
c
d
e
g
h
i
k
l
n
o
p
r
s
t
v
w
z
Class List
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerations
a
b
c
d
e
f
h
i
l
m
n
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Properties
c
m
o
r
s
t
Related Functions
File List
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
m
o
p
q
r
s
t
u
v
Functions
_
e
h
m
o
q
s
u
Variables
Typedefs
Enumerations
Enumerator
Macros
_
a
b
c
d
e
g
i
m
o
p
q
r
s
u
v
Examples
Download
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
mitkMouseReleaseEvent.h
Go to the documentation of this file.
1
/*============================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center (DKFZ)
6
All rights reserved.
7
8
Use of this source code is governed by a 3-clause BSD license that can be
9
found in the LICENSE file.
10
11
============================================================================*/
12
13
#ifndef mitkMouseReleaseEvent_h
14
#define mitkMouseReleaseEvent_h
15
16
#include "itkObject.h"
17
#include "itkObjectFactory.h"
18
#include "
mitkBaseRenderer.h
"
19
#include "
mitkCommon.h
"
20
#include "
mitkInteractionEvent.h
"
21
#include "
mitkInteractionEventConst.h
"
22
#include "
mitkInteractionPositionEvent.h
"
23
24
#include <
MitkCoreExports.h
>
25
26
namespace
mitk
27
{
28
class
MITKCORE_EXPORT
MouseReleaseEvent
:
public
InteractionPositionEvent
29
{
30
public
:
31
mitkClassMacro
(
MouseReleaseEvent
,
InteractionPositionEvent
)
32
mitkNewMacro5Param
(
Self
,
BaseRenderer
*, const
Point2D
&,
MouseButtons
,
ModifierKeys
,
MouseButtons
)
33
34
ModifierKeys
GetModifiers() const;
35
MouseButtons
GetButtonStates() const;
36
void
SetModifiers(
ModifierKeys
modifiers);
37
void
SetButtonStates(
MouseButtons
buttons);
38
MouseButtons
GetEventButton() const;
39
void
SetEventButton(
MouseButtons
buttons);
40
41
bool
IsSuperClassOf(const
InteractionEvent
::
Pointer
&baseClass) const override;
42
43
protected:
44
MouseReleaseEvent
(
BaseRenderer
*,
45
const
mitk
::
Point2D
&mousePosition =
Point2D
(),
46
MouseButtons
buttonStates = NoButton,
47
ModifierKeys
modifiers = NoKey,
48
MouseButtons
eventButton = NoButton);
49
~
MouseReleaseEvent
() override;
50
51
bool
IsEqual(const
InteractionEvent
&) const override;
52
53
private:
54
MouseButtons
m_EventButton;
55
MouseButtons
m_ButtonStates;
56
ModifierKeys
m_Modifiers;
57
};
58
}
/* namespace mitk */
59
60
#endif
mitk::InteractionEvent
Definition:
mitkInteractionEvent.h:26
mitkInteractionEvent.h
mitkNewMacro5Param
#define mitkNewMacro5Param(classname, typea, typeb, typec, typed, typee)
Definition:
mitkCommon.h:120
mitk::InteractionEvent::MouseButtons
MouseButtons
Definition:
mitkInteractionEvent.h:44
itk::SmartPointer< Self >
mitk::MouseReleaseEvent
Definition:
mitkMouseReleaseEvent.h:28
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::InteractionPositionEvent
Super class for all position events.
Definition:
mitkInteractionPositionEvent.h:36
mitkInteractionPositionEvent.h
MitkCoreExports.h
mitk::Point< ScalarType, 2 >
mitkCommon.h
mitk::InteractionEvent::ModifierKeys
ModifierKeys
Definition:
mitkInteractionEvent.h:52
mitkInteractionEventConst.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:36
mitk::BaseRenderer
Definition:
mitkBaseRenderer.h:56
mitkBaseRenderer.h
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition:
MitkCoreExports.h:15
src
MITK
Modules
Core
include
mitkMouseReleaseEvent.h
Generated on Tue Dec 10 2024 10:35:08 for Medical Imaging Interaction Toolkit by
1.8.17