|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Template base class for model factories that operate on a specific model type. More...
#include <mitkConcreteModelFactoryBase.h>


Public Member Functions | |
| mitkClassMacro (ConcreteModelFactoryBase, ModelFactoryBase) | |
| ModelBasePointer | CreateModel () const override |
| Creates and returns a new instance of the model. More... | |
| ConstraintCheckerBase::Pointer | CreateDefaultConstraints () const override |
| Creates default constraints for the model fitting process. More... | |
| ParameterNamesType | GetParameterNames () const override |
| Returns the names of parameters that must be defined when using the model to compute the signal (GetSignal()). More... | |
| ParametersSizeType | GetNumberOfParameters () const override |
| Returns the number of parameters that must be defined when using the model to compute the signal (GetSignal()). More... | |
| ParamterScaleMapType | GetParameterScales () const override |
| Returns the scaling factors for all model parameters. More... | |
| ParamterUnitMapType | GetParameterUnits () const override |
| Returns the unit strings for all model parameters. More... | |
| ParameterNamesType | GetDerivedParameterNames () const override |
| Returns the names of derived parameters that can be computed by the model. More... | |
| ParametersSizeType | GetNumberOfDerivedParameters () const override |
| Returns the number of derived parameters that can be computed by the model. More... | |
| DerivedParamterScaleMapType | GetDerivedParameterScales () const override |
| Returns the scaling factors for all derived parameters. More... | |
| DerivedParamterUnitMapType | GetDerivedParameterUnits () const override |
| Returns the unit strings for all derived parameters. More... | |
| std::string | GetModelDisplayName () const override |
| Returns the human-readable display name of the model. More... | |
| std::string | GetModelType () const override |
| Returns the type/category string of the model (e.g. "Linear", "Pharmacokinetic"). More... | |
| FunctionStringType | GetFunctionString () const override |
| Returns a parsable function string representing the model equation. More... | |
| ModellClassIDType | GetClassID () const override |
| Returns the unique class identifier for this model type. More... | |
| std::string | GetXName () const override |
| Returns the name of the independent variable used by the model (e.g. "x"). More... | |
| std::string | GetXAxisName () const override |
| Returns the display name of the x-axis (e.g. "Time"). More... | |
| std::string | GetXAxisUnit () const override |
| Returns the unit of the x-axis (e.g. "s", "ms"). More... | |
| std::string | GetYAxisName () const override |
| Returns the display name of the y-axis (e.g. "Signal Intensity"). More... | |
| std::string | GetYAxisUnit () const override |
| Returns the unit of the y-axis. More... | |
Public Member Functions inherited from mitk::ModelFactoryBase | |
| mitkClassMacroItkParent (ModelFactoryBase, itk::Object) | |
| ModelParameterizerBase::Pointer | CreateParameterizer (const modelFit::ModelFitInfo *fit) const |
| Creates a model parameterizer configured according to the given model fit info. More... | |
| virtual ParametersType | GetDefaultInitialParameterization () const =0 |
| Returns the default initial parameterization defined by the model developer. More... | |
Static Public Member Functions | |
| static ModelPointer | CreateConcreteModel () |
Protected Member Functions | |
| ConcreteModelFactoryBase () | |
| ~ConcreteModelFactoryBase () override | |
Protected Member Functions inherited from mitk::ModelFactoryBase | |
| virtual ModelParameterizerBase::Pointer | DoCreateParameterizer (const modelFit::ModelFitInfo *fit) const =0 |
| ModelFactoryBase () | |
| ~ModelFactoryBase () override | |
Protected Member Functions inherited from mitk::ModelTraitsInterface | |
| ModelTraitsInterface () | |
| virtual | ~ModelTraitsInterface () |
Protected Attributes | |
| ModelPointer | m_Reference |
Template base class for model factories that operate on a specific model type.
This class provides default implementations for all ModelTraitsInterface methods by delegating to a reference model instance. It also implements CreateModel() to instantiate the concrete model type TModel.
| TModel | The concrete model type this factory creates. |
Definition at line 35 of file mitkConcreteModelFactoryBase.h.
| typedef ModelFactoryBase::DerivedParameterNamesType mitk::ConcreteModelFactoryBase< TModel >::DerivedParameterNamesType |
Definition at line 56 of file mitkConcreteModelFactoryBase.h.
| typedef ModelFactoryBase::DerivedParametersSizeType mitk::ConcreteModelFactoryBase< TModel >::DerivedParametersSizeType |
Definition at line 57 of file mitkConcreteModelFactoryBase.h.
| typedef ModelFactoryBase::DerivedParamterScaleMapType mitk::ConcreteModelFactoryBase< TModel >::DerivedParamterScaleMapType |
Definition at line 58 of file mitkConcreteModelFactoryBase.h.
| typedef ModelFactoryBase::DerivedParamterUnitMapType mitk::ConcreteModelFactoryBase< TModel >::DerivedParamterUnitMapType |
Definition at line 59 of file mitkConcreteModelFactoryBase.h.
| typedef ModelFactoryBase::FunctionStringType mitk::ConcreteModelFactoryBase< TModel >::FunctionStringType |
Definition at line 60 of file mitkConcreteModelFactoryBase.h.
| typedef ModelFactoryBase::ModelBasePointer mitk::ConcreteModelFactoryBase< TModel >::ModelBasePointer |
Definition at line 46 of file mitkConcreteModelFactoryBase.h.
| typedef ModelFactoryBase::ModelBaseType mitk::ConcreteModelFactoryBase< TModel >::ModelBaseType |
Definition at line 45 of file mitkConcreteModelFactoryBase.h.
| typedef ModelFactoryBase::ModellClassIDType mitk::ConcreteModelFactoryBase< TModel >::ModellClassIDType |
Definition at line 61 of file mitkConcreteModelFactoryBase.h.
| typedef ModelType::Pointer mitk::ConcreteModelFactoryBase< TModel >::ModelPointer |
Definition at line 49 of file mitkConcreteModelFactoryBase.h.
| typedef TModel mitk::ConcreteModelFactoryBase< TModel >::ModelType |
Definition at line 48 of file mitkConcreteModelFactoryBase.h.
| typedef ModelFactoryBase::ParameterNamesType mitk::ConcreteModelFactoryBase< TModel >::ParameterNamesType |
Definition at line 52 of file mitkConcreteModelFactoryBase.h.
| typedef ModelFactoryBase::ParameterNameType mitk::ConcreteModelFactoryBase< TModel >::ParameterNameType |
Definition at line 51 of file mitkConcreteModelFactoryBase.h.
| typedef ModelFactoryBase::ParametersSizeType mitk::ConcreteModelFactoryBase< TModel >::ParametersSizeType |
Definition at line 53 of file mitkConcreteModelFactoryBase.h.
| typedef ModelFactoryBase::ParamterScaleMapType mitk::ConcreteModelFactoryBase< TModel >::ParamterScaleMapType |
Definition at line 54 of file mitkConcreteModelFactoryBase.h.
| typedef ModelFactoryBase::ParamterUnitMapType mitk::ConcreteModelFactoryBase< TModel >::ParamterUnitMapType |
Definition at line 55 of file mitkConcreteModelFactoryBase.h.
|
inlineprotected |
Definition at line 165 of file mitkConcreteModelFactoryBase.h.
References mitk::ConcreteModelFactoryBase< TModel >::m_Reference.
|
inlineoverrideprotected |
Definition at line 170 of file mitkConcreteModelFactoryBase.h.
|
inlinestatic |
Definition at line 63 of file mitkConcreteModelFactoryBase.h.
Referenced by mitk::ConcreteModelFactoryBase< TModel >::CreateModel().
|
inlineoverridevirtual |
Creates default constraints for the model fitting process.
These constraints should/can be used for fitting if the user does not specify custom ones.
Implements mitk::ModelFactoryBase.
Reimplemented in mitk::TwoTissueCompartmentModelFactoryBase< TwoTissueCompartmentModelParameterizer >, and mitk::TwoCompartmentExchangeModelFactoryBase< TwoCompartmentExchangeModelParameterizer >.
Definition at line 73 of file mitkConcreteModelFactoryBase.h.
|
inlineoverridevirtual |
Creates and returns a new instance of the model.
Implements mitk::ModelFactoryBase.
Definition at line 68 of file mitkConcreteModelFactoryBase.h.
References mitk::ConcreteModelFactoryBase< TModel >::CreateConcreteModel().
|
inlineoverridevirtual |
Returns the unique class identifier for this model type.
Implements mitk::ModelTraitsInterface.
Definition at line 134 of file mitkConcreteModelFactoryBase.h.
References mitk::ConcreteModelFactoryBase< TModel >::m_Reference.
|
inlineoverridevirtual |
Returns the names of derived parameters that can be computed by the model.
Implements mitk::ModelTraitsInterface.
Definition at line 99 of file mitkConcreteModelFactoryBase.h.
References mitk::ConcreteModelFactoryBase< TModel >::m_Reference.
|
inlineoverridevirtual |
Returns the scaling factors for all derived parameters.
Implements mitk::ModelTraitsInterface.
Definition at line 109 of file mitkConcreteModelFactoryBase.h.
References mitk::ConcreteModelFactoryBase< TModel >::m_Reference.
|
inlineoverridevirtual |
Returns the unit strings for all derived parameters.
Implements mitk::ModelTraitsInterface.
Definition at line 114 of file mitkConcreteModelFactoryBase.h.
References mitk::ConcreteModelFactoryBase< TModel >::m_Reference.
|
inlineoverridevirtual |
Returns a parsable function string representing the model equation.
Implements mitk::ModelTraitsInterface.
Definition at line 129 of file mitkConcreteModelFactoryBase.h.
References mitk::ConcreteModelFactoryBase< TModel >::m_Reference.
|
inlineoverridevirtual |
Returns the human-readable display name of the model.
Implements mitk::ModelTraitsInterface.
Definition at line 119 of file mitkConcreteModelFactoryBase.h.
References mitk::ConcreteModelFactoryBase< TModel >::m_Reference.
|
inlineoverridevirtual |
Returns the type/category string of the model (e.g. "Linear", "Pharmacokinetic").
Implements mitk::ModelTraitsInterface.
Definition at line 124 of file mitkConcreteModelFactoryBase.h.
References mitk::ConcreteModelFactoryBase< TModel >::m_Reference.
|
inlineoverridevirtual |
Returns the number of derived parameters that can be computed by the model.
Implements mitk::ModelTraitsInterface.
Definition at line 104 of file mitkConcreteModelFactoryBase.h.
References mitk::ConcreteModelFactoryBase< TModel >::m_Reference.
|
inlineoverridevirtual |
Returns the number of parameters that must be defined when using the model to compute the signal (GetSignal()).
Implements mitk::ModelTraitsInterface.
Definition at line 84 of file mitkConcreteModelFactoryBase.h.
References mitk::ConcreteModelFactoryBase< TModel >::m_Reference.
|
inlineoverridevirtual |
Returns the names of parameters that must be defined when using the model to compute the signal (GetSignal()).
Implements mitk::ModelTraitsInterface.
Definition at line 79 of file mitkConcreteModelFactoryBase.h.
References mitk::ConcreteModelFactoryBase< TModel >::m_Reference.
|
inlineoverridevirtual |
Returns the scaling factors for all model parameters.
Implements mitk::ModelTraitsInterface.
Definition at line 89 of file mitkConcreteModelFactoryBase.h.
References mitk::ConcreteModelFactoryBase< TModel >::m_Reference.
|
inlineoverridevirtual |
Returns the unit strings for all model parameters.
Implements mitk::ModelTraitsInterface.
Definition at line 94 of file mitkConcreteModelFactoryBase.h.
References mitk::ConcreteModelFactoryBase< TModel >::m_Reference.
|
inlineoverridevirtual |
Returns the display name of the x-axis (e.g. "Time").
Implements mitk::ModelTraitsInterface.
Definition at line 144 of file mitkConcreteModelFactoryBase.h.
References mitk::ConcreteModelFactoryBase< TModel >::m_Reference.
|
inlineoverridevirtual |
Returns the unit of the x-axis (e.g. "s", "ms").
Implements mitk::ModelTraitsInterface.
Definition at line 149 of file mitkConcreteModelFactoryBase.h.
References mitk::ConcreteModelFactoryBase< TModel >::m_Reference.
|
inlineoverridevirtual |
Returns the name of the independent variable used by the model (e.g. "x").
Implements mitk::ModelTraitsInterface.
Definition at line 139 of file mitkConcreteModelFactoryBase.h.
References mitk::ConcreteModelFactoryBase< TModel >::m_Reference.
|
inlineoverridevirtual |
Returns the display name of the y-axis (e.g. "Signal Intensity").
Implements mitk::ModelTraitsInterface.
Definition at line 154 of file mitkConcreteModelFactoryBase.h.
References mitk::ConcreteModelFactoryBase< TModel >::m_Reference.
|
inlineoverridevirtual |
Returns the unit of the y-axis.
Implements mitk::ModelTraitsInterface.
Definition at line 159 of file mitkConcreteModelFactoryBase.h.
References mitk::ConcreteModelFactoryBase< TModel >::m_Reference.
| mitk::ConcreteModelFactoryBase< TModel >::mitkClassMacro | ( | ConcreteModelFactoryBase< TModel > | , |
| ModelFactoryBase | |||
| ) |
|
protected |
Definition at line 174 of file mitkConcreteModelFactoryBase.h.
Referenced by mitk::ConcreteModelFactoryBase< TModel >::ConcreteModelFactoryBase(), mitk::ConcreteModelFactoryBase< TModel >::GetClassID(), mitk::ConcreteModelFactoryBase< TModel >::GetDerivedParameterNames(), mitk::ConcreteModelFactoryBase< TModel >::GetDerivedParameterScales(), mitk::ConcreteModelFactoryBase< TModel >::GetDerivedParameterUnits(), mitk::ConcreteModelFactoryBase< TModel >::GetFunctionString(), mitk::ConcreteModelFactoryBase< TModel >::GetModelDisplayName(), mitk::ConcreteModelFactoryBase< TModel >::GetModelType(), mitk::ConcreteModelFactoryBase< TModel >::GetNumberOfDerivedParameters(), mitk::ConcreteModelFactoryBase< TModel >::GetNumberOfParameters(), mitk::ConcreteModelFactoryBase< TModel >::GetParameterNames(), mitk::ConcreteModelFactoryBase< TModel >::GetParameterScales(), mitk::ConcreteModelFactoryBase< TModel >::GetParameterUnits(), mitk::ConcreteModelFactoryBase< TModel >::GetXAxisName(), mitk::ConcreteModelFactoryBase< TModel >::GetXAxisUnit(), mitk::ConcreteModelFactoryBase< TModel >::GetXName(), mitk::ConcreteModelFactoryBase< TModel >::GetYAxisName(), and mitk::ConcreteModelFactoryBase< TModel >::GetYAxisUnit().