ANIMA  4.0
Public Types | Public Member Functions | Protected Member Functions | List of all members
anima::GradientFileReader< GradientType, BValueScalarType > Class Template Reference

#include <animaGradientFileReader.h>

Public Types

typedef std::vector< BValueScalarType > BValueVectorType
 
typedef std::vector< GradientType > GradientVectorType
 

Public Member Functions

std::vector< bool > GetB0Directions ()
 
BValueVectorTypeGetBValues ()
 
GradientVectorTypeGetGradients ()
 
BValueVectorTypeGetGradientStrengths ()
 
unsigned int GetTotalNumberOfDirections ()
 
 GradientFileReader ()
 
void SetB0ValueThreshold (double thr)
 
void SetBigDelta (double val)
 
void SetBValueBaseString (std::string base)
 
void SetGradientFileName (std::string fName)
 
void SetGradientIndependentNormalization (bool normGrads)
 
void SetModified ()
 
void SetSmallDelta (double val)
 
void Update ()
 
 ~GradientFileReader ()
 

Protected Member Functions

template<class T >
void InitializeEmptyGradient (std::vector< T > &vec)
 
template<class T >
void InitializeEmptyGradient (itk::Point< T, 3 > &vec)
 
template<class T >
void InitializeEmptyGradient (vnl_vector_fixed< T, 3 > &vec)
 
template<class T >
void InitializeEmptyGradient (itk::Vector< T, 3 > &vec)
 

Detailed Description

template<class GradientType = std::vector <double>, class BValueScalarType = double>
class anima::GradientFileReader< GradientType, BValueScalarType >

Definition at line 13 of file animaGradientFileReader.h.

Member Typedef Documentation

◆ BValueVectorType

template<class GradientType = std::vector <double>, class BValueScalarType = double>
typedef std::vector<BValueScalarType> anima::GradientFileReader< GradientType, BValueScalarType >::BValueVectorType

Definition at line 18 of file animaGradientFileReader.h.

◆ GradientVectorType

template<class GradientType = std::vector <double>, class BValueScalarType = double>
typedef std::vector<GradientType> anima::GradientFileReader< GradientType, BValueScalarType >::GradientVectorType

Definition at line 17 of file animaGradientFileReader.h.

Constructor & Destructor Documentation

◆ GradientFileReader()

template<class GradientType , class BValueScalarType >
anima::GradientFileReader< GradientType, BValueScalarType >::GradientFileReader ( )

◆ ~GradientFileReader()

template<class GradientType = std::vector <double>, class BValueScalarType = double>
anima::GradientFileReader< GradientType, BValueScalarType >::~GradientFileReader ( )
inline

Definition at line 21 of file animaGradientFileReader.h.

Member Function Documentation

◆ GetB0Directions()

template<class GradientType , class BValueScalarType >
std::vector< bool > anima::GradientFileReader< GradientType, BValueScalarType >::GetB0Directions ( )

◆ GetBValues()

template<class GradientType , class BValueScalarType >
GradientFileReader< GradientType, BValueScalarType >::BValueVectorType & anima::GradientFileReader< GradientType, BValueScalarType >::GetBValues ( )

◆ GetGradients()

template<class GradientType , class BValueScalarType >
GradientFileReader< GradientType, BValueScalarType >::GradientVectorType & anima::GradientFileReader< GradientType, BValueScalarType >::GetGradients ( )

◆ GetGradientStrengths()

template<class GradientType , class BValueScalarType >
GradientFileReader< GradientType, BValueScalarType >::BValueVectorType & anima::GradientFileReader< GradientType, BValueScalarType >::GetGradientStrengths ( )

◆ GetTotalNumberOfDirections()

template<class GradientType , class BValueScalarType >
unsigned int anima::GradientFileReader< GradientType, BValueScalarType >::GetTotalNumberOfDirections ( )

◆ InitializeEmptyGradient() [1/4]

template<class GradientType = std::vector <double>, class BValueScalarType = double>
template<class T >
void anima::GradientFileReader< GradientType, BValueScalarType >::InitializeEmptyGradient ( std::vector< T > &  vec)
inlineprotected

Definition at line 40 of file animaGradientFileReader.h.

◆ InitializeEmptyGradient() [2/4]

template<class GradientType = std::vector <double>, class BValueScalarType = double>
template<class T >
void anima::GradientFileReader< GradientType, BValueScalarType >::InitializeEmptyGradient ( itk::Point< T, 3 > &  vec)
inlineprotected

Definition at line 46 of file animaGradientFileReader.h.

◆ InitializeEmptyGradient() [3/4]

template<class GradientType = std::vector <double>, class BValueScalarType = double>
template<class T >
void anima::GradientFileReader< GradientType, BValueScalarType >::InitializeEmptyGradient ( vnl_vector_fixed< T, 3 > &  vec)
inlineprotected

Definition at line 51 of file animaGradientFileReader.h.

◆ InitializeEmptyGradient() [4/4]

template<class GradientType = std::vector <double>, class BValueScalarType = double>
template<class T >
void anima::GradientFileReader< GradientType, BValueScalarType >::InitializeEmptyGradient ( itk::Vector< T, 3 > &  vec)
inlineprotected

Definition at line 56 of file animaGradientFileReader.h.

◆ SetB0ValueThreshold()

template<class GradientType = std::vector <double>, class BValueScalarType = double>
void anima::GradientFileReader< GradientType, BValueScalarType >::SetB0ValueThreshold ( double  thr)
inline

◆ SetBigDelta()

template<class GradientType = std::vector <double>, class BValueScalarType = double>
void anima::GradientFileReader< GradientType, BValueScalarType >::SetBigDelta ( double  val)
inline

◆ SetBValueBaseString()

template<class GradientType = std::vector <double>, class BValueScalarType = double>
void anima::GradientFileReader< GradientType, BValueScalarType >::SetBValueBaseString ( std::string  base)
inline

◆ SetGradientFileName()

template<class GradientType = std::vector <double>, class BValueScalarType = double>
void anima::GradientFileReader< GradientType, BValueScalarType >::SetGradientFileName ( std::string  fName)
inline

◆ SetGradientIndependentNormalization()

template<class GradientType = std::vector <double>, class BValueScalarType = double>
void anima::GradientFileReader< GradientType, BValueScalarType >::SetGradientIndependentNormalization ( bool  normGrads)
inline

◆ SetModified()

template<class GradientType = std::vector <double>, class BValueScalarType = double>
void anima::GradientFileReader< GradientType, BValueScalarType >::SetModified ( )
inline

◆ SetSmallDelta()

template<class GradientType = std::vector <double>, class BValueScalarType = double>
void anima::GradientFileReader< GradientType, BValueScalarType >::SetSmallDelta ( double  val)
inline

◆ Update()

template<class GradientType , class BValueScalarType >
void anima::GradientFileReader< GradientType, BValueScalarType >::Update ( )

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