Medical Imaging Interaction Toolkit
2024.06.99-5ec2019b
Medical Imaging Interaction Toolkit
|
Base class for model fit provider. More...
#include <mitkModelFitProviderBase.h>
Public Member Functions | |
itk::SmartPointer< ModelFactoryBase > | GenerateFactory () const override |
ModelBase::TimeGridType | GetVariableGrid (const modelFit::ModelFitInfo *fitInfo) const override |
us::ServiceRegistration< IModelFitProvider > | RegisterService (us::ModuleContext *context=us::GetModuleContext()) |
void | UnregisterService () |
ModelFitProviderBase () | |
~ModelFitProviderBase () override | |
Public Member Functions inherited from mitk::IModelFitProvider | |
virtual | ~IModelFitProvider () |
Protected Member Functions | |
ModelFitProviderBase (const ModelFitProviderBase &other) | |
virtual us::ServiceProperties | GetServiceProperties () const |
void | SetRanking (int ranking) |
Set the service ranking for this file reader. More... | |
int | GetRanking () const |
Additional Inherited Members | |
Static Public Member Functions inherited from mitk::IModelFitProvider | |
static std::string | PROP_DESCRIPTION () |
Service property name for a description. More... | |
static std::string | PROP_MODEL_CLASS_ID () |
Service property name for the model ID handled by the provider. More... | |
static std::string | PROP_MODEL_TYPE () |
Service property name for the model type of the model handled by the provider. More... | |
Base class for model fit provider.
Definition at line 32 of file mitkModelFitProviderBase.h.
mitk::ModelFitProviderBase< TModelFactory >::ModelFitProviderBase | ( | ) |
|
override |
|
protected |
|
overridevirtual |
Returns an instance of the model factory that is represented by the provider.
Implements mitk::IModelFitProvider.
|
protected |
|
protectedvirtual |
|
overridevirtual |
Returns the grid of the model variable extracted from the fit info. The default implementation returns a time grid extracted from the time geometry of the fitInfo->inputImage. Reimplement for other models/fits to generate other variable grids.
Implements mitk::IModelFitProvider.
us::ServiceRegistration<IModelFitProvider> mitk::ModelFitProviderBase< TModelFactory >::RegisterService | ( | us::ModuleContext * | context = us::GetModuleContext() | ) |
|
protected |
Set the service ranking for this file reader.
Default is zero and should only be chosen differently for a reason. The ranking is used to determine which reader to use if several equivalent readers have been found. It may be used to replace a default reader from MITK in your own project. E.g. if you want to use your own reader for nrrd files instead of the default, implement it and give it a higher ranking than zero.
void mitk::ModelFitProviderBase< TModelFactory >::UnregisterService | ( | ) |