18#ifndef itkShapedNeighborhoodIterator_h
19#define itkShapedNeighborhoodIterator_h
149template <
typename TImage,
typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition<TImage>>
159 static constexpr unsigned int Dimension = TImage::ImageDimension;
171 using typename Superclass::ConstIterator;
193 ConstIterator::operator=(o);
201 ConstIterator::ProtectedSet(v);
207 Iterator(
const Self * s,
const typename IndexListType::const_iterator & li)
227#ifndef ITK_FUTURE_LEGACY_REMOVE
231 ITK_FUTURE_DEPRECATED(
232 "This constructor is intended to be removed. For a `const` image, use ConstShapedNeighborhoodIterator instead!")
234 : Superclass(radius, ptr, region)
243 using Superclass::SetPixel;
244 using Superclass::SetCenterPixel;
270 using Superclass::Begin;
271 using Superclass::End;
itk::Size< VDimension > RadiusType
Offset< VDimension > OffsetType
itk::Size< VDimension > SizeType
Index< Self::Dimension > IndexType
IndexListType m_ActiveIndexList
typename TImage::RegionType RegionType
ImageBoundaryCondition< ImageType > * ImageBoundaryConditionPointerType
ConstShapedNeighborhoodIterator()=default
typename SizeType::SizeValueType SizeValueType
TBoundaryCondition BoundaryConditionType
Self & operator=(const Self &orig)
Neighborhood< PixelType, Self::Dimension > NeighborhoodType
typename IndexType::IndexValueType IndexValueType
typename NeighborhoodType::NeighborIndexType NeighborIndexType
std::list< NeighborIndexType > IndexListType
itk::Size< VDimension > SizeType
A neighborhood iterator which can take on an arbitrary shape.
typename OffsetType::OffsetValueType OffsetValueType
static constexpr unsigned int Dimension
typename TImage::PixelType PixelType
ShapedNeighborhoodIterator()=default
ShapedNeighborhoodIterator Self
ShapedNeighborhoodIterator(const ShapedNeighborhoodIterator &o)=delete
~ShapedNeighborhoodIterator() override=default
Self & operator=(const Self &orig)
typename TImage::InternalPixelType InternalPixelType
ShapedNeighborhoodIterator(const SizeType &radius, ImageType *ptr, const RegionType ®ion)
ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition > Superclass
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
itk::OffsetValueType OffsetValueType
Iterator(const Self *s, const typename IndexListType::const_iterator &li)
Iterator & operator=(const Iterator &o)
void Set(const PixelType &v) const