Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
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
52
protected
Q_SLOTS:
53
void
OnShowContextMenuIsoSet(
const
QPoint& pos);
54
void
OnAddConstraint(
bool
checked);
55
void
OnDelConstraint(
bool
checked);
56
57
protected
:
58
62
void
update();
63
64
mitk::SimpleBarrierConstraintChecker::Pointer
m_Checker
;
65
mitk::ModelTraitsInterface::ParameterNamesType
m_ParameterNames
;
66
67
QmitkSimpleBarrierModel
*
m_InternalModel
;
68
QmitkSimpleBarrierTypeDelegate
*
m_TypeDelegate
;
69
QmitkSimpleBarrierParametersDelegate
*
m_ParametersDelegate
;
70
71
bool
m_InternalUpdate
;
72
73
Ui::QmitkSimpleBarrierManagerWidget
m_Controls
;
74
75
};
76
77
#endif
QmitkSimpleBarrierManagerWidget
Widget that allows to edit the constraints of SimpleBarrierConstraintChecker.
Definition:
QmitkSimpleBarrierManagerWidget.h:33
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:73
QmitkSimpleBarrierManagerWidget::m_InternalModel
QmitkSimpleBarrierModel * m_InternalModel
Definition:
QmitkSimpleBarrierManagerWidget.h:67
QmitkSimpleBarrierManagerWidget::m_InternalUpdate
bool m_InternalUpdate
Definition:
QmitkSimpleBarrierManagerWidget.h:71
mitk::SimpleBarrierConstraintChecker::Constraint
Definition:
mitkSimpleBarrierConstraintChecker.h:62
QmitkSimpleBarrierManagerWidget::m_ParameterNames
mitk::ModelTraitsInterface::ParameterNamesType m_ParameterNames
Definition:
QmitkSimpleBarrierManagerWidget.h:65
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:64
QmitkSimpleBarrierModel
Definition:
QmitkSimpleBarrierModel.h:30
MitkModelFitUIExports.h
QmitkSimpleBarrierManagerWidget::m_TypeDelegate
QmitkSimpleBarrierTypeDelegate * m_TypeDelegate
Definition:
QmitkSimpleBarrierManagerWidget.h:68
QmitkSimpleBarrierManagerWidget::m_ParametersDelegate
QmitkSimpleBarrierParametersDelegate * m_ParametersDelegate
Definition:
QmitkSimpleBarrierManagerWidget.h:69
src
MITK
Modules
ModelFitUI
Qmitk
QmitkSimpleBarrierManagerWidget.h
Generated on Sat Nov 23 2024 02:13:16 for Medical Imaging Interaction Toolkit by
1.8.17