Medical Imaging Interaction Toolkit  2018.4.99-ef453c4b
Medical Imaging Interaction Toolkit
mitk::ThreeStepLinearModel Class Reference

#include <mitkThreeStepLinearModel.h>

Inheritance diagram for mitk::ThreeStepLinearModel:
Collaboration diagram for mitk::ThreeStepLinearModel:

Public Types

typedef ThreeStepLinearModel Self
 
typedef mitk::ModelBase Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef Superclass::ParameterNameType ParameterNameType
 
typedef Superclass::ParametersSizeType ParametersSizeType
 
- Public Types inherited from mitk::ModelBase
typedef ModelBase Self
 
typedef itk::Object Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef ModelTraitsInterface::ModelResultType ModelResultType
 
typedef ModelTraitsInterface::ParameterValueType ParameterValueType
 
typedef ModelTraitsInterface::ParametersType ParametersType
 
typedef itk::Array< double > TimeGridType
 
typedef ModelTraitsInterface::ParameterNameType ParameterNameType
 
typedef ModelTraitsInterface::ParameterNamesType ParameterNamesType
 
typedef ModelTraitsInterface::ParametersSizeType ParametersSizeType
 
typedef ModelTraitsInterface::DerivedParameterNamesType DerivedParameterNamesType
 
typedef ModelTraitsInterface::DerivedParametersSizeType DerivedParametersSizeType
 
typedef double StaticParameterValueType
 
typedef std::vector< StaticParameterValueTypeStaticParameterValuesType
 
typedef std::map< ParameterNameType, StaticParameterValuesTypeStaticParameterMapType
 
typedef double DerivedParameterValueType
 
typedef std::map< ParameterNameType, DerivedParameterValueTypeDerivedParameterMapType
 
- Public Types inherited from mitk::ModelTraitsInterface
typedef itk::Array< double > ModelResultType
 
using ParameterValueType = double
 
typedef itk::Array< ParameterValueTypeParametersType
 
typedef std::string ParameterNameType
 
typedef std::vector< ParameterNameTypeParameterNamesType
 
typedef ParametersType::SizeValueType ParametersSizeType
 
typedef ParameterNamesType DerivedParameterNamesType
 
typedef ParametersSizeType DerivedParametersSizeType
 
typedef std::map< ParameterNameType, double > ParamterScaleMapType
 
typedef std::map< ParameterNameType, std::string > ParamterUnitMapType
 
typedef std::map< ParameterNameType, double > DerivedParamterScaleMapType
 
typedef std::map< ParameterNameType, std::string > DerivedParamterUnitMapType
 
typedef std::string FunctionStringType
 
typedef std::string ModellClassIDType
 

Public Member Functions

Pointer Clone () const
 
virtual const char * GetClassName () const
 
std::string GetModelDisplayName () const override
 
std::string GetModelType () const override
 
FunctionStringType GetFunctionString () const override
 
std::string GetXName () const override
 
ParameterNamesType GetParameterNames () const override
 
ParametersSizeType GetNumberOfParameters () const override
 
ParamterUnitMapType GetParameterUnits () const override
 
ParameterNamesType GetStaticParameterNames () const override
 
ParametersSizeType GetNumberOfStaticParameters () const override
 
ParameterNamesType GetDerivedParameterNames () const override
 
ParametersSizeType GetNumberOfDerivedParameters () const override
 
ParamterUnitMapType GetDerivedParameterUnits () const override
 
- Public Member Functions inherited from mitk::ModelBase
ParamterScaleMapType GetParameterScales () const override
 
DerivedParamterScaleMapType GetDerivedParameterScales () const override
 
ModellClassIDType GetClassID () const override
 
std::string GetXAxisName () const override
 
std::string GetXAxisUnit () const override
 
std::string GetYAxisName () const override
 
std::string GetYAxisUnit () const override
 
virtual ParamterUnitMapType GetStaticParameterUnits () const
 
void SetStaticParameters (const StaticParameterMapType &parameters, bool allParameters=true)
 
StaticParameterMapType GetStaticParameters () const
 
DerivedParameterMapType GetDerivedParameters (const ParametersType &parameters) const
 
