Medical Imaging Interaction Toolkit
2024.12.99-d991a09f
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
x
Functions
_
e
h
m
o
q
s
u
Variables
Typedefs
Enumerations
Enumerator
Macros
_
a
b
c
d
e
f
g
i
m
o
p
q
r
s
u
v
x
Examples
Download
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
mitkAffineImageCropperInteractor.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 mitkAffineImageCropperInteractor_h
14
#define mitkAffineImageCropperInteractor_h
15
16
#include "
MitkDataTypesExtExports.h
"
17
#include "
mitkBaseRenderer.h
"
18
#include "
mitkDataInteractor.h
"
19
#include "
mitkGeometry3D.h
"
20
21
namespace
mitk
22
{
28
// Inherit from DataInteratcor, this provides functionality of a state machine and configurable inputs.
29
class
MITKDATATYPESEXT_EXPORT
AffineImageCropperInteractor
:
public
DataInteractor
30
{
31
public
:
32
mitkClassMacro
(
AffineImageCropperInteractor
,
DataInteractor
);
33
itkFactorylessNewMacro(
Self
);
34
itkCloneMacro(
Self
);
35
36
protected :
AffineImageCropperInteractor
();
37
~
AffineImageCropperInteractor
()
override
;
42
void
ConnectActionsAndFunctions()
override
;
46
void
DataNodeChanged()
override
;
47
51
virtual
bool
CheckOverObject(
const
InteractionEvent
*interactionEvent);
52
virtual
void
SelectObject(
StateMachineAction
*,
InteractionEvent
*);
53
virtual
void
DeselectObject(
StateMachineAction
*,
InteractionEvent
*);
54
virtual
void
InitTranslate(
StateMachineAction
*,
InteractionEvent
*);
55
virtual
void
InitRotate(
StateMachineAction
*,
InteractionEvent
*);
56
virtual
void
InitDeformation(
StateMachineAction
*,
InteractionEvent
*);
57
virtual
void
TranslateObject(
StateMachineAction
*,
InteractionEvent
*interactionEvent);
58
virtual
void
RotateObject(
StateMachineAction
*,
InteractionEvent
*interactionEvent);
59
virtual
void
DeformObject(
StateMachineAction
*,
InteractionEvent
*);
60
virtual
void
ScaleRadius(
StateMachineAction
*,
InteractionEvent
*interactionEvent);
61
62
private
:
63
Geometry3D::Pointer
m_OriginalGeometry;
64
mitk::DataNode::Pointer
m_SelectedNode;
65
66
Point3D
m_InitialPickedPoint;
67
Point3D
m_InitialOrigin;
68
Point2D
m_InitialPickedDisplayPoint;
69
70
void
Deselect();
71
};
72
}
73
#endif
mitk::InteractionEvent
Definition:
mitkInteractionEvent.h:26
MitkDataTypesExtExports.h
MITKDATATYPESEXT_EXPORT
#define MITKDATATYPESEXT_EXPORT
Definition:
MitkDataTypesExtExports.h:15
itk::SmartPointer< Self >
mitkGeometry3D.h
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::AffineImageCropperInteractor
Affine interaction with objects in 3D windows.
Definition:
mitkAffineImageCropperInteractor.h:29
mitk::Point< ScalarType, 3 >
mitkDataInteractor.h
mitk::StateMachineAction
Represents an action, that is executed after a certain event (in statemachine-mechanism) TODO: implem...
Definition:
mitkStateMachineAction.h:30
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:36
mitk::DataInteractor
Base class from with interactors that handle DataNodes are to be derived.
Definition:
mitkDataInteractor.h:48
mitkBaseRenderer.h
src
MITK
Modules
DataTypesExt
include
mitkAffineImageCropperInteractor.h
Generated on Sat Mar 22 2025 02:14:59 for Medical Imaging Interaction Toolkit by
1.8.17