Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkGenericParamModelParameterizer.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 #ifndef mitkGenericParamModelParameterizer_h
13 #define mitkGenericParamModelParameterizer_h
14 
16 #include <mitkGenericParamModel.h>
17 
18 namespace mitk
19 {
30  <GenericParamModel>
31  {
32  public:
37 
39  itkFactorylessNewMacro(Self);
40 
43 
44  typedef typename Superclass::ModelType ModelType;
46 
50 
51 
52  typedef typename Superclass::IndexType IndexType;
53 
54  itkSetMacro(FunctionString, mitk::ModelBase::FunctionStringType);
55 
57  itkSetClampMacro(NumberOfParameters, ParametersSizeType, 1, 10);
58 
60 
61  using Superclass::GenerateParameterizedModel;
62  ModelBasePointer GenerateParameterizedModel(const IndexType& currentPosition) const override;
63 
65 
67 
68  protected:
69 
72 
74 
77 
78  private:
79 
80  //No copy constructor allowed
81  GenericParamModelParameterizer(const Self& source);
82  void operator=(const Self&); //purposely not implemented
83  };
84 
85 }
86 #endif
#define MITKMODELFIT_EXPORT
Template base class for parameterizers operating on a specific model type.
Parameterizer for the GenericParamModel.
mitk::ModelBase::FunctionStringType m_FunctionString
mitk::ModelBase::FunctionStringType GetFunctionString() const override
Returns a parsable function string representing the model equation.
ModelBasePointer GenerateParameterizedModel(const IndexType &currentPosition) const override
Superclass::StaticParameterMapType StaticParameterMapType
ParametersType GetDefaultInitialParameterization() const override
Returns the default initial parameterization defined by the model developer.
Superclass::StaticParameterValueType StaticParameterValueType
StaticParameterMapType GetGlobalStaticParameters() const override
Returns the global static parameters that are the same for all positions.
ConcreteModelParameterizerBase< GenericParamModel > Superclass
Superclass::StaticParameterValuesType StaticParameterValuesType
Model that uses a user-specified formula string as its model function.
ModelBaseType::ParametersType ParametersType
std::string FunctionStringType
Type for the function string representation of the model.
ParametersType::SizeValueType ParametersSizeType
Type for the count of parameters.
Find image slices visible on a given plane.