DMRITool
v0.1.1-139-g860d86b4
Diffusion MRI Tool
|
#include <itkSpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor.h>
Provides accessor interfaces to Access pixels and is meant to be used on pointers to pixels held by the Neighborhood class.
A typical user should not need to use this class. The class is internally used by the neighborhood iterators.
Definition at line 36 of file itkSpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor.h.
Public Types | |
typedef ImageBoundaryCondition< ImageType > const * | ImageBoundaryConditionConstPointerType |
typedef TImage | ImageType |
typedef ImageType::InternalPixelType | InternalPixelType |
typedef Neighborhood< InternalPixelType *, TImage::ImageDimension > | NeighborhoodType |
typedef ImageType::OffsetType | OffsetType |
typedef ImageType::PixelType | PixelType |
typedef unsigned int | VectorLengthType |
Public Member Functions | |
PixelType | BoundaryCondition (const OffsetType &point_index, const OffsetType &boundary_offset, const NeighborhoodType *data, const ImageBoundaryConditionConstPointerType boundaryCondition) const |
PixelType | Get (const InternalPixelType *pixelPointer) const |
VectorLengthType | GetVectorLength () |
void | Set (InternalPixelType *&pixelPointer, const PixelType &p) const |
void | SetBegin (const InternalPixelType *begin) |
void | SetVectorLength (VectorLengthType length) |
SpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor (PixelType fillBufferValue, VectorLengthType length) | |
SpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor () | |
Private Attributes | |
InternalPixelType * | m_Begin |
PixelType | m_FillBufferValue |
VectorLengthType | m_VectorLength |
typedef ImageBoundaryCondition< ImageType > const* itk::SpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor< TImage >::ImageBoundaryConditionConstPointerType |
Definition at line 49 of file itkSpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor.h.
typedef TImage itk::SpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor< TImage >::ImageType |
Definition at line 39 of file itkSpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor.h.
typedef ImageType::InternalPixelType itk::SpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor< TImage >::InternalPixelType |
Definition at line 41 of file itkSpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor.h.
typedef Neighborhood< InternalPixelType *, TImage::ImageDimension> itk::SpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor< TImage >::NeighborhoodType |
Definition at line 46 of file itkSpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor.h.
typedef ImageType::OffsetType itk::SpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor< TImage >::OffsetType |
Definition at line 42 of file itkSpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor.h.
typedef ImageType::PixelType itk::SpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor< TImage >::PixelType |
Definition at line 40 of file itkSpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor.h.
typedef unsigned int itk::SpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor< TImage >::VectorLengthType |
Definition at line 43 of file itkSpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor.h.
|
inline |
Definition at line 51 of file itkSpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor.h.
|
inline |
Definition at line 54 of file itkSpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor.h.
|
inline |
Definition at line 122 of file itkSpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor.h.
|
inline |
Method to dereference a pixel pointer. This is used from the ConstNeighborhoodIterator as the equivalent operation to (*it). This method should be preferred over the former (*it) notation. The reason is that dereferencing a pointer to a location of VectorImage pixel involves a different operation that simply dereferencing the pointer. Here a PixelType (array of InternalPixelType s) is created on the stack and returned.
Definition at line 80 of file itkSpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor.h.
References itk::SpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor< TImage >::m_FillBufferValue, and itk::SpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor< TImage >::m_VectorLength.
|
inline |
Required for some filters to compile.
Definition at line 138 of file itkSpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor.h.
References itk::SpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor< TImage >::m_VectorLength.
|
inline |
Method to set the pixel value at a certain pixel pointer
Definition at line 106 of file itkSpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor.h.
References itk::SpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor< TImage >::m_VectorLength.
|
inline |
Set the pointer index to the start of the buffer. This must be set by the iterators to the starting location of the buffer. Typically a neighborhood iterator iterating on a neighborhood of an Image, say image
will set this in its constructor. For instance:
Definition at line 70 of file itkSpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor.h.
References itk::SpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor< TImage >::m_Begin.
|
inline |
Required for some filters to compile.
Definition at line 132 of file itkSpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor.h.
References itk::SpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor< TImage >::m_VectorLength.
|
private |
Definition at line 145 of file itkSpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor.h.
Referenced by itk::SpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor< TImage >::SetBegin().
|
private |
Definition at line 144 of file itkSpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor.h.
Referenced by itk::SpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor< TImage >::Get().
|
private |
Definition at line 147 of file itkSpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor.h.
Referenced by itk::SpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor< TImage >::Get(), itk::SpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor< TImage >::GetVectorLength(), itk::SpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor< TImage >::Set(), and itk::SpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor< TImage >::SetVectorLength().