Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitk::ConcreteAIFBasedModelFactory< TModelParameterizer > Class Template Reference

Template factory class for AIF-based pharmacokinetic models. More...

#include <mitkConcreteAIFBasedModelFactory.h>

Inheritance diagram for mitk::ConcreteAIFBasedModelFactory< TModelParameterizer >:
Collaboration diagram for mitk::ConcreteAIFBasedModelFactory< TModelParameterizer >:

Public Types

typedef Superclass::ModelType ModelType
 
typedef TModelParameterizer ModelParameterizerType
 
- Public Types inherited from mitk::ConcreteModelFactoryBase< TModelParameterizer::ModelType >
typedef ModelFactoryBase::ModelBaseType ModelBaseType
 
typedef ModelFactoryBase::ModelBasePointer ModelBasePointer
 
typedef TModelParameterizer::ModelType ModelType
 
typedef ModelType::Pointer ModelPointer
 
typedef ModelFactoryBase::ParameterNameType ParameterNameType
 
typedef ModelFactoryBase::ParameterNamesType ParameterNamesType
 
typedef ModelFactoryBase::ParametersSizeType ParametersSizeType
 
typedef ModelFactoryBase::ParamterScaleMapType ParamterScaleMapType
 
typedef ModelFactoryBase::ParamterUnitMapType ParamterUnitMapType
 
typedef ModelFactoryBase::DerivedParameterNamesType DerivedParameterNamesType
 
typedef ModelFactoryBase::DerivedParametersSizeType DerivedParametersSizeType
 
typedef ModelFactoryBase::DerivedParamterScaleMapType DerivedParamterScaleMapType
 
typedef ModelFactoryBase::DerivedParamterUnitMapType DerivedParamterUnitMapType
 
typedef ModelFactoryBase::FunctionStringType FunctionStringType
 
typedef ModelFactoryBase::ModellClassIDType ModellClassIDType
 
- Public Types inherited from mitk::ModelFactoryBase
typedef ModelBase ModelBaseType
 
typedef ModelBaseType::Pointer ModelBasePointer
 
typedef ModelTraitsInterface::ParameterNameType ParameterNameType
 
typedef ModelTraitsInterface::ParameterNamesType ParameterNamesType
 
typedef ModelTraitsInterface::ParametersSizeType ParametersSizeType
 
typedef ModelTraitsInterface::ParamterScaleMapType ParamterScaleMapType
 
typedef ModelTraitsInterface::ParamterUnitMapType ParamterUnitMapType
 
typedef ModelTraitsInterface::FunctionStringType FunctionStringType
 
typedef ModelTraitsInterface::ModellClassIDType ModellClassIDType
 
typedef ModelTraitsInterface::DerivedParameterNamesType DerivedParameterNamesType
 
typedef ModelTraitsInterface::DerivedParametersSizeType DerivedParametersSizeType
 
typedef ModelTraitsInterface::DerivedParamterScaleMapType DerivedParamterScaleMapType
 
typedef ModelTraitsInterface::DerivedParamterUnitMapType DerivedParamterUnitMapType
 
- Public Types inherited from mitk::ModelTraitsInterface
typedef itk::Array< double > ModelResultType
 Type representing the model output signal as an array of doubles. More...
 
using ParameterValueType = double
 Type of a single parameter value. More...
 
typedef itk::Array< ParameterValueType > ParametersType
 Type representing a vector of parameter values. More...
 
typedef std::string ParameterNameType
 Type used for parameter names. More...
 
typedef std::vector< ParameterNameType > ParameterNamesType
 Type for a list of parameter names. More...
 
typedef ParametersType::SizeValueType ParametersSizeType
 Type for the count of parameters. More...
 
typedef ParameterNamesType DerivedParameterNamesType
 Type for a list of derived parameter names. More...
 
typedef ParametersSizeType DerivedParametersSizeType
 Type for the count of derived parameters. More...
 
typedef std::map< ParameterNameType, double > ParamterScaleMapType
 Map type associating parameter names to their scaling factors. More...
 
typedef std::map< ParameterNameType, std::string > ParamterUnitMapType
 Map type associating parameter names to their unit strings. More...
 
typedef std::map< ParameterNameType, double > DerivedParamterScaleMapType
 Map type associating derived parameter names to their scaling factors. More...
 
