Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkTestModelFactory.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 mitkTestModelFactory_h
14 #define mitkTestModelFactory_h
15 
16 #include <mitkCommon.h>
17 
19 #include <mitkTestModel.h>
20 
21 #include <MitkModelFitExports.h>
22 
23 namespace mitk
24 {
25 
33  {
34  public:
36  itkFactorylessNewMacro(Self);
37 
39 
40  protected:
42  const override;
43 
45 
46  ~TestModelFactory() override;
47 
48  private:
49 
50  //No copy constructor allowed
51  TestModelFactory(const Self& source);
52  void operator=(const Self&); //purposely not implemented
53  };
54 }
55 
56 
57 #endif
#define MITKMODELFIT_EXPORT
Template base class for model factories that operate on a specific model type.
itk::Array< ParameterValueType > ParametersType
Type representing a vector of parameter values.
Factory for creating TestModel instances, used for testing the model fit framework.
ParametersType GetDefaultInitialParameterization() const override
Returns the default initial parameterization defined by the model developer.
mitkClassMacro(TestModelFactory, ConcreteModelFactoryBase< TestModel >)
ModelParameterizerBase::Pointer DoCreateParameterizer(const modelFit::ModelFitInfo *fit) const override
~TestModelFactory() override
Data class that stores all information about a model fit relevant to visualization.
Find image slices visible on a given plane.