Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitk::modelFit::ModelFitInfo Class Reference

Data class that stores all information about a modelfit that is relevant to the visualization and stored as properties in the result nodes. More...

#include <mitkModelFitInfo.h>

Inheritance diagram for mitk::modelFit::ModelFitInfo:
Collaboration diagram for mitk::modelFit::ModelFitInfo:

Public Types

typedef mitk::NodeUIDType UIDType
 
typedef std::vector< Parameter::Pointer > ParamListType
 
typedef ParamListType::const_iterator ConstIterType
 

Public Member Functions

 mitkClassMacroItkParent (ModelFitInfo, itk::LightObject)
 
 itkSimpleNewMacro (ModelFitInfo)
 
 ModelFitInfo ()
 
void AddParameter (Parameter::Pointer p)
 Adds the given parameter to this fit's parameter list if it doesn't exist already. More...
 
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. More...
 
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 it exists. More...
 
const ParamListTypeGetParameters () const
 

Public Attributes

std::string modelName
 
std::string modelType
 
std::string function
 
std::string functionClassID
 
std::string x
 
std::string xAxisName
 
std::string xAxisUnit
 
std::string yAxisName
 
std::string yAxisUnit
 
UIDType uid
 
std::string fitName
 
std::string fitType
 
StaticParameterMap staticParamMap
 
UIDType roiUID
 
UIDType inputUID
 
ScalarListLookupTable inputData
 
mitk::Image::Pointer inputImage
 

Detailed Description

Data class that stores all information about a modelfit that is relevant to the visualization and stored as properties in the result nodes.

Definition at line 40 of file mitkModelFitInfo.h.

Member Typedef Documentation

◆ ConstIterType

typedef ParamListType::const_iterator mitk::modelFit::ModelFitInfo::ConstIterType

Definition at line 45 of file mitkModelFitInfo.h.

◆ ParamListType

typedef std::vector<Parameter::Pointer> mitk::modelFit::ModelFitInfo::ParamListType

Definition at line 44 of file mitkModelFitInfo.h.

◆ UIDType

Constructor & Destructor Documentation

◆ ModelFitInfo()

mitk::modelFit::ModelFitInfo::ModelFitInfo ( )
inline

Definition at line 50 of file mitkModelFitInfo.h.

Member Function Documentation

◆ AddParameter()

void mitk::modelFit::ModelFitInfo::AddParameter ( Parameter::Pointer  p)

Adds the given parameter to this fit's parameter list if it doesn't exist already.

Parameters
pThe param that should be added to this fit's parameter list.

Definition at line 21 of file mitkModelFitInfo.cpp.

References GetParameter(), MITK_DEBUG, mitkThrow, and uid.

◆ DeleteParameter()

void mitk::modelFit::ModelFitInfo::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 it exists.

Parameters
nameThe name of the desired parameter.
typeThe type of the desired parameter.

Definition at line 67 of file mitkModelFitInfo.cpp.

References MITK_DEBUG, and uid.

◆ GetParameter()

mitk::modelFit::Parameter::ConstPointer mitk::modelFit::ModelFitInfo::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.

Parameters
nameThe name of the desired parameter.
typeThe type of the desired parameter.
Returns
The parameter with the given name on success or NULL otherwise.

Definition at line 44 of file mitkModelFitInfo.cpp.

Referenced by mitk::modelFit::AdaptDataPropertyToParameter(), and AddParameter().

◆ GetParameters()

const mitk::modelFit::ModelFitInfo::ParamListType & mitk::modelFit::ModelFitInfo::GetParameters ( ) const

Return const reference to the parameter list.

Definition at line 61 of file mitkModelFitInfo.cpp.

Referenced by QmitkFitParameterModel::data(), mitk::ExtractParameterValueMapFromModelFit(), and GetStaticParameterName().

◆ itkSimpleNewMacro()

mitk::modelFit::ModelFitInfo::itkSimpleNewMacro ( ModelFitInfo  )

◆ mitkClassMacroItkParent()

mitk::modelFit::ModelFitInfo::mitkClassMacroItkParent ( ModelFitInfo  ,
itk::LightObject   
)

Member Data Documentation

◆ fitName

◆ fitType

◆ function

std::string mitk::modelFit::ModelFitInfo::function

◆ functionClassID

std::string mitk::modelFit::ModelFitInfo::functionClassID

◆ inputData

◆ inputImage

◆ inputUID

UIDType mitk::modelFit::ModelFitInfo::inputUID

◆ modelName

std::string mitk::modelFit::ModelFitInfo::modelName

◆ modelType

std::string mitk::modelFit::ModelFitInfo::modelType

◆ roiUID

◆ staticParamMap

◆ uid

◆ x

std::string mitk::modelFit::ModelFitInfo::x

◆ xAxisName

std::string mitk::modelFit::ModelFitInfo::xAxisName

◆ xAxisUnit

std::string mitk::modelFit::ModelFitInfo::xAxisUnit

◆ yAxisName

std::string mitk::modelFit::ModelFitInfo::yAxisName

◆ yAxisUnit

std::string mitk::modelFit::ModelFitInfo::yAxisUnit

The documentation for this class was generated from the following files: