18 #ifndef itkNeighborhoodIterator_h 19 #define itkNeighborhoodIterator_h 215 template<
typename TImage,
typename TBoundaryCondition =
258 const RegionType & region):
259 Superclass(radius, ptr, region) {}
266 {
return ( this->
operator[]( ( this->
Size() ) >> 1 ) ); }
279 virtual void SetPixel(
const unsigned i,
const PixelType & v,
283 virtual void SetPixel(
const unsigned i,
const PixelType & v);
288 virtual void SetPixel(
const OffsetType o,
const PixelType & v)
296 virtual void SetNext(
const unsigned axis,
const unsigned i,
306 virtual void SetNext(
const unsigned axis,
const PixelType & v)
335 #ifndef ITK_MANUAL_INSTANTIATION 336 #include "itkNeighborhoodIterator.hxx"
virtual void SetPixel(const OffsetType o, const PixelType &v)
Superclass::SizeType SizeType
virtual void SetPrevious(const unsigned axis, const unsigned i, const PixelType &v)
NeighborhoodAccessorFunctorType m_NeighborhoodAccessorFunctor
virtual void PrintSelf(std::ostream &, Indent) const
Superclass::PixelType PixelType
Neighborhood< PixelType, itkGetStaticConstMacro(Dimension) > NeighborhoodType
virtual void SetNext(const unsigned axis, const unsigned i, const PixelType &v)
virtual NeighborIndexType GetNeighborhoodIndex(const OffsetType &) const
OffsetValueType GetStride(DimensionValueType axis) const
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
NeighborhoodIterator(const SizeType &radius, ImageType *ptr, const RegionType ®ion)
Superclass::RadiusType RadiusType
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
ImageBoundaryCondition< ImageType > * ImageBoundaryConditionPointerType
Superclass::RegionType RegionType
virtual void SetNext(const unsigned axis, const PixelType &v)
Superclass::SizeType SizeType
Self & operator=(const Self &orig)
NeighborIndexType Size() const
NeighborhoodIterator(const NeighborhoodIterator &n)
ConstNeighborhoodIterator< TImage, TBoundaryCondition > Superclass
virtual void SetCenterPixel(const PixelType &p)
Superclass::NeighborhoodType NeighborhoodType
Superclass::ConstIterator ConstIterator
Superclass::IndexType IndexType
NeighborhoodIterator Self
Superclass::OffsetType OffsetType
Superclass::RadiusType RadiusType
TImage::RegionType RegionType
Index< itkGetStaticConstMacro(Dimension) > IndexType
Superclass::ImageBoundaryConditionPointerType ImageBoundaryConditionPointerType
Superclass::InternalPixelType InternalPixelType
virtual void SetPixel(const unsigned i, const PixelType &v, bool &status)
Self & operator=(const Self &orig)
AllocatorType::iterator Iterator
InternalPixelType * GetCenterPointer()
virtual void SetPrevious(const unsigned axis, const PixelType &v)
Superclass::ImageType ImageType
NeighborIndexType GetCenterNeighborhoodIndex() const
Control indentation during Print() invocation.
AllocatorType::const_iterator ConstIterator
Superclass::Iterator Iterator
virtual void SetNeighborhood(const NeighborhoodType &)
Defines iteration of a local N-dimensional neighborhood of pixels across an itk::Image.
TImage::InternalPixelType InternalPixelType