Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
QmitkInitialValuesManagerWidget.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 QmitkInitialValuesManagerWidget_h
15 #define QmitkInitialValuesManagerWidget_h
16 
17 #include "MitkModelFitUIExports.h"
18 
19 #include "ui_QmitkInitialValuesManagerWidget.h"
20 #include <QWidget>
21 
24 #include "mitkNodePredicateBase.h"
25 
26 /*forward declarations*/
30 
31 namespace mitk
32 {
33  class DataStorage;
34  class BaseGeometry;
35 }
36 
42 {
43  Q_OBJECT
44 
45 public:
46  QmitkInitialValuesManagerWidget(QWidget* parent = nullptr);
48 
52 
53  bool hasValidInitialValues() const;
54 
55 signals:
57 
58 public Q_SLOTS:
67 
69 
71 
72 protected:
73 
75 
78 
79  Ui::QmitkInitialValuesManagerWidget m_Controls;
80 
81  mitk::NodePredicateBase::Pointer m_NoHiddenOrHelperPredicate;
82 
83 protected Q_SLOTS:
84  void OnModelReset();
85 
86 };
87 
88 #endif
#define MITKMODELFITUI_EXPORT
Widget that allows to edit the initial values of an model.
mitk::ModelTraitsInterface::ParametersType getInitialValues() const
mitk::NodePredicateBase::Pointer m_NoHiddenOrHelperPredicate
QmitkInitialValuesDelegate * m_ValuesDelegate
void setInitialValues(const mitk::ModelTraitsInterface::ParameterNamesType &names)
QmitkInitialValuesManagerWidget(QWidget *parent=nullptr)
QmitkInitialValuesTypeDelegate * m_TypeDelegate
void setReferenceImageGeometry(mitk::BaseGeometry *refgeo)
void setInitialValues(const mitk::ModelTraitsInterface::ParameterNamesType &names, const mitk::ModelTraitsInterface::ParametersType values, const mitk::ModelTraitsInterface::ParamterUnitMapType units)
void setDataStorage(mitk::DataStorage *storage)
mitk::InitialParameterizationDelegateBase::Pointer getInitialParametrizationDelegate() const
Ui::QmitkInitialValuesManagerWidget m_Controls
An item delegate for rendering and editing the type of a initial value. It assumes that the type is e...
BaseGeometry Describes the geometry of a data object.
Data management class that handles 'was created by' relations.
std::map< ParameterNameType, std::string > ParamterUnitMapType
itk::Array< ParameterValueType > ParametersType
std::vector< ParameterNameType > ParameterNamesType
Find image slices visible on a given plane.