18 #ifndef itkNeighborhoodAccessorFunctor_h 19 #define itkNeighborhoodAccessorFunctor_h 40 template<
typename TImage >
58 inline void SetBegin(
const InternalPixelType *) {}
66 inline PixelType
Get(
const InternalPixelType *pixelPointer)
const 68 return ( *pixelPointer );
72 inline void Set(InternalPixelType * & pixelPointer,
const PixelType & p)
const 78 const OffsetType & point_index,
79 const OffsetType & boundary_offset,
80 const NeighborhoodType *data,
83 return boundaryCondition->operator()(point_index, boundary_offset, data);
unsigned int VectorLengthType
ImageType::InternalPixelType InternalPixelType
ImageType::OffsetType OffsetType
A light-weight container object for storing an N-dimensional neighborhood of values.
ImageType::PixelType PixelType
static const unsigned int ImageDimension
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
PixelType Get(const InternalPixelType *pixelPointer) const
void Set(InternalPixelType *&pixelPointer, const PixelType &p) const
virtual ~NeighborhoodAccessorFunctor()
NeighborhoodAccessorFunctor Self
Provides accessor interfaces to Get pixels and is meant to be used on pointers contained within Neigh...
void SetBegin(const InternalPixelType *)
PixelType BoundaryCondition(const OffsetType &point_index, const OffsetType &boundary_offset, const NeighborhoodType *data, const ImageBoundaryConditionConstPointerType boundaryCondition) const
ImageBoundaryCondition< ImageType > const * ImageBoundaryConditionConstPointerType
VectorLengthType SetVectorLength()
void SetVectorLength(VectorLengthType)
NeighborhoodAccessorFunctor()
Neighborhood< InternalPixelType *, Self::ImageDimension > NeighborhoodType