Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <mitkBValueMapProperty.h>
Public Types | |
typedef std::map< unsigned int, std::vector< unsigned int > > | BValueMap |
The BValueMap contains seperated IndicesVectors for each b value (index for GradientDirectionContainer) key := b value value := indicesVector. More... | |
typedef unsigned int | IndexType |
typedef vnl_vector_fixed< double, 3 > | ValueType |
typedef ValueType | GradientDirectionType |
typedef itk::VectorContainer< IndexType, GradientDirectionType > | GradientDirectionsContainerType |
Public Types inherited from mitk::BaseProperty | |
typedef BaseProperty | Self |
typedef itk::Object | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
Public Member Functions | |
mitkClassMacro (BValueMapProperty, BaseProperty) static Pointer New() | |
Pointer | Clone () const |
mitkNewMacro1Param (BValueMapProperty, const BValueMapProperty &) mitkNewMacro1Param(BValueMapProperty | |
const BValueMap &const BValueMap & | GetBValueMap () const |
void | SetBValueMap (const BValueMap &map) |
Public Member Functions inherited from mitk::BaseProperty | |
virtual std::vector< std::string > | GetClassHierarchy () const |
virtual const char * | GetClassName () const |
Pointer | Clone () const |
bool | operator== (const BaseProperty &property) const |
Subclasses must implement IsEqual(const BaseProperty&) to support comparison. More... | |
BaseProperty & | operator= (const BaseProperty &property) |
Assigns property to this BaseProperty instance. More... | |
bool | AssignProperty (const BaseProperty &property) |
Assigns property to this BaseProperty instance. More... | |
virtual std::string | GetValueAsString () const |
Static Public Member Functions | |
static BValueMap | CreateBValueMap (const GradientDirectionsContainerType *gdc, float referenceBValue) |
static float | GetBValueOfGradientDirection (unsigned int i, float referenceBValue, const GradientDirectionsContainerType *gdc) |
Static Public Member Functions inherited from mitk::BaseProperty | |
static const char * | GetStaticNameOfClass () |
Protected Member Functions | |
BValueMapProperty () | |
~BValueMapProperty () | |
BValueMapProperty (const BValueMapProperty &other) | |
BValueMapProperty (const BValueMap &bValueMap) | |
virtual bool | IsEqual (const BaseProperty &property) const override |
virtual bool | Assign (const BaseProperty &property) override |
virtual itk::LightObject::Pointer | InternalClone () const override |
Protected Member Functions inherited from mitk::BaseProperty | |
BaseProperty () | |
BaseProperty (const BaseProperty &other) | |
virtual | ~BaseProperty () |
Protected Attributes | |
BValueMap | m_BValueMap |
Additional Inherited Members | |
Static Public Attributes inherited from mitk::BaseProperty | |
static const std::string | VALUE_CANNOT_BE_CONVERTED_TO_STRING |
Default return value if a property which can not be returned as string. More... | |
This property will store the b value map
Definition at line 32 of file mitkBValueMapProperty.h.
typedef std::map< unsigned int , std::vector< unsigned int > > mitk::BValueMapProperty::BValueMap |
The BValueMap contains seperated IndicesVectors for each b value (index for GradientDirectionContainer) key := b value value := indicesVector.
Definition at line 40 of file mitkBValueMapProperty.h.
typedef itk::VectorContainer< IndexType, GradientDirectionType > mitk::BValueMapProperty::GradientDirectionsContainerType |
Definition at line 44 of file mitkBValueMapProperty.h.
Definition at line 43 of file mitkBValueMapProperty.h.
typedef unsigned int mitk::BValueMapProperty::IndexType |
Definition at line 41 of file mitkBValueMapProperty.h.
typedef vnl_vector_fixed< double, 3 > mitk::BValueMapProperty::ValueType |
Definition at line 42 of file mitkBValueMapProperty.h.
|
protected |
Definition at line 19 of file mitkBValueMapProperty.cpp.
|
protected |
Definition at line 35 of file mitkBValueMapProperty.cpp.
|
protected |
Definition at line 24 of file mitkBValueMapProperty.cpp.
References GetBValueMap(), and m_BValueMap.
|
protected |
Definition at line 30 of file mitkBValueMapProperty.cpp.
|
overrideprotectedvirtual |
Override this method in subclasses to implement a meaningful assignment. The property argument is guaranteed to be castable to the type of the implementing subclass.
Implements mitk::BaseProperty.
Definition at line 54 of file mitkBValueMapProperty.cpp.
Pointer mitk::BValueMapProperty::Clone | ( | ) | const |
|
static |
Definition at line 60 of file mitkBValueMapProperty.cpp.
References GetBValueOfGradientDirection(), and mitk::ImageMappingHelper::map().
Referenced by mitk::DiffusionImageTransformedCreationFilter< TTransformType >::GenerateData(), mitk::DiffusionImageCreationFilter::GenerateData(), mitk::DiffusionImageNrrdReaderService::InternalRead(), and mitk::DiffusionImageNiftiReaderService::InternalRead().
const mitk::BValueMapProperty::BValueMap & mitk::BValueMapProperty::GetBValueMap | ( | ) | const |
Definition at line 39 of file mitkBValueMapProperty.cpp.
Referenced by BValueMapProperty().
|
static |
Definition at line 75 of file mitkBValueMapProperty.cpp.
Referenced by CreateBValueMap().
|
overrideprotectedvirtual |
Definition at line 98 of file mitkBValueMapProperty.cpp.
|
overrideprotectedvirtual |
Override this method in subclasses to implement a meaningful comparison. The property argument is guaranteed to be castable to the type of the implementing subclass.
Implements mitk::BaseProperty.
Definition at line 49 of file mitkBValueMapProperty.cpp.
mitk::BValueMapProperty::mitkClassMacro | ( | BValueMapProperty | , |
BaseProperty | |||
) |
mitk::BValueMapProperty::mitkNewMacro1Param | ( | BValueMapProperty | , |
const BValueMapProperty & | |||
) |
void mitk::BValueMapProperty::SetBValueMap | ( | const BValueMap & | map | ) |
Definition at line 44 of file mitkBValueMapProperty.cpp.
References mitk::ImageMappingHelper::map().
|
protected |
Definition at line 69 of file mitkBValueMapProperty.h.
Referenced by BValueMapProperty().