typedef std::map< ParameterNameType, std::string > DerivedParamterUnitMapType
 Map type associating derived parameter names to their unit strings. More...
 
typedef std::string FunctionStringType
 Type for the function string representation of the model. More...
 
typedef std::string ModellClassIDType
 Type for the unique class identifier of the model. More...
 

Public Member Functions

 mitkClassMacro (ConcreteAIFBasedModelFactory, ConcreteModelFactoryBase< typename TModelParameterizer::ModelType >)
 
- Public Member Functions inherited from mitk::ConcreteModelFactoryBase< TModelParameterizer::ModelType >
 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...
 

Protected Member Functions

ModelParameterizerBase::Pointer DoCreateParameterizer (const modelFit::ModelFitInfo *fit) const override
 
 ConcreteAIFBasedModelFactory ()
 
 ~ConcreteAIFBasedModelFactory () override
 
- Protected Member Functions inherited from mitk::ConcreteModelFactoryBase< TModelParameterizer::ModelType >
 ConcreteModelFactoryBase ()
 
 ~ConcreteModelFactoryBase () override
 
- Protected Member Functions inherited from mitk::ModelFactoryBase
 ModelFactoryBase ()
 
 ~ModelFactoryBase () override
 
- Protected Member Functions inherited from mitk::ModelTraitsInterface
 ModelTraitsInterface ()
 
virtual ~ModelTraitsInterface ()
 

Additional Inherited Members

- Static Public Member Functions inherited from mitk::ConcreteModelFactoryBase< TModelParameterizer::ModelType >
static ModelPointer CreateConcreteModel ()
 
- Protected Attributes inherited from mitk::ConcreteModelFactoryBase< TModelParameterizer::ModelType >
ModelPointer m_Reference
 

Detailed Description

template<class TModelParameterizer>
class mitk::ConcreteAIFBasedModelFactory< TModelParameterizer >

Template factory class for AIF-based pharmacokinetic models.

This factory creates model parameterizer instances for AIF-based models, restoring the AIF values and AIF time grid from a persisted ModelFitInfo object. It serves as the concrete factory for any model whose parameterizer derives from AIFBasedModelParameterizerBase.

Template Parameters
TModelParameterizerThe concrete parameterizer type for the AIF-based model.
See also
ConcreteModelFactoryBase, AIFBasedModelParameterizerBase

Definition at line 33 of file mitkConcreteAIFBasedModelFactory.h.

Member Typedef Documentation

◆ ModelParameterizerType

template<class TModelParameterizer >
typedef TModelParameterizer mitk::ConcreteAIFBasedModelFactory< TModelParameterizer >::ModelParameterizerType

Definition at line 41 of file mitkConcreteAIFBasedModelFactory.h.

◆ ModelType

template<class TModelParameterizer >
typedef Superclass::ModelType mitk::ConcreteAIFBasedModelFactory< TModelParameterizer >::ModelType

Definition at line 40 of file mitkConcreteAIFBasedModelFactory.h.

Constructor & Destructor Documentation

◆ ConcreteAIFBasedModelFactory()

template<class TModelParameterizer >
mitk::ConcreteAIFBasedModelFactory< TModelParameterizer >::ConcreteAIFBasedModelFactory ( )
inlineprotected

Definition at line 66 of file mitkConcreteAIFBasedModelFactory.h.

◆ ~ConcreteAIFBasedModelFactory()

template<class TModelParameterizer >
mitk::ConcreteAIFBasedModelFactory< TModelParameterizer >::~ConcreteAIFBasedModelFactory ( )
inlineoverrideprotected

Definition at line 70 of file mitkConcreteAIFBasedModelFactory.h.

Member Function Documentation

◆ DoCreateParameterizer()

template<class TModelParameterizer >
ModelParameterizerBase::Pointer mitk::ConcreteAIFBasedModelFactory< TModelParameterizer >::DoCreateParameterizer ( const modelFit::ModelFitInfo *  fit) const
inlineoverrideprotectedvirtual

◆ mitkClassMacro()

template<class TModelParameterizer >
mitk::ConcreteAIFBasedModelFactory< TModelParameterizer >::mitkClassMacro ( ConcreteAIFBasedModelFactory< TModelParameterizer >  ,
ConcreteModelFactoryBase< typename TModelParameterizer::ModelType >   
)

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