13 #ifndef mitkThreeStepLinearModel_h
14 #define mitkThreeStepLinearModel_h
47 itkFactorylessNewMacro(
Self);
150 parameters)
const override;
160 void operator=(
const Self&);
#define MITKMODELFIT_EXPORT
Base class for (dynamic) models.
ModelTraitsInterface::ParametersSizeType ParametersSizeType
ModelTraitsInterface::ParameterNamesType ParameterNamesType
std::map< ParameterNameType, DerivedParameterValueType > DerivedParameterMapType
std::vector< StaticParameterValueType > StaticParameterValuesType
ModelTraitsInterface::ParameterNameType ParameterNameType
ModelTraitsInterface::ModelResultType ModelResultType
ModelTraitsInterface::ParametersType ParametersType
std::string FunctionStringType
Type for the function string representation of the model.
std::map< ParameterNameType, std::string > ParamterUnitMapType
Map type associating parameter names to their unit strings.
Piecewise linear model with three segments and two transition points.
static const std::string NAME_DERIVED_PARAMETER_x_fin
static const unsigned int NUMBER_OF_DERIVED_PARAMETERS
static const std::string UNIT_PARAMETER_x1
static const unsigned int POSITION_PARAMETER_b0
static const std::string MODEL_TYPE
static const unsigned int NUMBER_OF_PARAMETERS
static const std::string NAME_PARAMETER_b1
ParamterUnitMapType GetDerivedParameterUnits() const override
Default implementation returns no unit string ("") for every defined derived parameter.
static const std::string MODEL_DISPLAY_NAME
static const std::string UNIT_PARAMETER_y_bl
static double ComputeSignalFromParameters(double x, double s0, double t1, double t2, double a1, double a2, double b1, double b2)
mitk::ModelBase Superclass
std::string GetModelDisplayName() const override
Default implementation returns GetClassID as display name.
static const std::string UNIT_PARAMETER_b0
itk::SmartPointer< Self > Pointer
static const unsigned int POSITION_PARAMETER_x1
std::string GetXAxisName() const override
Default implementation returns an empty string.
static const std::string NAME_PARAMETER_x0
ParameterNamesType GetStaticParameterNames() const override
Returns the names of static parameters used when computing the signal.
static const std::string UNIT_PARAMETER_b1
static const std::string NAME_PARAMETER_b0
ThreeStepLinearModel Self
static const unsigned int NUMBER_OF_STATIC_PARAMETERS
static const std::string NAME_DERIVED_PARAMETER_y_fin
static const unsigned int POSITION_PARAMETER_b1
ParamterUnitMapType GetParameterUnits() const override
Default implementation returns no unit string ("") for every defined parameter.
ParametersSizeType GetNumberOfDerivedParameters() const override
Returns the number of derived parameters that can be computed by the model.
std::string GetXName() const override
Default implementation returns an empty string.
static const std::string X_NAME
static const std::string Y_AXIS_NAME
static const std::string Y_AXIS_UNIT
static const unsigned int POSITION_PARAMETER_y_bl
std::string GetYAxisUnit() const override
Default implementation returns an empty string.
~ThreeStepLinearModel() override
itk::SmartPointer< const Self > ConstPointer
std::string GetXAxisUnit() const override
Default implementation returns an empty string.
static const std::string UNIT_DERIVED_PARAMETER_auc
FunctionStringType GetFunctionString() const override
Default implementation returns an empty function string.
static const std::string NAME_PARAMETER_x1
std::string GetYAxisName() const override
Default implementation returns an empty string.
static const std::string UNIT_PARAMETER_x0
ParametersSizeType GetNumberOfParameters() const override
Returns the number of parameters that must be defined when using the model to compute the signal (Get...
Superclass::ParametersSizeType ParametersSizeType
static const std::string UNIT_DERIVED_PARAMETER_y_fin
static const std::string X_AXIS_UNIT
void SetStaticParameter(const ParameterNameType &name, const StaticParameterValuesType &values) override
Sets a single static parameter by name.
static const unsigned int POSITION_PARAMETER_x0
static const std::string UNIT_DERIVED_PARAMETER_y1
ParameterNamesType GetParameterNames() const override
Returns the names of parameters that must be defined when using the model to compute the signal (GetS...
static const std::string NAME_DERIVED_PARAMETER_y1
static const std::string UNIT_DERIVED_PARAMETER_y_max
std::string GetModelType() const override
Default implementation returns "Unknown" as model type.
static const std::string X_AXIS_NAME
ParametersSizeType GetNumberOfStaticParameters() const override
Returns the number of static parameters.
static const std::string NAME_DERIVED_PARAMETER_y2
DerivedParameterMapType ComputeDerivedParameters(const mitk::ModelBase::ParametersType ¶meters) const override
Computes derived parameters from the given model parameters.
static const std::string NAME_DERIVED_PARAMETER_auc
static const std::string UNIT_DERIVED_PARAMETER_y2
static const std::string FUNCTION_STRING
static const std::string NAME_DERIVED_PARAMETER_y_max
StaticParameterValuesType GetStaticParameterValue(const ParameterNameType &name) const override
Retrieves a single static parameter value by name.
static const std::string UNIT_DERIVED_PARAMETER_x_fin
ThreeStepLinearModel(const ThreeStepLinearModel &source)
ParameterNamesType GetDerivedParameterNames() const override
Returns the names of derived parameters that can be computed by the model.
Superclass::ParameterNameType ParameterNameType
static const std::string NAME_PARAMETER_y_bl
mitkCloneMacro(ThreeStepLinearModel)
ModelResultType ComputeModelfunction(const ParametersType ¶meters) const override
Computes the model function for the given parameters.
Find image slices visible on a given plane.