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 
23 
24 /*forward declarations*/
28 
34 {
35  Q_OBJECT
36 
37 public:
38  QmitkSimpleBarrierManagerWidget(QWidget* parent = nullptr);
40 
41 signals:
42  void ConstraintChanged(mitk::SimpleBarrierConstraintChecker::Constraint constraint);
43 
44 public Q_SLOTS:
49  void setChecker(mitk::SimpleBarrierConstraintChecker* pChecker,
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 
66 
70 
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