13 #ifndef mitkModelFitInfo_h
14 #define mitkModelFitInfo_h
116 typedef ParamListType::iterator IterType;
117 typedef std::lock_guard<std::mutex> LockType;
131 const std::string& prop);
141 const std::string& prop);
165 const std::string& fitType,
const std::string& fitName =
"",
const ModelFitInfo::UIDType& roiUID =
"");
#define MITKMODELFIT_EXPORT
Base class of all data objects.
Central node class of the MITK data tree, associating a data object with properties and mappers.
Abstract data management class that organizes DataNode objects in a directed acyclic graph.
Data class for model fit properties that store a map of lists (e.g. static parameters).
Data class that stores all information about a model fit relevant to visualization.
itkSimpleNewMacro(ModelFitInfo)
mitkClassMacroItkParent(ModelFitInfo, itk::LightObject)
const ParamListType & GetParameters() const
Returns a const reference to the parameter list.
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)
Removes the parameter with the given name and type from the list.
Parameter::ConstPointer GetParameter(const std::string &name, const Parameter::Type &type) const
Searches for the parameter with the given name and type and returns it.
std::vector< Parameter::Pointer > ParamListType
ScalarListLookupTable inputData
std::string functionClassID
StaticParameterMap staticParamMap
ParamListType::const_iterator ConstIterType
mitk::Image::ConstPointer inputImage
Data structure that stores information about the static parameters of a model fit.
MITKMODELFIT_EXPORT ModelFitInfo::Pointer CreateFitInfoFromModelParameterizer(const ModelParameterizerBase *usedParameterizer, mitk::BaseData *inputImage, const std::string &fitType, const std::string &fitName="", const ModelFitInfo::UIDType &roiUID="")
Creates a new ModelFitInfo instance from a model parameterizer.
MITKMODELFIT_EXPORT const std::string GetMandatoryProperty(const mitk::DataNode *node, const std::string &prop)
Reads a mandatory string property from a data node.
MITKMODELFIT_EXPORT NodeUIDSetType GetFitUIDsOfNode(const mitk::DataNode *node, const mitk::DataStorage *storage)
Returns the UIDs of all fits that are derived from the passed node.
MITKMODELFIT_EXPORT DataStorage::SetOfObjects::ConstPointer GetNodesOfFit(const ModelFitInfo::UIDType &fitUID, const mitk::DataStorage *storage)
Returns all nodes that belong to the fit indicated by the passed UID.
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.
std::set< ModelFitInfo::UIDType > NodeUIDSetType
Find image slices visible on a given plane.