virtual void SetTimeGrid (const TimeGridType &grid)
 
virtual const TimeGridTypeGetTimeGrid ()
 
ModelResultType GetSignal (const ParametersType &parameters) const
 

Static Public Member Functions

static Pointer New ()
 

Static Public Attributes

static const std::string MODEL_DISPLAY_NAME
 
static const std::string NAME_PARAMETER_S0
 
static const std::string NAME_PARAMETER_t1
 
static const std::string NAME_PARAMETER_t2
 
static const std::string NAME_PARAMETER_a1
 
static const std::string NAME_PARAMETER_a2
 
static const std::string NAME_PARAMETER_b1
 
static const std::string NAME_PARAMETER_b2
 
static const std::string UNIT_PARAMETER_S0
 
static const std::string UNIT_PARAMETER_t1
 
static const std::string UNIT_PARAMETER_t2
 
static const std::string UNIT_PARAMETER_a1
 
static const std::string UNIT_PARAMETER_a2
 
static const std::string UNIT_PARAMETER_b1
 
static const std::string UNIT_PARAMETER_b2
 
static const unsigned int POSITION_PARAMETER_S0
 
static const unsigned int POSITION_PARAMETER_t1
 
static const unsigned int POSITION_PARAMETER_t2
 
static const unsigned int POSITION_PARAMETER_a1
 
static const unsigned int POSITION_PARAMETER_a2
 
static const unsigned int POSITION_PARAMETER_b1
 
static const unsigned int POSITION_PARAMETER_b2
 
static const unsigned int NUMBER_OF_PARAMETERS
 

Protected Member Functions

 ThreeStepLinearModel ()
 
 ~ThreeStepLinearModel () override
 
itk::LightObject::Pointer InternalClone () const override
 
ModelResultType ComputeModelfunction (const ParametersType &parameters) const override
 
DerivedParameterMapType ComputeDerivedParameters (const mitk::ModelBase::ParametersType &parameters) const override
 
void SetStaticParameter (const ParameterNameType &name, const StaticParameterValuesType &values) override
 
StaticParameterValuesType GetStaticParameterValue (const ParameterNameType &name) const override
 
- Protected Member Functions inherited from mitk::ModelBase
virtual bool ValidateModel (std::string &error) const
 
 ModelBase ()
 
 ~ModelBase () override
 
void PrintSelf (std::ostream &os, ::itk::Indent indent) const override
 
- Protected Member Functions inherited from mitk::ModelTraitsInterface
 ModelTraitsInterface ()
 
virtual ~ModelTraitsInterface ()
 

Additional Inherited Members

- Protected Attributes inherited from mitk::ModelBase
TimeGridType m_TimeGrid
 

Detailed Description

Definition at line 23 of file mitkThreeStepLinearModel.h.

Member Typedef Documentation

◆ ConstPointer

◆ ParameterNameType

typedef Superclass::ParameterNameType mitk::ThreeStepLinearModel::ParameterNameType

Definition at line 32 of file mitkThreeStepLinearModel.h.

◆ ParametersSizeType

typedef Superclass::ParametersSizeType mitk::ThreeStepLinearModel::ParametersSizeType

Definition at line 33 of file mitkThreeStepLinearModel.h.

◆ Pointer

◆ Self

◆ Superclass

Constructor & Destructor Documentation

◆ ThreeStepLinearModel()

mitk::ThreeStepLinearModel::ThreeStepLinearModel ( )
inlineprotected

Definition at line 95 of file mitkThreeStepLinearModel.h.

◆ ~ThreeStepLinearModel()

mitk::ThreeStepLinearModel::~ThreeStepLinearModel ( )
inlineoverrideprotected

Definition at line 96 of file mitkThreeStepLinearModel.h.

Member Function Documentation

◆ Clone()

Pointer mitk::ThreeStepLinearModel::Clone ( ) const

◆ ComputeDerivedParameters()

mitk::ModelBase::DerivedParameterMapType mitk::ThreeStepLinearModel::ComputeDerivedParameters ( const mitk::ModelBase::ParametersType parameters) const
overrideprotectedvirtual

