18#ifndef itkConstNeighborhoodIteratorWithOnlyIndex_h
19#define itkConstNeighborhoodIteratorWithOnlyIndex_h
61template <
typename TImage>
410template <
typename TImage>
413 const typename TImage::RegionType &)
417template <
typename TImage>
427template <
typename TImage>
435template <
typename TImage>
446#ifndef ITK_MANUAL_INSTANTIATION
447# 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 &)
ConstNeighborhoodIteratorWithOnlyIndex(const SizeType &radius, const TImage *ptr, const RegionType ®ion)
Index< Self::Dimension > IndexType
ConstNeighborhoodIteratorWithOnlyIndex Self
bool m_NeedToUseBoundaryCondition
IndexType GetIndex(const OffsetType &o) const
bool operator>=(const Self &it) const
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)
int8_t DummyNeighborhoodPixelType
void SetBeginIndex(const IndexType &start)
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
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
ConstNeighborhoodIteratorWithOnlyIndex(const typename TImage::SizeType &, SmartPointer< TImage >, const typename TImage::RegionType &) -> ConstNeighborhoodIteratorWithOnlyIndex< std::remove_const_t< TImage > >
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.