13 #ifndef mitkModelFitCostFunctionInterface_h
14 #define mitkModelFitCostFunctionInterface_h
#define MITKMODELFIT_EXPORT
Base class for (dynamic) models.
Interface class that is implemented by all cost functions used in model fitting.
virtual void SetSample(const SignalType &sampleSet)=0
Sets the observed sample signal that the model will be fitted against.
itk::Array< double > SignalType
Type representing the observed signal values.
virtual ~ModelFitCostFunctionInterface()
ModelFitCostFunctionInterface Self
virtual void SetModel(const ModelBase *model)=0
Sets the model instance to be used for cost evaluation.
virtual const ModelBase * GetModel() const =0
Returns the model instance currently used for cost evaluation.
ModelFitCostFunctionInterface()
Find image slices visible on a given plane.