18 #ifndef itkVectorImageNeighborhoodAccessorFunctor_h 19 #define itkVectorImageNeighborhoodAccessorFunctor_h 40 template<
typename TImage >
74 inline void SetBegin(
const InternalPixelType *begin)
75 { this->
m_Begin =
const_cast< InternalPixelType *
>( begin ); }
85 inline PixelType
Get(
const InternalPixelType *pixelPointer)
const 91 inline void Set(InternalPixelType * & pixelPointer,
const PixelType & p)
const 93 InternalPixelType *truePixelPointer =
98 truePixelPointer[i] = p[i];
103 const OffsetType & point_index,
104 const OffsetType & boundary_offset,
105 const NeighborhoodType *data,
108 return boundaryCondition->operator()(point_index, boundary_offset, data, *
this);
PixelType Get(const InternalPixelType *pixelPointer) const
PixelType BoundaryCondition(const OffsetType &point_index, const OffsetType &boundary_offset, const NeighborhoodType *data, const ImageBoundaryConditionConstPointerType boundaryCondition) const
VectorLengthType m_OffsetMultiplier
ImageType::InternalPixelType InternalPixelType
A light-weight container object for storing an N-dimensional neighborhood of values.
ImageType::OffsetType OffsetType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
InternalPixelType * m_Begin
void Set(InternalPixelType *&pixelPointer, const PixelType &p) const
void SetVectorLength(VectorLengthType length)
ImageBoundaryCondition< ImageType > const * ImageBoundaryConditionConstPointerType
VectorImageNeighborhoodAccessorFunctor()
VectorLengthType m_VectorLength
unsigned int VectorLengthType
void SetBegin(const InternalPixelType *begin)
VectorImageNeighborhoodAccessorFunctor(VectorLengthType length)
Neighborhood< InternalPixelType *, TImage::ImageDimension > NeighborhoodType
ImageType::PixelType PixelType
Provides accessor interfaces to Access pixels and is meant to be used on pointers to pixels held by t...
VectorLengthType GetVectorLength()