|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Model that uses a user-specified formula string as its model function. More...
#include <mitkGenericParamModel.h>


Public Member Functions | |
| Pointer | Clone () const |
| virtual const char * | GetClassName () const |
| 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... | |
| virtual void | SetFunctionString (const char *_arg) |
| virtual void | SetNumberOfParameters (ParametersSizeType _arg) |
| std::string | GetXName () const override |
| Returns the name of the independent variable used by the model (e.g. "x"). 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... | |
| ParamterUnitMapType | GetParameterUnits () const override |
| Returns the unit strings for all model parameters. More... | |
| ParameterNamesType | GetStaticParameterNames () const override |
| Returns the names of static parameters used when computing the signal. More... | |
| ParametersSizeType | GetNumberOfStaticParameters () const override |
| Returns the number of static parameters. More... | |
Public Member Functions inherited from mitk::ModelBase | |
| ParamterScaleMapType | GetParameterScales () const override |
| Default implementation returns a scale of 1.0 for every defined parameter. More... | |
| ParamterUnitMapType | GetParameterUnits () const override |
| Default implementation returns no unit string ("") for every defined parameter. More... | |
| DerivedParamterScaleMapType | GetDerivedParameterScales () const override |
| Default implementation returns a scale of 1.0 for every defined derived parameter. More... | |
| DerivedParamterUnitMapType | GetDerivedParameterUnits () const override |
| Default implementation returns no unit string ("") for every defined derived parameter. More... | |
| std::string | GetModelDisplayName () const override |
| Default implementation returns GetClassID as display name. More... | |
| std::string | GetModelType () const override |
| Default implementation returns "Unknown" as model type. More... | |
| FunctionStringType | GetFunctionString () const override |
| Default implementation returns an empty function string. More... | |
| ModellClassIDType | GetClassID () const override |
| Default implementation returns the class name of the concrete instance as ID. More... | |
| std::string | GetXName () const override |
| Default implementation returns an empty string. More... | |
| std::string | GetXAxisName () const override |
| Default implementation returns an empty string. More... | |
| std::string | GetXAxisUnit () const override |
| Default implementation returns an empty string. More... | |
| std::string | GetYAxisName () const override |
| Default implementation returns an empty string. More... | |
| std::string | GetYAxisUnit () const override |
| Default implementation returns an empty string. More... | |
| virtual ParamterUnitMapType | GetStaticParameterUnits () const |
| Default implementation returns no unit string ("") for every defined static parameter. More... | |
| DerivedParameterNamesType | GetDerivedParameterNames () const override |
| Returns the names of derived parameters that can be computed by the model. More... | |
| DerivedParametersSizeType | GetNumberOfDerivedParameters () const override |
| Returns the number of derived parameters that can be computed by the model. More... | |
| void | SetStaticParameters (const StaticParameterMapType ¶meters, bool allParameters=true) |
| Sets the static parameters of the model before it is used. More... | |
| StaticParameterMapType | GetStaticParameters () const |
| Retrieves the static parameters of the model (e.g. for serialization). More... | |
| DerivedParameterMapType | GetDerivedParameters (const ParametersType ¶meters) const |
| Computes all derived parameters for the given model parameters. More... | |
| virtual void | SetTimeGrid (const TimeGridType &grid) |
| Sets the time grid of the model. More... | |
| virtual const TimeGridType & | GetTimeGrid () |
| Gets the time grid of the model. More... | |
| ModelResultType | GetSignal (const ParametersType ¶meters) const |
| Computes and returns the model signal for the given parameters. More... | |
Static Public Member Functions | |
| static Pointer | New () |
Static Public Attributes | |
| static const std::string | NAME_STATIC_PARAMETER_number |
Protected Member Functions | |
| GenericParamModel () | |
| ~GenericParamModel () override | |
| GenericParamModel (const GenericParamModel &source) | |
| mitkCloneMacro (GenericParamModel) | |
| ModelResultType | ComputeModelfunction (const ParametersType ¶meters) const override |
| Computes the model function for the given parameters. More... | |
| void | SetStaticParameter (const ParameterNameType &name, const StaticParameterValuesType &values) override |
| Sets a single static parameter by name. More... | |
| StaticParameterValuesType | GetStaticParameterValue (const ParameterNameType &name) const override |
| Retrieves a single static parameter value by name. More... | |
Protected Member Functions inherited from mitk::ModelBase | |
| virtual bool | ValidateModel (std::string &error) const |
| Validates whether the model is in a valid state to compute the signal. More... | |
| virtual DerivedParameterMapType | ComputeDerivedParameters (const ParametersType ¶meters) const |
| Computes derived parameters from the given model parameters. More... | |
| ModelBase () | |
| ~ModelBase () override | |
| ModelBase (const ModelBase &source) | |
| void | PrintSelf (std::ostream &os, ::itk::Indent indent) const override |
Protected Member Functions inherited from mitk::ModelTraitsInterface | |
| ModelTraitsInterface () | |
| virtual | ~ModelTraitsInterface () |
Additional Inherited Members | |
Protected Attributes inherited from mitk::ModelBase | |
| TimeGridType | m_TimeGrid |
Model that uses a user-specified formula string as its model function.
The parser used to interpret the string can handle simple mathematical formulas (e.g. "3.5 + a * x * sin(x) - 1 / 2"). It recognizes:
Definition at line 42 of file mitkGenericParamModel.h.
| typedef itk::SmartPointer< const Self > mitk::GenericParamModel::ConstPointer |
Definition at line 49 of file mitkGenericParamModel.h.
Definition at line 51 of file mitkGenericParamModel.h.
Definition at line 52 of file mitkGenericParamModel.h.
Definition at line 48 of file mitkGenericParamModel.h.
Definition at line 46 of file mitkGenericParamModel.h.
Definition at line 47 of file mitkGenericParamModel.h.
|
protected |
|
inlineoverrideprotected |
Definition at line 87 of file mitkGenericParamModel.h.
|
protected |
| Pointer mitk::GenericParamModel::Clone | ( | ) | const |
|
overrideprotectedvirtual |
Computes the model function for the given parameters.
Must be implemented by derived classes.
| parameters | The model parameters. |
Implements mitk::ModelBase.
|
virtual |
Run-time type information (and related methods).
Reimplemented from mitk::ModelBase.
|
overridevirtual |
Returns a parsable function string representing the model equation.
Implements mitk::ModelTraitsInterface.
|
overridevirtual |
Returns the human-readable display name of the model.
Implements mitk::ModelTraitsInterface.
|
overridevirtual |
Returns the type/category string of the model (e.g. "Linear", "Pharmacokinetic").
Implements mitk::ModelTraitsInterface.
|
overridevirtual |
Returns the number of parameters that must be defined when using the model to compute the signal (GetSignal()).
Implements mitk::ModelTraitsInterface.
|
overridevirtual |
Returns the number of static parameters.
Implements mitk::ModelBase.
|
overridevirtual |
Returns the names of parameters that must be defined when using the model to compute the signal (GetSignal()).
Implements mitk::ModelTraitsInterface.
|
overridevirtual |
Returns the unit strings for all model parameters.
Implements mitk::ModelTraitsInterface.
|
overridevirtual |
Returns the names of static parameters used when computing the signal.
Static parameters are not part of the fitting scope but configure the model.
Implements mitk::ModelBase.
|
overrideprotectedvirtual |
Retrieves a single static parameter value by name.
Helper function called by GetStaticParameters(). Must be implemented in derived classes.
Implements mitk::ModelBase.
|
overridevirtual |
Returns the name of the independent variable used by the model (e.g. "x").
Implements mitk::ModelTraitsInterface.
|
protected |
|
static |
Method for creation through the object factory.
|
virtual |
|
virtual |
|
overrideprotectedvirtual |
Sets a single static parameter by name.
Helper function called by SetStaticParameters(). Must be implemented in derived classes.
Implements mitk::ModelBase.
|
static |
Definition at line 61 of file mitkGenericParamModel.h.