18#ifndef itkConstNeighborhoodIteratorWithOnlyIndex_h
19#define itkConstNeighborhoodIteratorWithOnlyIndex_h
59template <
typename TImage>
407template <
typename TImage>
408inline ConstNeighborhoodIteratorWithOnlyIndex<TImage>
417template <
typename TImage>
418inline ConstNeighborhoodIteratorWithOnlyIndex<TImage>
425template <
typename TImage>
426inline ConstNeighborhoodIteratorWithOnlyIndex<TImage>
436#ifndef ITK_MANUAL_INSTANTIATION
437# include "itkConstNeighborhoodIteratorWithOnlyIndex.hxx"
Index-only version of ConstNeighborhoodIterator, defining iteration of a local N-dimensional neighbor...
bool GetNeedToUseBoundaryCondition() const
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION(Self)
ConstNeighborhoodIteratorWithOnlyIndex()=default
RegionType GetBoundingBoxAsImageRegion() const
IndexType m_InnerBoundsHigh
void SetLocation(const IndexType &position)
void NeedToUseBoundaryConditionOff()
Offset< VDimension > OffsetType
OffsetType operator-(const Self &b) const
const ImageType * GetImagePointer() const
Neighborhood< DummyNeighborhoodPixelType, Self::Dimension > NeighborhoodType
Self & operator-=(const OffsetType &)
Index< Self::Dimension > IndexType
ConstNeighborhoodIteratorWithOnlyIndex Self
bool m_NeedToUseBoundaryCondition
IndexType GetIndex(const OffsetType &o) const
bool operator>=(const Self &it) const
ConstNeighborhoodIteratorWithOnlyIndex(const SizeType &radius, const ImageType *ptr, const RegionType ®ion)
ImageType::ConstPointer m_ConstImage
IndexType GetBound() const
bool operator<(const Self &it) const
IndexValueType GetBound(NeighborIndexType n) const
void SetLoop(const IndexType &p)
bool operator==(const Self &it) const
bool IndexInBounds(const NeighborIndexType n, OffsetType &internalIndex, OffsetType &offset) const
void Initialize(const SizeType &radius, const ImageType *ptr, const RegionType ®ion)
IndexType GetIndex(NeighborIndexType i) const
IndexType GetBeginIndex() const
bool m_InBounds[Dimension]
static constexpr DimensionValueType Dimension
void SetNeedToUseBoundaryCondition(bool b)
void SetBeginIndex(const IndexType &start)
char DummyNeighborhoodPixelType
itk::Size< VDimension > SizeType
OffsetType ComputeInternalIndex(NeighborIndexType n) const
typename NeighborhoodType::NeighborIndexType NeighborIndexType
void PrintSelf(std::ostream &, Indent) const override
IndexType GetIndex() const
RegionType GetRegion() const
ITK_DEFAULT_COPY_AND_MOVE(ConstNeighborhoodIteratorWithOnlyIndex)
IndexType m_InnerBoundsLow
bool operator>(const Self &it) const
Neighborhood< DummyNeighborhoodPixelType, Self::Dimension > Superclass
Self & operator+=(const OffsetType &)
typename TImage::RegionType RegionType
void NeedToUseBoundaryConditionOn()
~ConstNeighborhoodIteratorWithOnlyIndex() override=default
void SetBound(const SizeType &)
bool operator<=(const Self &it) const
unsigned int DimensionValueType
Control indentation during Print() invocation.
itk::Size< VDimension > RadiusType
typename AllocatorType::iterator Iterator
OffsetType GetOffset(NeighborIndexType i) const
itk::Size< VDimension > SizeType
SizeValueType NeighborIndexType
typename AllocatorType::const_iterator ConstIterator
Offset< VDimension > OffsetType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
ConstNeighborhoodIterator< TImage > operator-(const ConstNeighborhoodIterator< TImage > &it, const typename ConstNeighborhoodIterator< TImage >::OffsetType &ind)
ConstNeighborhoodIterator< TImage > operator+(const ConstNeighborhoodIterator< TImage > &it, const typename ConstNeighborhoodIterator< TImage >::OffsetType &ind)
Represent a n-dimensional index in a n-dimensional image.