18#ifndef itkPathConstIterator_h
19#define itkPathConstIterator_h
74template <
typename TImage,
typename TPath>
86 static constexpr unsigned int ImageIteratorDimension = TImage::ImageDimension;
141 return TImage::ImageDimension;
148 return m_CurrentPathPosition;
155 return m_CurrentImageIndex;
162 return m_Image->GetPixel(m_CurrentImageIndex);
181 m_VisitStartIndexAsLastIndexIfClosed = flag;
212 typename ImageType::ConstWeakPointer m_Image{};
233 bool m_VisitStartIndexAsLastIndexIfClosed{};
246#ifndef ITK_MANUAL_INSTANTIATION
247# include "itkPathConstIterator.hxx"
PathConstIterator iterates (traces) over a path through an image.
const IndexType GetIndex()
const PixelType & Get() const
typename TImage::PixelContainer PixelContainer
typename TImage::SizeType SizeType
typename TImage::InternalPixelType InternalPixelType
typename TImage::PointType PointType
Self & operator=(const Self &it)
typename PixelContainer::Pointer PixelContainerPointer
typename PathType::InputType PathInputType
const PathInputType GetPathPosition()
typename TImage::PixelType PixelType
static unsigned int GetImageIteratorDimension()
typename TImage::IndexType IndexType
typename PathType::OutputType PathOutputType
typename TImage::OffsetType OffsetType
typename TImage::RegionType RegionType
virtual ~PathConstIterator()=default
typename TImage::AccessorType AccessorType
typename TImage::SpacingType SpacingType
PathConstIterator(const ImageType *imagePtr, const PathType *pathPtr)
virtual void VisitStartIndexAsLastIndexIfClosed(bool flag)
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::PointType PointType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType