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
QmitkBinaryThresholdToolGUIBase.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 QmitkBinaryThresholdToolGUIBase_h
14
#define QmitkBinaryThresholdToolGUIBase_h
15
16
#include "
QmitkSegWithPreviewToolGUIBase.h
"
17
#include "ctkRangeWidget.h"
18
#include "ctkSliderWidget.h"
19
20
#include <
MitkSegmentationUIExports.h
>
21
28
class
MITKSEGMENTATIONUI_EXPORT
QmitkBinaryThresholdToolGUIBase
:
public
QmitkSegWithPreviewToolGUIBase
29
{
30
Q_OBJECT
31
32
public
:
33
mitkClassMacro
(
QmitkBinaryThresholdToolGUIBase
,
QmitkSegWithPreviewToolGUIBase
);
34
35
void
OnThresholdingIntervalBordersChanged(
double
lower,
double
upper,
bool
isFloat);
36
void
OnThresholdingValuesChanged(
mitk::ScalarType
lower,
mitk::ScalarType
upper);
37
38
protected
slots:
39
40
void
OnThresholdRangeChanged(
double
min,
double
max);
41
void
OnThresholdSliderChanged(
double
value);
42
43
protected
:
44
QmitkBinaryThresholdToolGUIBase
(
bool
ulMode);
45
~
QmitkBinaryThresholdToolGUIBase
()
override
;
46
47
void
DisconnectOldTool
(
mitk::SegWithPreviewTool
* oldTool)
override
;
48
void
ConnectNewTool
(
mitk::SegWithPreviewTool
* newTool)
override
;
49
void
InitializeUI
(QBoxLayout* mainLayout)
override
;
50
51
void
BusyStateChanged
(
bool
)
override
;
52
53
ctkRangeWidget* m_ThresholdRange =
nullptr
;
54
ctkSliderWidget* m_ThresholdSlider =
nullptr
;
55
58
bool
m_ULMode
;
59
60
bool
m_InternalUpdate =
false
;
61
};
62
63
#endif
mitk::SegWithPreviewTool
Base class for any auto segmentation tool that provides a preview of the new segmentation.
Definition:
mitkSegWithPreviewTool.h:38
MITKSEGMENTATIONUI_EXPORT
#define MITKSEGMENTATIONUI_EXPORT
Definition:
MitkSegmentationUIExports.h:15
QmitkSegWithPreviewToolGUIBase
GUI base clase for tools derived from mitk::SegWithPreviewTool.
Definition:
QmitkSegWithPreviewToolGUIBase.h:30
QmitkSegWithPreviewToolGUIBase::mitkClassMacro
mitkClassMacro(QmitkSegWithPreviewToolGUIBase, QmitkToolGUI)
QmitkSegWithPreviewToolGUIBase.h
QmitkSegWithPreviewToolGUIBase::DisconnectOldTool
virtual void DisconnectOldTool(mitk::SegWithPreviewTool *oldTool)
QmitkSegWithPreviewToolGUIBase::BusyStateChanged
void BusyStateChanged(bool isBusy) override
QmitkSegWithPreviewToolGUIBase::InitializeUI
virtual void InitializeUI(QBoxLayout *mainLayout)
QmitkBinaryThresholdToolGUIBase
Base GUI for mitk::BinaryThresholdTool.
Definition:
QmitkBinaryThresholdToolGUIBase.h:28
MitkSegmentationUIExports.h
QmitkBinaryThresholdToolGUIBase::m_ULMode
bool m_ULMode
Definition:
QmitkBinaryThresholdToolGUIBase.h:58
QmitkSegWithPreviewToolGUIBase::ConnectNewTool
virtual void ConnectNewTool(mitk::SegWithPreviewTool *newTool)
mitk::ScalarType
double ScalarType
Definition:
mitkNumericConstants.h:20
src
MITK
Modules
SegmentationUI
Qmitk
QmitkBinaryThresholdToolGUIBase.h
Generated on Tue Dec 10 2024 10:35:11 for Medical Imaging Interaction Toolkit by
1.8.17