Helper function called by GetDerivedParameters(). Implement in derived classes to realize the concrete computation of derived parameters.

Remarks
Default implementation has no derived parameters

Reimplemented from mitk::ModelBase.

Definition at line 195 of file mitkThreeStepLinearModel.cpp.

References mitk::ModelBase::m_TimeGrid, POSITION_PARAMETER_a1, POSITION_PARAMETER_a2, POSITION_PARAMETER_S0, POSITION_PARAMETER_t1, and POSITION_PARAMETER_t2.

◆ ComputeModelfunction()

mitk::ThreeStepLinearModel::ModelResultType mitk::ThreeStepLinearModel::ComputeModelfunction ( const ParametersType parameters) const
overrideprotectedvirtual

◆ GetClassName()

virtual const char* mitk::ThreeStepLinearModel::GetClassName ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from mitk::ModelBase.

◆ GetDerivedParameterNames()

mitk::ThreeStepLinearModel::ParameterNamesType mitk::ThreeStepLinearModel::GetDerivedParameterNames ( ) const
overridevirtual

Returns the names of derived parameters that can/will be computed by the model given specific model parameters.

Remarks
Default implementation has no derived parameters

Reimplemented from mitk::ModelBase.

Definition at line 93 of file mitkThreeStepLinearModel.cpp.

◆ GetDerivedParameterUnits()

mitk::ThreeStepLinearModel::ParamterUnitMapType mitk::ThreeStepLinearModel::GetDerivedParameterUnits ( ) const
overridevirtual

Default implementation returns no unit string ("") for every defined derived parameter.

Reimplemented from mitk::ModelBase.

Definition at line 112 of file mitkThreeStepLinearModel.cpp.

◆ GetFunctionString()

mitk::ThreeStepLinearModel::FunctionStringType mitk::ThreeStepLinearModel::GetFunctionString ( ) const
overridevirtual

Default implementation returns an empty functions string.

Reimplemented from mitk::ModelBase.

Definition at line 48 of file mitkThreeStepLinearModel.cpp.

◆ GetModelDisplayName()

std::string mitk::ThreeStepLinearModel::GetModelDisplayName ( ) const
overridevirtual

Default implementation returns GetClassID as display name.

Reimplemented from mitk::ModelBase.

Definition at line 38 of file mitkThreeStepLinearModel.cpp.

References MODEL_DISPLAY_NAME.

◆ GetModelType()

std::string mitk::ThreeStepLinearModel::GetModelType ( ) const
overridevirtual

Default implementation returns "Unkown" as model type.

Reimplemented from mitk::ModelBase.

Definition at line 43 of file mitkThreeStepLinearModel.cpp.

◆ GetNumberOfDerivedParameters()

mitk::ThreeStepLinearModel::ParametersSizeType mitk::ThreeStepLinearModel::GetNumberOfDerivedParameters ( ) const
overridevirtual

Returns the number of derived parameters that can/will be computed by the model given specific model parameters.

Remarks
Default implementation has no derived parameters

Reimplemented from mitk::ModelBase.

Definition at line 107 of file mitkThreeStepLinearModel.cpp.

◆ GetNumberOfParameters()

mitk::ThreeStepLinearModel::ParametersSizeType mitk::ThreeStepLinearModel::GetNumberOfParameters ( ) const
overridevirtual

Returns the number of parameters that must be defined when using the model to compute the signal (GetSignal()).

Implements mitk::ModelTraitsInterface.

Definition at line 73 of file mitkThreeStepLinearModel.cpp.

References NUMBER_OF_PARAMETERS.

◆ GetNumberOfStaticParameters()

mitk::ThreeStepLinearModel::ParametersSizeType mitk::ThreeStepLinearModel::GetNumberOfStaticParameters ( ) const
overridevirtual

Returns the number of static parameters that will be used when using the model to compute the signal (but are not defined via GetSignal()).

Implements mitk::ModelBase.

Definition at line 174 of file mitkThreeStepLinearModel.cpp.

◆ GetParameterNames()

mitk::ThreeStepLinearModel::ParameterNamesType mitk::ThreeStepLinearModel::GetParameterNames ( ) const
overridevirtual

