Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
QmitkSimpleBarrierManagerWidget.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
14
#ifndef QmitkSimpleBarrierManagerWidget_h
15
#define QmitkSimpleBarrierManagerWidget_h
16
17
#include "
MitkModelFitUIExports.h
"
18
19
#include "ui_QmitkSimpleBarrierManagerWidget.h"
20
#include <QWidget>
21
22
#include "
mitkSimpleBarrierConstraintChecker.h
"
23
24
/*forward declarations*/
25
class
QmitkSimpleBarrierParametersDelegate
;
26
class
QmitkSimpleBarrierTypeDelegate
;
27
class
QmitkSimpleBarrierModel
;
28
33
class
MITKMODELFITUI_EXPORT
QmitkSimpleBarrierManagerWidget
:
public
QWidget
34
{
35
Q_OBJECT
36
37
public
:
38
QmitkSimpleBarrierManagerWidget
(QWidget* parent =
nullptr
);
39
~
QmitkSimpleBarrierManagerWidget
()
override
;
40
41
signals:
42
void
ConstraintChanged(
mitk::SimpleBarrierConstraintChecker::Constraint
constraint);
43
44
public
Q_SLOTS:
49
void
setChecker(
mitk::SimpleBarrierConstraintChecker
* pChecker,
50
const
mitk::ModelTraitsInterface::ParameterNamesType
& names,
51
const
mitk::ModelTraitsInterface::ParamterUnitMapType
& units);
52
53
protected
Q_SLOTS:
54
void
OnShowContextMenuIsoSet(
const
QPoint& pos);
55
void
OnAddConstraint(
bool
checked);
56
void
OnDelConstraint(
bool
checked);
57
58
protected
:
59
63
void
update();
64
65
mitk::SimpleBarrierConstraintChecker::Pointer
m_Checker
;
66
mitk::ModelTraitsInterface::ParameterNamesType
m_ParameterNames
;
67
mitk::ModelTraitsInterface::ParamterUnitMapType
m_ParameterUnits
;
68
69
70
QmitkSimpleBarrierModel
*
m_InternalModel
;
71
QmitkSimpleBarrierTypeDelegate
*
m_TypeDelegate
;
72
QmitkSimpleBarrierParametersDelegate
*
m_ParametersDelegate
;
73
74
bool
m_InternalUpdate
;
75
76
Ui::QmitkSimpleBarrierManagerWidget
m_Controls
;
77
78
};
79
80
#endif
QmitkSimpleBarrierManagerWidget
Widget that allows to edit the constraints of SimpleBarrierConstraintChecker.
Definition:
QmitkSimpleBarrierManagerWidget.h:33
mitk::ModelTraitsInterface::ParamterUnitMapType
std::map< ParameterNameType, std::string > ParamterUnitMapType
Definition:
mitkModelTraitsInterface.h:40
QmitkSimpleBarrierTypeDelegate
An item delegate for rendering and editing the type of a simple barrier constraint....
Definition:
QmitkSimpleBarrierTypeDelegate.h:25
mitkSimpleBarrierConstraintChecker.h
QmitkSimpleBarrierManagerWidget::m_Controls
Ui::QmitkSimpleBarrierManagerWidget m_Controls
Definition:
QmitkSimpleBarrierManagerWidget.h:76
QmitkSimpleBarrierManagerWidget::m_ParameterUnits
mitk::ModelTraitsInterface::ParamterUnitMapType m_ParameterUnits
Definition:
QmitkSimpleBarrierManagerWidget.h:67
QmitkSimpleBarrierManagerWidget::m_InternalModel
QmitkSimpleBarrierModel * m_InternalModel
Definition:
QmitkSimpleBarrierManagerWidget.h:70
QmitkSimpleBarrierManagerWidget::m_InternalUpdate
bool m_InternalUpdate
Definition:
QmitkSimpleBarrierManagerWidget.h:74
mitk::SimpleBarrierConstraintChecker::Constraint
Definition:
mitkSimpleBarrierConstraintChecker.h:62
QmitkSimpleBarrierManagerWidget::m_ParameterNames
mitk::ModelTraitsInterface::ParameterNamesType m_ParameterNames
Definition:
QmitkSimpleBarrierManagerWidget.h:66
mitk::SimpleBarrierConstraintChecker
This class implements constraints as simple barrier functions.
Definition:
mitkSimpleBarrierConstraintChecker.h:42
MITKMODELFITUI_EXPORT
#define MITKMODELFITUI_EXPORT
Definition:
MitkModelFitUIExports.h:15
itk::SmartPointer< Self >
mitk::ModelTraitsInterface::ParameterNamesType
std::vector< ParameterNameType > ParameterNamesType
Definition:
mitkModelTraitsInterface.h:34
QmitkSimpleBarrierParametersDelegate
Toolkit includes.
Definition:
QmitkSimpleBarrierParametersDelegate.h:29
QmitkSimpleBarrierManagerWidget::m_Checker
mitk::SimpleBarrierConstraintChecker::Pointer m_Checker
Definition:
QmitkSimpleBarrierManagerWidget.h:65
QmitkSimpleBarrierModel
Definition:
QmitkSimpleBarrierModel.h:30
MitkModelFitUIExports.h
QmitkSimpleBarrierManagerWidget::m_TypeDelegate
QmitkSimpleBarrierTypeDelegate * m_TypeDelegate
Definition:
QmitkSimpleBarrierManagerWidget.h:71
QmitkSimpleBarrierManagerWidget::m_ParametersDelegate
QmitkSimpleBarrierParametersDelegate * m_ParametersDelegate
Definition:
QmitkSimpleBarrierManagerWidget.h:72
src
MITK
Modules
ModelFitUI
Qmitk
QmitkSimpleBarrierManagerWidget.h
Generated on Tue Dec 24 2024 02:12:30 for Medical Imaging Interaction Toolkit by
1.8.17