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 
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,
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 
68 
69 
73 
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