13 #ifndef mitkTwoStepLinearModel_h
14 #define mitkTwoStepLinearModel_h
36 itkFactorylessNewMacro(
Self);
42 static const std::
string NAME_PARAMETER_y0;
43 static const std::
string NAME_PARAMETER_x0;
44 static const std::
string NAME_PARAMETER_b0;
45 static const std::
string NAME_PARAMETER_b1;
47 static const
unsigned int NUMBER_OF_PARAMETERS;
49 static const std::
string UNIT_PARAMETER_y0;
50 static const std::
string UNIT_PARAMETER_x0;
51 static const std::
string UNIT_PARAMETER_b0;
52 static const std::
string UNIT_PARAMETER_b1;
54 static const
unsigned int POSITION_PARAMETER_y0;
55 static const
unsigned int POSITION_PARAMETER_x0;
56 static const
unsigned int POSITION_PARAMETER_b0;
57 static const
unsigned int POSITION_PARAMETER_b1;
59 static const std::
string NAME_DERIVED_PARAMETER_auc;
60 static const std::
string NAME_DERIVED_PARAMETER_y_fin;
61 static const std::
string NAME_DERIVED_PARAMETER_y_max;
62 static const std::
string NAME_DERIVED_PARAMETER_y1;
64 static const
unsigned int NUMBER_OF_DERIVED_PARAMETERS;
66 static const std::
string UNIT_DERIVED_PARAMETER_auc;
67 static const std::
string UNIT_DERIVED_PARAMETER_y_fin;
68 static const std::
string UNIT_DERIVED_PARAMETER_y_max;
69 static const std::
string UNIT_DERIVED_PARAMETER_y1;
71 static const
unsigned int NUMBER_OF_STATIC_PARAMETERS;
73 static const std::
string MODEL_DISPLAY_NAME;
75 static const std::
string MODEL_TYPE;
77 static const std::
string FUNCTION_STRING;
79 static const std::
string X_NAME;
81 static const std::
string X_AXIS_NAME;
83 static const std::
string X_AXIS_UNIT;
85 static const std::
string Y_AXIS_NAME;
87 static const std::
string Y_AXIS_UNIT;
106 std::
string GetModelDisplayName() const override;
108 std::
string GetModelType() const override;
112 std::
string GetXName() const override;
114 std::
string GetXAxisName() const override;
116 std::
string GetXAxisUnit() const override;
118 std::
string GetYAxisName() const override;
120 std::
string GetYAxisUnit() const override;
132 virtual itk::LightObject::Pointer InternalClone()
const;
134 virtual ModelResultType ComputeModelfunction(
const ParametersType& parameters)
const;
138 virtual void SetStaticParameter(
const ParameterNameType& name,
139 const StaticParameterValuesType& values);
140 virtual StaticParameterValuesType GetStaticParameterValue(
const ParameterNameType& name)
const;
142 static double ComputeSignalFromParameters(
double x,
double t,
double a1,
double a2,
double b1,
double b2);
148 void operator=(
const Self&);