DMRITool  v0.1.1-139-g860d86b4
Diffusion MRI Tool
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
itk::SpatiallyDenseSparseVectorImagePixelAccessorFunctor< TImageType > Class Template Reference

#include <itkSpatiallyDenseSparseVectorImagePixelAccessorFunctor.h>

Detailed Description

template<class TImageType>
class itk::SpatiallyDenseSparseVectorImagePixelAccessorFunctor< TImageType >

Provides accessor interfaces to Access pixels and is meant to be used by iterators.

A typical user should not need to use this class. The class is internally used by the neighborhood iterators.

The pixel accessor is set with the SetPixelAccessor method. This accessor is meant to be used only for SpatiallyDenseSparseVectorImage and not for Image.

See also
DefaultSliceContiguousPixelAccessor
DefaultPixelAccessor
DefaultPixelAccessorFunctor

Definition at line 40 of file itkSpatiallyDenseSparseVectorImagePixelAccessorFunctor.h.

Public Types

typedef ImageType::PixelType ExternalPixelType
 
typedef TImageType ImageType
 
typedef ImageType::InternalPixelType InternalPixelType
 
typedef ImageType::AccessorType PixelAccessorType
 
typedef unsigned int VectorLengthType
 

Public Member Functions

ExternalPixelType Get (const InternalPixelType &input) const
 
void Set (InternalPixelType &output, const ExternalPixelType &input) const
 
void SetBegin (const InternalPixelType *begin)
 
void SetPixelAccessor (PixelAccessorType &accessor)
 

Static Public Member Functions

static VectorLengthType GetVectorLength (const ImageType *image)
 
static void SetVectorLength (ImageType *image, VectorLengthType length)
 

Private Attributes

InternalPixelTypem_Begin
 
PixelAccessorType m_PixelAccessor
 

Member Typedef Documentation

template<class TImageType >
typedef ImageType::PixelType itk::SpatiallyDenseSparseVectorImagePixelAccessorFunctor< TImageType >::ExternalPixelType
template<class TImageType >
typedef TImageType itk::SpatiallyDenseSparseVectorImagePixelAccessorFunctor< TImageType >::ImageType
template<class TImageType >
typedef ImageType::InternalPixelType itk::SpatiallyDenseSparseVectorImagePixelAccessorFunctor< TImageType >::InternalPixelType
template<class TImageType >
typedef ImageType::AccessorType itk::SpatiallyDenseSparseVectorImagePixelAccessorFunctor< TImageType >::PixelAccessorType
template<class TImageType >
typedef unsigned int itk::SpatiallyDenseSparseVectorImagePixelAccessorFunctor< TImageType >::VectorLengthType

Member Function Documentation

template<class TImageType >
ExternalPixelType itk::SpatiallyDenseSparseVectorImagePixelAccessorFunctor< TImageType >::Get ( const InternalPixelType input) const
inline

Get the value from input

Definition at line 72 of file itkSpatiallyDenseSparseVectorImagePixelAccessorFunctor.h.

template<class TImageType >
static VectorLengthType itk::SpatiallyDenseSparseVectorImagePixelAccessorFunctor< TImageType >::GetVectorLength ( const ImageType image)
inlinestatic

Required for some filters to compile.

Definition at line 84 of file itkSpatiallyDenseSparseVectorImagePixelAccessorFunctor.h.

template<class TImageType >
void itk::SpatiallyDenseSparseVectorImagePixelAccessorFunctor< TImageType >::Set ( InternalPixelType output,
const ExternalPixelType input 
) const
inline

Set output using the value in input

Definition at line 66 of file itkSpatiallyDenseSparseVectorImagePixelAccessorFunctor.h.

template<class TImageType >
void itk::SpatiallyDenseSparseVectorImagePixelAccessorFunctor< TImageType >::SetBegin ( const InternalPixelType begin)
inline

Set the pointer index to the start of the buffer.

Definition at line 60 of file itkSpatiallyDenseSparseVectorImagePixelAccessorFunctor.h.

template<class TImageType >
void itk::SpatiallyDenseSparseVectorImagePixelAccessorFunctor< TImageType >::SetPixelAccessor ( PixelAccessorType accessor)
inline

Set the PixelAccessor. This is set at construction time by the image iterators. The type PixelAccessorType is obtained from the ImageType over which the iterators are templated.

Definition at line 54 of file itkSpatiallyDenseSparseVectorImagePixelAccessorFunctor.h.

template<class TImageType >
static void itk::SpatiallyDenseSparseVectorImagePixelAccessorFunctor< TImageType >::SetVectorLength ( ImageType image,
VectorLengthType  length 
)
inlinestatic

Required for some filters to compile.

Definition at line 78 of file itkSpatiallyDenseSparseVectorImagePixelAccessorFunctor.h.

Member Data Documentation

template<class TImageType >
InternalPixelType* itk::SpatiallyDenseSparseVectorImagePixelAccessorFunctor< TImageType >::m_Begin
private
template<class TImageType >
PixelAccessorType itk::SpatiallyDenseSparseVectorImagePixelAccessorFunctor< TImageType >::m_PixelAccessor
private

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