Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
QmitkInitialValuesManagerWidget Class Reference

Widget that allows to edit the initial values of an model. More...

#include <QmitkInitialValuesManagerWidget.h>

Inheritance diagram for QmitkInitialValuesManagerWidget:
Collaboration diagram for QmitkInitialValuesManagerWidget:

Public Slots

void setInitialValues (const mitk::ModelTraitsInterface::ParameterNamesType &names, const mitk::ModelTraitsInterface::ParametersType values, const mitk::ModelTraitsInterface::ParamterUnitMapType units)
 
void setInitialValues (const mitk::ModelTraitsInterface::ParameterNamesType &names)
 
void setDataStorage (mitk::DataStorage *storage)
 
void setReferenceImageGeometry (mitk::BaseGeometry *refgeo)
 

Signals

void initialValuesChanged ()
 

Public Member Functions

 QmitkInitialValuesManagerWidget (QWidget *parent=nullptr)
 
 ~QmitkInitialValuesManagerWidget () override
 
mitk::ModelTraitsInterface::ParametersType getInitialValues () const
 
mitk::InitialParameterizationDelegateBase::Pointer getInitialParametrizationDelegate () const
 
bool hasValidInitialValues () const
 

Protected Slots

void OnModelReset ()
 

Protected Attributes

QmitkInitialValuesModelm_InternalModel
 
QmitkInitialValuesTypeDelegatem_TypeDelegate
 
QmitkInitialValuesDelegatem_ValuesDelegate
 
Ui::QmitkInitialValuesManagerWidget m_Controls
 

Detailed Description

Widget that allows to edit the initial values of an model.

Definition at line 40 of file QmitkInitialValuesManagerWidget.h.

Constructor & Destructor Documentation

◆ QmitkInitialValuesManagerWidget()

QmitkInitialValuesManagerWidget::QmitkInitialValuesManagerWidget ( QWidget *  parent = nullptr)

◆ ~QmitkInitialValuesManagerWidget()

QmitkInitialValuesManagerWidget::~QmitkInitialValuesManagerWidget ( )
override

Member Function Documentation

◆ getInitialParametrizationDelegate()

mitk::InitialParameterizationDelegateBase::Pointer QmitkInitialValuesManagerWidget::getInitialParametrizationDelegate ( ) const

◆ getInitialValues()

mitk::ModelTraitsInterface::ParametersType QmitkInitialValuesManagerWidget::getInitialValues ( ) const

Returns the current set initial values of the model.

◆ hasValidInitialValues()

bool QmitkInitialValuesManagerWidget::hasValidInitialValues ( ) const

◆ initialValuesChanged

void QmitkInitialValuesManagerWidget::initialValuesChanged ( )
signal

◆ OnModelReset

void QmitkInitialValuesManagerWidget::OnModelReset ( )
protectedslot

◆ setDataStorage

void QmitkInitialValuesManagerWidget::setDataStorage ( mitk::DataStorage storage)
slot

◆ setInitialValues [1/2]

void QmitkInitialValuesManagerWidget::setInitialValues ( const mitk::ModelTraitsInterface::ParameterNamesType names)
slot

◆ setInitialValues [2/2]

void QmitkInitialValuesManagerWidget::setInitialValues ( const mitk::ModelTraitsInterface::ParameterNamesType names,
const mitk::ModelTraitsInterface::ParametersType  values,
const mitk::ModelTraitsInterface::ParamterUnitMapType  units 
)
slot

Sets the names and the values of the initial parameter set for the model.

Parameters
namesList of all possible parameter names. It is assumed that the index of the list equals the parameter index in the respective fitting model and its parameter values.
valuesDefault values to start with.

◆ setReferenceImageGeometry

void QmitkInitialValuesManagerWidget::setReferenceImageGeometry ( mitk::BaseGeometry refgeo)
slot

Member Data Documentation

◆ m_Controls

Ui::QmitkInitialValuesManagerWidget QmitkInitialValuesManagerWidget::m_Controls
protected

Definition at line 78 of file QmitkInitialValuesManagerWidget.h.

◆ m_InternalModel

QmitkInitialValuesModel* QmitkInitialValuesManagerWidget::m_InternalModel
protected

Definition at line 73 of file QmitkInitialValuesManagerWidget.h.

◆ m_TypeDelegate

QmitkInitialValuesTypeDelegate* QmitkInitialValuesManagerWidget::m_TypeDelegate
protected

Definition at line 75 of file QmitkInitialValuesManagerWidget.h.

◆ m_ValuesDelegate

QmitkInitialValuesDelegate* QmitkInitialValuesManagerWidget::m_ValuesDelegate
protected

Definition at line 76 of file QmitkInitialValuesManagerWidget.h.


The documentation for this class was generated from the following file: