Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkModelFactoryBase.cpp
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 #include "mitkModelFactoryBase.h"
14 
16  const mitk::modelFit::ModelFitInfo* fit) const
17 {
18  if (!fit)
19  {
20  mitkThrow() << "Cannot generate parameterizer. Passed model fit is Null.";
21  }
22 
23  return DoCreateParameterizer(fit);
24 };
25 
27 {
28 };
29 
31 {
32 };
ModelParameterizerBase::Pointer CreateParameterizer(const modelFit::ModelFitInfo *fit) const
virtual ModelParameterizerBase::Pointer DoCreateParameterizer(const modelFit::ModelFitInfo *fit) const =0
#define mitkThrow()
Data class that stores all information about a modelfit that is relevant to the visualization and sto...