DMRITool  v0.1.1-139-g860d86b4
Diffusion MRI Tool
Static Public Member Functions | List of all members
itk::PeakContainerHelper Class Reference

#include <itkPeakContainerHelper.h>

Detailed Description

a VariableLengthVector to contain peaks with different storing types

Author
Jian Cheng (JC), jian..nosp@m.chen.nosp@m.g.198.nosp@m.3@gm.nosp@m.ail.c.nosp@m.om

Definition at line 47 of file itkPeakContainerHelper.h.

Static Public Member Functions

static int GetDimension (const PeakType peakType, const int numberOfPeaks)
 
static int GetDimensionPerPeak (const PeakType peakType)
 
static int GetNumberOfPeaks (const PeakType peakType, const int dimension)
 
template<class ContainerType >
static int GetNumberOfPeaks (const PeakType peakType, const int dimension, const ContainerType &vec)
 
template<class VectorType = std::vector<double>, class ContainerType >
static VectorType GetPeak (const ContainerType &vec, const int index, const PeakType peakType)
 
static PeakType GetPeakType (const std::string &str)
 
template<class ContainerType >
static double GetPeakValue (const ContainerType &vec, const int index, const PeakType peakType)
 
static std::string GetString (const PeakType peakType)
 
template<class VectorType , class ContainerType >
static void SetPeak (const VectorType &peak, ContainerType &vec, const int index, const PeakType peakType)
 
template<class ContainerType >
static void SetPeakValue (const double peakValue, ContainerType &vec, const int index, const PeakType peakType)
 

Member Function Documentation

static int itk::PeakContainerHelper::GetDimension ( const PeakType  peakType,
const int  numberOfPeaks 
)
inlinestatic
static int itk::PeakContainerHelper::GetDimensionPerPeak ( const PeakType  peakType)
inlinestatic
static int itk::PeakContainerHelper::GetNumberOfPeaks ( const PeakType  peakType,
const int  dimension 
)
inlinestatic
template<class ContainerType >
static int itk::PeakContainerHelper::GetNumberOfPeaks ( const PeakType  peakType,
const int  dimension,
const ContainerType &  vec 
)
inlinestatic

Definition at line 128 of file itkPeakContainerHelper.h.

References GetNumberOfPeaks(), and GetPeak().

+ Here is the call graph for this function:

template<class VectorType = std::vector<double>, class ContainerType >
static VectorType itk::PeakContainerHelper::GetPeak ( const ContainerType &  vec,
const int  index,
const PeakType  peakType 
)
inlinestatic
static PeakType itk::PeakContainerHelper::GetPeakType ( const std::string &  str)
inlinestatic

Definition at line 67 of file itkPeakContainerHelper.h.

References itk::NXYZ, itk::NXYZV, utlGlobalException, itk::XYZ, and itk::XYZV.

Referenced by main().

+ Here is the caller graph for this function:

template<class ContainerType >
static double itk::PeakContainerHelper::GetPeakValue ( const ContainerType &  vec,
const int  index,
const PeakType  peakType 
)
inlinestatic

Definition at line 178 of file itkPeakContainerHelper.h.

References GetDimensionPerPeak(), itk::NXYZ, itk::NXYZV, utlException, itk::XYZ, and itk::XYZV.

+ Here is the call graph for this function:

static std::string itk::PeakContainerHelper::GetString ( const PeakType  peakType)
inlinestatic
template<class VectorType , class ContainerType >
static void itk::PeakContainerHelper::SetPeak ( const VectorType &  peak,
ContainerType &  vec,
const int  index,
const PeakType  peakType 
)
inlinestatic

Definition at line 161 of file itkPeakContainerHelper.h.

References GetDimensionPerPeak(), itk::NXYZ, itk::NXYZV, utlException, itk::XYZ, and itk::XYZV.

+ Here is the call graph for this function:

template<class ContainerType >
static void itk::PeakContainerHelper::SetPeakValue ( const double  peakValue,
ContainerType &  vec,
const int  index,
const PeakType  peakType 
)
inlinestatic

Definition at line 194 of file itkPeakContainerHelper.h.

References GetDimensionPerPeak(), itk::NXYZ, itk::NXYZV, utlException, itk::XYZ, and itk::XYZV.

+ Here is the call graph for this function:


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