Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
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 MODEL_GENERATOR_H
14 #define MODEL_GENERATOR_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 
30  {
31  public:
33 
38  static ModelFactoryBase::Pointer GetModelFactory(const ModelClassIDType& id);
39 
43  static ModelParameterizerBase::Pointer GenerateModelParameterizer(const modelFit::ModelFitInfo&
44  fit);
45 
46  static IModelFitProvider* GetProviderService(const ModelClassIDType& id);
47 
48  protected:
50  virtual ~ModelGenerator();
51 
52  private:
53  //No copy constructor allowed
54  ModelGenerator(const ModelGenerator& source);
55  void operator=(const ModelGenerator&); //purposely not implemented
56  };
57 }
58 
59 #endif // MODEL_GENERATOR_H
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKMODELFIT_EXPORT
ModelTraitsInterface::ModellClassIDType ModellClassIDType
Data class that stores all information about a modelfit that is relevant to the visualization and sto...
ModelFactoryBase::ModellClassIDType ModelClassIDType
The common interface for all model providers for model fitting.