13 #ifndef mitkModelFitInfo_h
14 #define mitkModelFitInfo_h
117 typedef ParamListType::iterator IterType;
118 typedef std::lock_guard<std::mutex> LockType;
133 const std::string& prop);
144 const std::string& prop);
166 const std::string& fitType,
const std::string& fitName =
"",
const ModelFitInfo::UIDType& roiUID =
"");
#define MITKMODELFIT_EXPORT
Base of all data objects.
Class for nodes of the DataTree.
Data management class that handles 'was created by' relations.
Data class for modelfit properties that store a map of lists (e.g. static parameters).
Data class that stores all information about a modelfit that is relevant to the visualization and sto...
itkSimpleNewMacro(ModelFitInfo)
mitkClassMacroItkParent(ModelFitInfo, itk::LightObject)
const ParamListType & GetParameters() const
void AddParameter(Parameter::Pointer p)
Adds the given parameter to this fit's parameter list if it doesn't exist already.
void DeleteParameter(const std::string &name, const Parameter::Type &type)
Searches for the parameter with the given name and type in the fit's parameter list and deletes it if...
Parameter::ConstPointer GetParameter(const std::string &name, const Parameter::Type &type) const
Searches for the parameter with the given name and type in the fit's parameter list and returns it.
std::vector< Parameter::Pointer > ParamListType
ScalarListLookupTable inputData
std::string functionClassID
StaticParameterMap staticParamMap
ParamListType::const_iterator ConstIterType
mitk::Image::ConstPointer inputImage
MITKMODELFIT_EXPORT ModelFitInfo::Pointer CreateFitInfoFromModelParameterizer(const ModelParameterizerBase *usedParameterizer, mitk::BaseData *inputImage, const std::string &fitType, const std::string &fitName="", const ModelFitInfo::UIDType &roiUID="")
MITKMODELFIT_EXPORT const std::string GetMandatoryProperty(const mitk::DataNode *node, const std::string &prop)
Reads the string property with the given name from the data of the given node and returns its value....
MITKMODELFIT_EXPORT NodeUIDSetType GetFitUIDsOfNode(const mitk::DataNode *node, const mitk::DataStorage *storage)
MITKMODELFIT_EXPORT DataStorage::SetOfObjects::ConstPointer GetNodesOfFit(const ModelFitInfo::UIDType &fitUID, const mitk::DataStorage *storage)
MITKMODELFIT_EXPORT ModelFitInfo::Pointer CreateFitInfoFromNode(const ModelFitInfo::UIDType &uid, const mitk::DataStorage *storage)
Creates a new ModelFitInfo instance from the nodes in the passed storage. The fit will be identified ...
std::set< ModelFitInfo::UIDType > NodeUIDSetType
Find image slices visible on a given plane.