17 #ifndef MITKBVALUEMAPPROPERTY_H
18 #define MITKBVALUEMAPPROPERTY_H
25 #include <itkVectorContainer.h>
26 #include <vnl/vnl_vector_fixed.h>
40 typedef std::map< unsigned int , std::vector< unsigned int > >
BValueMap;
47 itkFactorylessNewMacro(
Self)
53 const BValueMap & GetBValueMap() const;
54 void SetBValueMap(const BValueMap &
map);
56 static BValueMap CreateBValueMap(const GradientDirectionsContainerType * gdc,
float referenceBValue);
57 static
float GetBValueOfGradientDirection(
unsigned int i,
float referenceBValue, const GradientDirectionsContainerType *gdc);
63 BValueMapProperty(const BValueMapProperty& other);
64 BValueMapProperty(const BValueMap& bValueMap);
66 virtual
bool IsEqual(const
BaseProperty& property) const override;
67 virtual
bool Assign(const
BaseProperty & property) override;
69 BValueMap m_BValueMap;
71 virtual
itk::LightObject::
Pointer InternalClone() const override;
ValueType GradientDirectionType
std::map< unsigned int, std::vector< unsigned int > > BValueMap
The BValueMap contains seperated IndicesVectors for each b value (index for GradientDirectionContaine...
#define mitkNewMacro1Param(classname, type)
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKDIFFUSIONCORE_EXPORT
vnl_vector_fixed< double, 3 > ValueType
itk::VectorContainer< IndexType, GradientDirectionType > GradientDirectionsContainerType
Abstract base class for properties.
#define mitkClassMacro(className, SuperClassName)