Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
mitkConcreteAIFBasedModelFactory.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 mitkConcreteAIFBasedModelFactory_h
13 #define mitkConcreteAIFBasedModelFactory_h
14 
17 
18 namespace mitk
19 {
20 
21  template <class TModelParameterizer>
23  mitk::ConcreteModelFactoryBase<typename TModelParameterizer::ModelType>
24  {
25  public:
28 
29  typedef typename Superclass::ModelType ModelType;
30  typedef TModelParameterizer ModelParameterizerType;
31 
32  protected:
34  const override
35  {
37 
38  typename ModelParameterizerType::Pointer modelParameterizer =
39  ModelParameterizerType::New();
40 
42  ModelType::NAME_STATIC_PARAMETER_AIF);
43 
44  modelParameterizer->SetAIF(mitk::convertParameterToArray(aif));
45 
47  ModelType::NAME_STATIC_PARAMETER_AIFTimeGrid);
48  modelParameterizer->SetAIFTimeGrid(mitk::convertParameterToArray(aifGrid));
49 
50  result = modelParameterizer.GetPointer();
51 
52  return result;
53  };
54 
56  {
57  };
58 
60  {
61  };
62 
63  private:
64 
65  //No copy constructor allowed
66  ConcreteAIFBasedModelFactory(const Self& source);
67  void operator=(const Self&); //purposely not implemented
68 
69  };
70 
71 }
72 #endif
mitk::convertParameterToArray
MITKPHARMACOKINETICS_EXPORT itk::Array< double > convertParameterToArray(ModelBase::StaticParameterValuesType)
mitk::modelFit::ModelFitInfo
Data class that stores all information about a modelfit that is relevant to the visualization and sto...
Definition: mitkModelFitInfo.h:36
mitk::ConcreteModelFactoryBase
Definition: mitkConcreteModelFactoryBase.h:23
itk::SmartPointer< Self >
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::ConcreteAIFBasedModelFactory
Definition: mitkConcreteAIFBasedModelFactory.h:22
mitk::modelFit::ModelFitInfo::staticParamMap
StaticParameterMap staticParamMap
Definition: mitkModelFitInfo.h:109
mitk::modelFit::StaticParameterMap::Get
const ValueType & Get(const std::string &name) const
Returns the values of the given variable name.
mitk::ConcreteAIFBasedModelFactory::~ConcreteAIFBasedModelFactory
~ConcreteAIFBasedModelFactory() override
Definition: mitkConcreteAIFBasedModelFactory.h:59
mitk::ConcreteAIFBasedModelFactory::ModelParameterizerType
TModelParameterizer ModelParameterizerType
Definition: mitkConcreteAIFBasedModelFactory.h:30
mitk::ConcreteAIFBasedModelFactory::DoCreateParameterizer
ModelParameterizerBase::Pointer DoCreateParameterizer(const modelFit::ModelFitInfo *fit) const override
Definition: mitkConcreteAIFBasedModelFactory.h:33
mitk::modelFit::StaticParameterMap::ValueType
ModelBase::StaticParameterValuesType ValueType
Type of the map value.
Definition: mitkModelFitStaticParameterMap.h:36
mitk::ConcreteAIFBasedModelFactory::ConcreteAIFBasedModelFactory
ConcreteAIFBasedModelFactory()
Definition: mitkConcreteAIFBasedModelFactory.h:55
mitk::ConcreteAIFBasedModelFactory::mitkClassMacro
mitkClassMacro(ConcreteAIFBasedModelFactory, ConcreteModelFactoryBase< typename TModelParameterizer::ModelType >)
mitkAIFParametrizerHelper.h
mitkConcreteModelFactoryBase.h
mitk::ConcreteAIFBasedModelFactory::ModelType
Superclass::ModelType ModelType
Definition: mitkConcreteAIFBasedModelFactory.h:29