Utility class for creating model factories and parameterizers from model class IDs.
More...
#include <mitkModelGenerator.h>
Utility class for creating model factories and parameterizers from model class IDs.
This class uses the micro services registry to look up IModelFitProvider instances and create the corresponding model factories and parameterizers.
- See also
- ModelFactoryBase, ModelParameterizerBase, IModelFitProvider
Definition at line 38 of file mitkModelGenerator.h.
◆ ModelClassIDType
◆ ModelGenerator()
| mitk::ModelGenerator::ModelGenerator |
( |
| ) |
|
|
protected |
◆ ~ModelGenerator()
| virtual mitk::ModelGenerator::~ModelGenerator |
( |
| ) |
|
|
protectedvirtual |
◆ GenerateModelParameterizer()
Generates a model parameterizer from a model fit info instance.
- Parameters
-
| [in] | fit | The model fit info describing the fit configuration. |
- Returns
- Smart pointer to the parameterizer, or nullptr if no matching factory is found.
◆ GetModelFactory()
| static ModelFactoryBase::Pointer mitk::ModelGenerator::GetModelFactory |
( |
const ModelClassIDType & |
id | ) |
|
|
static |
Returns a factory instance for the given model class ID.
- Parameters
-
| [in] | id | The model class identifier. |
- Returns
- Smart pointer to the factory, or nullptr if no matching factory is found.
◆ GetProviderService()
Returns the IModelFitProvider service for the given model class ID.
- Parameters
-
| [in] | id | The model class identifier. |
- Returns
- Pointer to the provider service, or nullptr if not found.
The documentation for this class was generated from the following file: