18 #ifndef itkShapedNeighborhoodIterator_h
19 #define itkShapedNeighborhoodIterator_h
150 template<
typename TImage,
typename TBoundaryCondition =
161 itkStaticConstMacro(
Dimension,
unsigned int, TImage::ImageDimension);
193 ConstIterator::operator=(o);
199 { ConstIterator::ProtectedSet(v); }
207 m_EndIterator.GoToEnd();
224 m_EndIterator.GoToEnd();
230 using Superclass::SetPixel;
231 using Superclass::SetCenterPixel;
237 Superclass::operator=(orig);
240 m_BeginIterator.GoToBegin();
241 m_EndIterator.GoToEnd();
246 virtual void PrintSelf(std::ostream &,
Indent)
const;
257 {
return this->m_ConstEndIterator; }
261 Superclass::ClearActiveList();
262 m_EndIterator.GoToEnd();
263 m_BeginIterator.GoToBegin();
275 Superclass::ActivateIndex(n);
276 m_EndIterator.GoToEnd();
277 m_BeginIterator.GoToBegin();
282 Superclass::DeactivateIndex(n);
283 m_EndIterator.GoToEnd();
284 m_BeginIterator.GoToBegin();
292 #ifndef ITK_MANUAL_INSTANTIATION
293 #include "itkShapedNeighborhoodIterator.hxx"
Superclass::BoundaryConditionType BoundaryConditionType
Const version of ShapedNeighborhoodIterator, defining iteration of a local N-dimensional neighborhood...
Superclass::ConstIterator ConstIterator
Superclass::ImageBoundaryConditionPointerType ImageBoundaryConditionPointerType
Superclass::RegionType RegionType
Superclass::NeighborhoodType NeighborhoodType
const ConstIterator & End() const
TImage::PixelType PixelType
Superclass::IndexType IndexType
A light-weight container object for storing an N-dimensional neighborhood of values.
signed long IndexValueType
NeighborhoodType::NeighborIndexType NeighborIndexType
ConstShapedNeighborhoodIterator< TImage, TBoundaryCondition > Superclass
ShapedNeighborhoodIterator()
Superclass::SizeValueType SizeValueType
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
A neighborhood iterator which can take on an arbitrary shape.
Superclass::Iterator Iterator
Superclass::OffsetType OffsetType
TImage::InternalPixelType InternalPixelType
Superclass::SizeType SizeType
ShapedNeighborhoodIterator(const SizeType &radius, const ImageType *ptr, const RegionType ®ion)
Superclass::ConstIterator ConstIterator
Iterator & operator=(const Iterator &o)
TImage::PixelType PixelType
ShapedNeighborhoodIterator Self
const unsigned int Dimension
ImageType::RegionType RegionType
Superclass::RadiusType RadiusType
Superclass::IndexValueType IndexValueType
OffsetType::OffsetValueType OffsetValueType
Superclass::IndexListType IndexListType
void ActivateIndex(NeighborIndexType n)
Control indentation during Print() invocation.
Superclass::SizeType SizeType
AllocatorType::const_iterator ConstIterator
ImageBaseType::SizeType SizeType
virtual ~ShapedNeighborhoodIterator()
SizeType::SizeValueType SizeValueType
itk::OffsetValueType OffsetValueType
Superclass::NeighborIndexType NeighborIndexType
void Set(const PixelType &v) const
void DeactivateIndex(NeighborIndexType n)
Superclass::ImageType ImageType
ImageBaseType::IndexType IndexType
Self & operator=(const Self &orig)
SizeValueType NeighborIndexType