Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
mitkModelFactoryBase.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 mitkModelFactoryBase_h
14 #define mitkModelFactoryBase_h
15 
16 #include <itkObject.h>
17 
18 #include "mitkModelBase.h"
21 #include "mitkModelFitInfo.h"
23 
24 #include "MitkModelFitExports.h"
25 
26 namespace mitk
27 {
32  class MITKMODELFIT_EXPORT ModelFactoryBase : public itk::Object, public ModelTraitsInterface
33  {
34  public:
35  /*typedef ModelFactoryBase Self;
36  typedef itk::Object Superclass;
37  typedef itk::SmartPointer< Self > Pointer;
38  typedef itk::SmartPointer< const Self > ConstPointer;
39 */
41 
44 
48 
53 
58 
59  virtual ModelBasePointer CreateModel() const = 0;
60 
64 
70 
74 
75  protected:
77  const = 0;
78 
80  ~ModelFactoryBase() override;
81 
82  private:
83 
84  //No copy constructor allowed
85  ModelFactoryBase(const Self& source);
86  void operator=(const Self&); //purposely not implemented
87  };
88 }
89 
90 #endif
#define MITKMODELFIT_EXPORT
Base class for (dynamic) models. A model can be used to calculate its signal given the discrete time ...
Definition: mitkModelBase.h:48
ModelTraitsInterface::ModellClassIDType ModellClassIDType
virtual ModelBasePointer CreateModel() const =0
virtual ConstraintCheckerBase::Pointer CreateDefaultConstraints() const =0
ModelTraitsInterface::DerivedParamterUnitMapType DerivedParamterUnitMapType
ModelTraitsInterface::ParamterScaleMapType ParamterScaleMapType
ModelBaseType::Pointer ModelBasePointer
ModelParameterizerBase::Pointer CreateParameterizer(const modelFit::ModelFitInfo *fit) const
virtual ParametersType GetDefaultInitialParameterization() const =0
ModelTraitsInterface::ParameterNamesType ParameterNamesType
ModelTraitsInterface::DerivedParamterScaleMapType DerivedParamterScaleMapType
ModelTraitsInterface::DerivedParametersSizeType DerivedParametersSizeType
ModelTraitsInterface::FunctionStringType FunctionStringType
ModelTraitsInterface::DerivedParameterNamesType DerivedParameterNamesType
mitkClassMacroItkParent(ModelFactoryBase, itk::Object)
ModelTraitsInterface::ParamterUnitMapType ParamterUnitMapType
ModelTraitsInterface::ParametersSizeType ParametersSizeType
~ModelFactoryBase() override
ModelTraitsInterface::ParameterNameType ParameterNameType
virtual ModelParameterizerBase::Pointer DoCreateParameterizer(const modelFit::ModelFitInfo *fit) const =0
std::map< ParameterNameType, double > ParamterScaleMapType
ParametersType::SizeValueType ParametersSizeType
ParametersSizeType DerivedParametersSizeType
std::map< ParameterNameType, std::string > ParamterUnitMapType
itk::Array< ParameterValueType > ParametersType
std::map< ParameterNameType, std::string > DerivedParamterUnitMapType
std::map< ParameterNameType, double > DerivedParamterScaleMapType
ParameterNamesType DerivedParameterNamesType
std::vector< ParameterNameType > ParameterNamesType
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.