Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
mitkModelFitInfoSignalGenerationFunctor.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 mitkModelFitInfoSignalGenerationFunctor_h
14 #define mitkModelFitInfoSignalGenerationFunctor_h
15 
18 #include "mitkModelFitInfo.h"
19 
21 
22 #include <MitkModelFitExports.h>
23 
24 namespace mitk
25 {
26 
35  {
36  public:
37 
42 
43  itkFactorylessNewMacro(Self);
45 
46  typedef std::vector<std::string> ParameterNamesType;
48  typedef itk::Array<ModelBase::ParameterValueType> ModelParametersType;
49 
50  itkSetConstObjectMacro(ModelParameterizer, ModelParameterizerBase);
51  itkGetConstObjectMacro(ModelParameterizer, ModelParameterizerBase);
52 
53  itkSetConstObjectMacro(FitInfo, mitk::modelFit::ModelFitInfo);
54  itkGetConstObjectMacro(FitInfo, mitk::modelFit::ModelFitInfo);
55 
56  IndexedValueFunctorBase::OutputPixelVectorType Compute(const InputPixelVectorType & value, const IndexType& currentIndex) const override;
59 
60  unsigned int GetNumberOfOutputs() const override;
61 
62  GridArrayType GetGrid() const override;
63 
64  protected:
68  virtual ModelBase::ParametersType CompileModelParameters(const IndexType& currentIndex, const ModelBase * model) const;
69 
71 
73 
74  private:
75  ModelParameterizerBase::ConstPointer m_ModelParameterizer;
76  modelFit::ModelFitInfo::ConstPointer m_FitInfo;
77 
78  };
79 }
80 
81 #endif
#define MITKMODELFIT_EXPORT
std::vector< InputImagePixelType > OutputPixelVectorType
std::vector< InputImagePixelType > InputPixelVectorType
Base class for (dynamic) models. A model can be used to calculate its signal given the discrete time ...
Definition: mitkModelBase.h:48
ModelTraitsInterface::ModelResultType ModelResultType
Definition: mitkModelBase.h:55
ModelTraitsInterface::ParametersType ParametersType
Definition: mitkModelBase.h:59
itk::Array< ModelBase::ParameterValueType > ModelParametersType
IndexedValueFunctorBase::OutputPixelVectorType Compute(const InputPixelVectorType &value, const IndexType &currentIndex) const override
GridArrayType GetGrid() const override
unsigned int GetNumberOfOutputs() const override
virtual IndexedValueFunctorBase::OutputPixelVectorType Compute(const IndexType &currentIndex) const
virtual ModelBase::ParametersType CompileModelParameters(const IndexType &currentIndex, const ModelBase *model) const
Data class that stores all information about a modelfit that is relevant to the visualization and sto...
Find image slices visible on a given plane.