18 #ifndef __itkConstShapedNeighborhoodIterator_h
19 #define __itkConstShapedNeighborhoodIterator_h
70 template<
typename TImage,
typename TBoundaryCondition =
82 itkStaticConstMacro(
Dimension,
unsigned int, TImage::ImageDimension);
262 using Superclass::operator==;
263 using Superclass::operator!=;
264 using Superclass::operator<;
265 using Superclass::operator>;
266 using Superclass::operator>=;
267 using Superclass::operator<=;
268 using Superclass::operator[];
281 using Superclass::operator-;
385 #ifndef ITK_MANUAL_INSTANTIATION
386 #include "itkConstShapedNeighborhoodIterator.hxx"
virtual IndexType GetIndex(void) const
virtual bool IsAtEnd() const
bool operator!=(const ConstIterator &o) const
Const version of ShapedNeighborhoodIterator, defining iteration of a local N-dimensional neighborhood...
Superclass::SizeType SizeType
Superclass::SizeType SizeType
IndexType::IndexValueType IndexValueType
Index< itkGetStaticConstMacro(Dimension) > IndexType
std::list< NeighborIndexType > IndexListType
bool GetNeedToUseBoundaryCondition() const
IndexListType::const_iterator IndexListConstIterator
TImage::PixelType PixelType
void InitializeConstShapedNeighborhoodIterator()
virtual PixelType GetPixel(NeighborIndexType i) const
void NeedToUseBoundaryConditionOn()
ImageBoundaryCondition< ImageType > * ImageBoundaryConditionPointerType
Superclass::RadiusType RadiusType
virtual void OverrideBoundaryCondition(const ImageBoundaryConditionPointerType i)
A light-weight container object for storing an N-dimensional neighborhood of values.
TBoundaryCondition BoundaryConditionType
virtual void ActivateOffset(const OffsetType &off)
ConstIterator m_ConstBeginIterator
Self & operator-=(const OffsetType &)
IndexListType::const_iterator m_ListIterator
NeighborhoodType::NeighborIndexType NeighborIndexType
virtual void ClearActiveList()
virtual bool IsAtBegin() const
virtual NeighborIndexType GetNeighborhoodIndex(const OffsetType &) const
Self & operator=(const Self &orig)
IndexType GetBeginIndex() const
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
unsigned long SizeValueType
virtual void ResetBoundaryCondition()
void ProtectedSet(const PixelType &v) const
virtual void DeactivateOffset(const OffsetType &off)
const IndexListType & GetActiveIndexList() const
Superclass::SizeType SizeType
TImage::InternalPixelType InternalPixelType
Superclass::ConstIterator ConstIterator
::itk::IndexValueType IndexValueType
ConstShapedNeighborhoodIterator()
OffsetType GetOffset(NeighborIndexType i) const
ConstIterator m_ConstEndIterator
virtual void DeactivateIndex(NeighborIndexType)
TImage::InternalPixelType *& GetElement(NeighborIndexType i)
void SetLocation(const IndexType &position)
virtual void SetCenterPixel(const PixelType &p)
Neighborhood< PixelType, itkGetStaticConstMacro(Dimension) > NeighborhoodType
PixelType GetCenterPixel() const
ConstShapedNeighborhoodIterator Self
IndexListType::size_type GetActiveIndexListSize() const
virtual void ActivateIndex(NeighborIndexType)
const SizeType GetRadius() const
void CreateActiveListFromNeighborhood(const NeighborhoodType &)
IndexListType::iterator IndexListIterator
friend struct ConstIterator
static const unsigned int Dimension
virtual void SetRegion(const RegionType ®ion)
OffsetType GetNeighborhoodOffset() const
Superclass::RadiusType RadiusType
Self & operator+=(const OffsetType &)
Superclass::OffsetType OffsetType
ConstShapedNeighborhoodIterator(const SizeType &radius, const ImageType *ptr, const RegionType ®ion)
ImageType::RegionType RegionType
ConstIterator(const ConstIterator &o)
TImage::PixelType PixelType
virtual void PrintSelf(std::ostream &, Indent) const
const ImageType * GetImagePointer(void) const
virtual void SetPixel(const unsigned i, const PixelType &v, bool &status)
RegionType GetRegion() const
Self & operator=(const Self &orig)
InternalPixelType * GetCenterPointer()
OffsetType::OffsetValueType OffsetValueType
NeighborhoodIterator< TImage, TBoundaryCondition > Superclass
const ConstIterator & End() const
NeighborhoodType::NeighborIndexType NeighborIndexType
NeighborIndexType GetCenterNeighborhoodIndex() const
Control indentation during Print() invocation.
Self * m_NeighborhoodIterator
IndexListType m_ActiveIndexList
ImageBoundaryConditionPointerType GetBoundaryCondition() const
ConstIterator & operator=(const ConstIterator &o)
virtual ~ConstShapedNeighborhoodIterator()
void NeedToUseBoundaryConditionOff()
const ConstIterator & operator++()
itk::OffsetValueType OffsetValueType
const ConstIterator & operator--()
void SetNeedToUseBoundaryCondition(bool b)
bool operator==(const ConstIterator &o) const
void Print(std::ostream &os) const
Defines iteration of a local N-dimensional neighborhood of pixels across an itk::Image.
const ConstIterator & Begin() const
SizeType::SizeValueType SizeValueType
TImage::RegionType RegionType
IndexListType::value_type GetNeighborhoodIndex() const
SizeValueType NeighborIndexType