Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkModelGenerator.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 mitkModelGenerator_h
14 #define mitkModelGenerator_h
15 
16 #include <mitkModelBase.h>
17 #include <mitkModelFactoryBase.h>
19 
20 #include <mitkModelFitInfo.h>
21 
22 #include <mitkIModelFitProvider.h>
23 
24 #include <MitkModelFitExports.h>
25 
26 namespace mitk
27 {
28 
39  {
40  public:
42 
48  static ModelFactoryBase::Pointer GetModelFactory(const ModelClassIDType& id);
49 
56  fit);
57 
64 
65  protected:
67  virtual ~ModelGenerator();
68 
69  private:
70  //No copy constructor allowed
71  ModelGenerator(const ModelGenerator& source);
72  void operator=(const ModelGenerator&); //purposely not implemented
73  };
74 }
75 
76 #endif
#define MITKMODELFIT_EXPORT
ModelTraitsInterface::ModellClassIDType ModellClassIDType
Utility class for creating model factories and parameterizers from model class IDs.
static ModelParameterizerBase::Pointer GenerateModelParameterizer(const modelFit::ModelFitInfo &fit)
Generates a model parameterizer from a model fit info instance.
static IModelFitProvider * GetProviderService(const ModelClassIDType &id)
Returns the IModelFitProvider service for the given model class ID.
virtual ~ModelGenerator()
static ModelFactoryBase::Pointer GetModelFactory(const ModelClassIDType &id)
Returns a factory instance for the given model class ID.
ModelFactoryBase::ModellClassIDType ModelClassIDType
Data class that stores all information about a model fit relevant to visualization.
Find image slices visible on a given plane.
The common interface for all model providers for model fitting.