Medical Imaging Interaction Toolkit  2018.4.99-b585543d
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 __GENERIC_PARAM_MODEL_PARAMETERIZER_H
13 #define __GENERIC_PARAM_MODEL_PARAMETERIZER_H
14 
16 #include "mitkGenericParamModel.h"
17 
18 namespace mitk
19 {
23  <GenericParamModel>
24  {
25  public:
30 
32  itkFactorylessNewMacro(Self);
33 
36 
37  typedef typename Superclass::ModelType ModelType;
39 
43 
44 
45  typedef typename Superclass::IndexType IndexType;
46 
47  itkSetMacro(FunctionString, mitk::ModelBase::FunctionStringType);
48 
50  itkSetClampMacro(NumberOfParameters, ParametersSizeType, 1, 10);
51 
52  mitk::ModelBase::FunctionStringType GetFunctionString() const override;
53 
54  using Superclass::GenerateParameterizedModel;
55  ModelBasePointer GenerateParameterizedModel(const IndexType& currentPosition) const override;
56 
57  StaticParameterMapType GetGlobalStaticParameters() const override;
58 
59  ParametersType GetDefaultInitialParameterization() const override;
60 
61  protected:
62 
65 
67 
70 
71  private:
72 
73  //No copy constructor allowed
74  GenericParamModelParameterizer(const Self& source);
75  void operator=(const Self&); //purposely not implemented
76  };
77 
78 }
79 #endif // __GENERIC_PARAM_MODEL_PARAMETERIZER_H
Superclass::StaticParameterValuesType StaticParameterValuesType
ParametersType::SizeValueType ParametersSizeType
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKMODELFIT_EXPORT
ConcreteModelParameterizerBase< GenericParamModel > Superclass
mitk::ModelBase::FunctionStringType m_FunctionString
Superclass::StaticParameterMapType StaticParameterMapType
Superclass::StaticParameterMapType StaticParameterMapType
ModelBaseType::ParametersType ParametersType
Superclass::StaticParameterValueType StaticParameterValueType