Returns the names of parameters that must be defined when using the model to compute the signal (GetSignal()).

Implements mitk::ModelTraitsInterface.

Definition at line 59 of file mitkThreeStepLinearModel.cpp.

References NAME_PARAMETER_a1, NAME_PARAMETER_a2, NAME_PARAMETER_S0, NAME_PARAMETER_t1, and NAME_PARAMETER_t2.

◆ GetParameterUnits()

mitk::ThreeStepLinearModel::ParamterUnitMapType mitk::ThreeStepLinearModel::GetParameterUnits ( ) const
overridevirtual

Default implementation returns no unit string ("") for every defined parameter.

Reimplemented from mitk::ModelBase.

Definition at line 79 of file mitkThreeStepLinearModel.cpp.

References NAME_PARAMETER_a1, NAME_PARAMETER_a2, NAME_PARAMETER_S0, NAME_PARAMETER_t1, NAME_PARAMETER_t2, UNIT_PARAMETER_a1, UNIT_PARAMETER_a2, UNIT_PARAMETER_S0, UNIT_PARAMETER_t1, and UNIT_PARAMETER_t2.

◆ GetStaticParameterNames()

mitk::ThreeStepLinearModel::ParameterNamesType mitk::ThreeStepLinearModel::GetStaticParameterNames ( ) const
overridevirtual

Returns the names of static parameters that will be used when using the model to compute the signal (but are not defined via GetSignal()).

Implements mitk::ModelBase.

Definition at line 167 of file mitkThreeStepLinearModel.cpp.

◆ GetStaticParameterValue()

mitk::ThreeStepLinearModel::StaticParameterValuesType mitk::ThreeStepLinearModel::GetStaticParameterValue ( const ParameterNameType name) const
overrideprotectedvirtual

Helper function called by GetStaticParameters(). Implement in derived classes to realize the concrete retrieval of static parameters.

Implements mitk::ModelBase.

Definition at line 185 of file mitkThreeStepLinearModel.cpp.

◆ GetXName()

std::string mitk::ThreeStepLinearModel::GetXName ( ) const
overridevirtual

Default implementation returns an empty string.

Reimplemented from mitk::ModelBase.

Definition at line 53 of file mitkThreeStepLinearModel.cpp.

◆ InternalClone()

itk::LightObject::Pointer mitk::ThreeStepLinearModel::InternalClone ( ) const
overrideprotected

Actual implementation of the clone method. This method should be reimplemeted in subclasses to clone the extra required parameters.

Definition at line 230 of file mitkThreeStepLinearModel.cpp.

References mitk::ModelBase::m_TimeGrid, and New().

◆ New()

static Pointer mitk::ThreeStepLinearModel::New ( )
static

Method for creation through the object factory.

Referenced by InternalClone().

◆ SetStaticParameter()

void mitk::ThreeStepLinearModel::SetStaticParameter ( const ParameterNameType name,
const StaticParameterValuesType values 
)
overrideprotectedvirtual

Helper function called by SetStaticParameters(). Implement in derived classes to realize the concrete setting of static parameters.

Implements mitk::ModelBase.

Definition at line 179 of file mitkThreeStepLinearModel.cpp.

Member Data Documentation

◆ MODEL_DISPLAY_NAME

const std::string mitk::ThreeStepLinearModel::MODEL_DISPLAY_NAME
static

Definition at line 40 of file mitkThreeStepLinearModel.h.

Referenced by GetModelDisplayName().

◆ NAME_PARAMETER_a1

const std::string mitk::ThreeStepLinearModel::NAME_PARAMETER_a1
static

Definition at line 46 of file mitkThreeStepLinearModel.h.

Referenced by GetParameterNames(), and GetParameterUnits().

◆ NAME_PARAMETER_a2

const std::string mitk::ThreeStepLinearModel::NAME_PARAMETER_a2
static

Definition at line 47 of file mitkThreeStepLinearModel.h.

Referenced by GetParameterNames(), and GetParameterUnits().

◆ NAME_PARAMETER_b1

const std::string mitk::ThreeStepLinearModel::NAME_PARAMETER_b1
static

