Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
Medical Imaging Interaction Toolkit
mitkNumericTwoCompartmentExchangeModelFactory.cpp
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 
14 
15 
18 
20 {
21 };
22 
24 {
25 };
26 
29  const modelFit::ModelFitInfo* fit)
30 const
31 {
33 
34  ModelParameterizerType::Pointer modelParameterizer =
36 
38  ModelType::NAME_STATIC_PARAMETER_AIF);
39 
40  modelParameterizer->SetAIF(mitk::convertParameterToArray(aif));
41 
43  ModelType::NAME_STATIC_PARAMETER_AIFTimeGrid);
44  modelParameterizer->SetAIFTimeGrid(mitk::convertParameterToArray(aifGrid));
45 
47  ModelType::NAME_STATIC_PARAMETER_ODEINTStepSize);
48  modelParameterizer->SetODEINTStepSize(odeStepSize[0]);
49 
50 
51  result = modelParameterizer.GetPointer();
52 
53  return result;
54 };
ModelBase::StaticParameterValuesType ValueType
Type of the map value.
StaticParameterMap staticParamMap
const ValueType & Get(const std::string &name) const
Returns the values of the given variable name.
MITKPHARMACOKINETICS_EXPORT itk::Array< double > convertParameterToArray(ModelBase::StaticParameterValuesType)
Data class that stores all information about a modelfit that is relevant to the visualization and sto...
ModelParameterizerBase::Pointer DoCreateParameterizer(const modelFit::ModelFitInfo *fit) const override