18 #ifndef __itkConstNeighborhoodIteratorWithOnlyIndex_h
19 #define __itkConstNeighborhoodIteratorWithOnlyIndex_h
59 template<
typename TImage >
385 template<
typename TImage >
397 template<
typename TImage >
398 inline ConstNeighborhoodIteratorWithOnlyIndex< TImage >
402 {
return ( it + ind ); }
404 template<
typename TImage >
405 inline ConstNeighborhoodIteratorWithOnlyIndex< TImage >
417 #ifndef ITK_MANUAL_INSTANTIATION
418 #include "itkConstNeighborhoodIteratorWithOnlyIndex.hxx"
static const DimensionValueType Dimension
typedef::itk::Size< VDimension > RadiusType
ConstNeighborhoodIterator< TImage > operator-(const ConstNeighborhoodIterator< TImage > &it, const typename ConstNeighborhoodIterator< TImage >::OffsetType &ind)
Superclass::SizeType SizeType
OffsetType operator-(const Self &b)
Self & operator-=(const OffsetType &)
bool operator>(const Self &it) const
A light-weight container object for storing an N-dimensional neighborhood of values.
ConstNeighborhoodIteratorWithOnlyIndex()
virtual void SetEndIndex()
TImage::RegionType RegionType
signed long IndexValueType
Index-only version of ConstNeighborhoodIterator, defining iteration of a local N-dimensional neighbor...
RegionType GetRegion() const
ImageType::ConstPointer m_ConstImage
void NeedToUseBoundaryConditionOff()
IndexType GetBeginIndex() const
Superclass::ConstIterator ConstIterator
virtual IndexType GetIndex(const OffsetType &o) const
Superclass::RadiusType RadiusType
bool GetNeedToUseBoundaryCondition() const
Neighborhood< DummyNeighborhoodPixelType, itkGetStaticConstMacro(Dimension) > NeighborhoodType
bool operator<=(const Self &it) const
Self & operator+=(const OffsetType &)
unsigned int DimensionValueType
Superclass::OffsetType OffsetType
bool operator<(const Self &it) const
virtual IndexType GetIndex(void) const
virtual IndexType GetIndex(NeighborIndexType i) const
OffsetType GetOffset(NeighborIndexType i) const
IndexType m_InnerBoundsLow
virtual ~ConstNeighborhoodIteratorWithOnlyIndex()
virtual void Initialize(const SizeType &radius, const ImageType *ptr, const RegionType ®ion)
bool IndexInBounds(NeighborIndexType n, OffsetType &internalIndex, OffsetType &offset) const
void SetLocation(const IndexType &position)
ConstNeighborhoodIterator< TImage > operator+(const ConstNeighborhoodIterator< TImage > &it, const typename ConstNeighborhoodIterator< TImage >::OffsetType &ind)
typedef::itk::Size< VDimension > SizeType
const ImageType * GetImagePointer(void) const
virtual void SetBound(const SizeType &)
Index< itkGetStaticConstMacro(Dimension) > IndexType
Self & operator=(const Self &orig)
void SetNeedToUseBoundaryCondition(bool b)
Superclass::Iterator Iterator
NeighborhoodType::NeighborIndexType NeighborIndexType
virtual void SetBeginIndex(const IndexType &start)
AllocatorType::iterator Iterator
bool operator==(const Self &it) const
Neighborhood< DummyNeighborhoodPixelType, itkGetStaticConstMacro(Dimension) > Superclass
OffsetType ComputeInternalIndex(NeighborIndexType n) const
virtual void SetLoop(const IndexType &p)
bool m_NeedToUseBoundaryCondition
void NeedToUseBoundaryConditionOn()
bool operator>=(const Self &it) const
bool m_InBounds[Dimension]
Control indentation during Print() invocation.
ConstNeighborhoodIteratorWithOnlyIndex Self
AllocatorType::const_iterator ConstIterator
IndexType m_InnerBoundsHigh
bool operator!=(const Self &it) const
virtual void PrintSelf(std::ostream &, Indent) const
virtual bool IsAtEnd() const
RegionType GetBoundingBoxAsImageRegion() const
char DummyNeighborhoodPixelType
IndexValueType GetBound(NeighborIndexType n) const
virtual bool IsAtBegin() const
IndexType GetBound() const
SizeValueType NeighborIndexType