Definition at line 48 of file mitkThreeStepLinearModel.h.

◆ NAME_PARAMETER_b2

const std::string mitk::ThreeStepLinearModel::NAME_PARAMETER_b2
static

Definition at line 49 of file mitkThreeStepLinearModel.h.

◆ NAME_PARAMETER_S0

const std::string mitk::ThreeStepLinearModel::NAME_PARAMETER_S0
static

Definition at line 43 of file mitkThreeStepLinearModel.h.

Referenced by GetParameterNames(), and GetParameterUnits().

◆ NAME_PARAMETER_t1

const std::string mitk::ThreeStepLinearModel::NAME_PARAMETER_t1
static

Definition at line 44 of file mitkThreeStepLinearModel.h.

Referenced by GetParameterNames(), and GetParameterUnits().

◆ NAME_PARAMETER_t2

const std::string mitk::ThreeStepLinearModel::NAME_PARAMETER_t2
static

Definition at line 45 of file mitkThreeStepLinearModel.h.

Referenced by GetParameterNames(), and GetParameterUnits().

◆ NUMBER_OF_PARAMETERS

const unsigned int mitk::ThreeStepLinearModel::NUMBER_OF_PARAMETERS
static

Definition at line 67 of file mitkThreeStepLinearModel.h.

Referenced by GetNumberOfParameters().

◆ POSITION_PARAMETER_a1

const unsigned int mitk::ThreeStepLinearModel::POSITION_PARAMETER_a1
static

◆ POSITION_PARAMETER_a2

const unsigned int mitk::ThreeStepLinearModel::POSITION_PARAMETER_a2
static

◆ POSITION_PARAMETER_b1

const unsigned int mitk::ThreeStepLinearModel::POSITION_PARAMETER_b1
static

Definition at line 64 of file mitkThreeStepLinearModel.h.

◆ POSITION_PARAMETER_b2

const unsigned int mitk::ThreeStepLinearModel::POSITION_PARAMETER_b2
static

Definition at line 65 of file mitkThreeStepLinearModel.h.

◆ POSITION_PARAMETER_S0

const unsigned int mitk::ThreeStepLinearModel::POSITION_PARAMETER_S0
static

◆ POSITION_PARAMETER_t1

const unsigned int mitk::ThreeStepLinearModel::POSITION_PARAMETER_t1
static

◆ POSITION_PARAMETER_t2

const unsigned int mitk::ThreeStepLinearModel::POSITION_PARAMETER_t2
static

◆ UNIT_PARAMETER_a1

const std::string mitk::ThreeStepLinearModel::UNIT_PARAMETER_a1
static

Definition at line 54 of file mitkThreeStepLinearModel.h.

Referenced by GetParameterUnits().

◆ UNIT_PARAMETER_a2

const std::string mitk::ThreeStepLinearModel::UNIT_PARAMETER_a2
static

Definition at line 55 of file mitkThreeStepLinearModel.h.

Referenced by GetParameterUnits().

◆ UNIT_PARAMETER_b1

const std::string mitk::ThreeStepLinearModel::UNIT_PARAMETER_b1
static

Definition at line 56 of file mitkThreeStepLinearModel.h.

◆ UNIT_PARAMETER_b2

const std::string mitk::ThreeStepLinearModel::UNIT_PARAMETER_b2
static

Definition at line 57 of file mitkThreeStepLinearModel.h.

◆ UNIT_PARAMETER_S0

const std::string mitk::ThreeStepLinearModel::UNIT_PARAMETER_S0
static

Definition at line 51 of file mitkThreeStepLinearModel.h.

Referenced by GetParameterUnits().

◆ UNIT_PARAMETER_t1

const std::string mitk::ThreeStepLinearModel::UNIT_PARAMETER_t1
static

Definition at line 52 of file mitkThreeStepLinearModel.h.

Referenced by GetParameterUnits().

◆ UNIT_PARAMETER_t2

const std::string mitk::ThreeStepLinearModel::UNIT_PARAMETER_t2
static

Definition at line 53 of file mitkThreeStepLinearModel.h.

Referenced by GetParameterUnits().


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