Medical Imaging Interaction Toolkit  2021.10.99-9c07a326
Medical Imaging Interaction Toolkit
mitkImageBasedParameterizationDelegate.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 
13 #ifndef MITKIMAGEBASEDPARAMETERIZATIONDELEGATE_H
14 #define MITKIMAGEBASEDPARAMETERIZATIONDELEGATE_H
15 
17 #include <itkIndex.h>
18 #include <itkObject.h>
19 
20 #include "mitkModelBase.h"
21 #include "mitkImage.h"
23 
24 #include "MitkModelFitExports.h"
25 
26 namespace mitk {
27 
29 {
30 public:
31 
36 
38  itkFactorylessNewMacro(Self);
39  itkCloneMacro(Self);
40 
42 
44 
46 
48 
52  ParametersType GetInitialParameterization() const override;
53  ParametersType GetInitialParameterization(const IndexType& currentPosition) const override;
54 
63  void AddInitialParameterImage(const mitk::Image* image, ParametersType::size_type paramIndex);
64 protected:
65 
66  typedef std::map<ParametersType::size_type, mitk::Image::ConstPointer> ImageMapType;
67  ImageMapType m_ParameterImageMap;
68 
70 
72 
73 private:
74 
75  //No copy constructor allowed
76  ImageBasedParameterizationDelegate(const Self& source);
77  void operator=(const Self&); //purposely not implemented
78 };
79 
80 }
81 #endif // MITKTWOCXINITIALPARAMETERIZATIONDELEGATE_H
std::map< ParametersType::size_type, mitk::Image::ConstPointer > ImageMapType
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKMODELFIT_EXPORT
Image class for storing images.
Definition: mitkImage.h:69