18 #ifndef itkPathConstIterator_h
19 #define itkPathConstIterator_h
74 template<
typename TImage,
typename TPath >
86 itkStaticConstMacro(ImageIteratorDimension,
unsigned int,
87 TImage::ImageDimension);
141 return TImage::ImageDimension;
147 return m_CurrentPathPosition;
153 return m_CurrentImageIndex;
159 return m_Image->GetPixel(m_CurrentImageIndex);
176 m_VisitStartIndexAsLastIndexIfClosed = flag;
191 Self & operator=(
const Self & it);
238 #ifndef ITK_MANUAL_INSTANTIATION
239 #include "itkPathConstIterator.hxx"
TImage::RegionType RegionType
TImage::PointType PointType
virtual ~PathConstIterator()
TImage::SpacingType SpacingType
TImage::PixelContainer PixelContainer
TImage::SizeType SizeType
unsigned long SizeValueType
PathType::InputType PathInputType
PathType::ConstPointer m_Path
ImageType::ConstWeakPointer m_Image
IndexType m_CurrentImageIndex
bool m_VisitStartIndexAsLastIndexIfClosed
TImage::IndexType IndexType
const PixelType & Get(void) const
virtual void VisitStartIndexAsLastIndexIfClosed(bool flag)
const SizeValueType * m_ImageSize
ImageBaseType::PointType PointType
SpacingType m_ImageSpacing
const IndexType GetIndex()
TImage::InternalPixelType InternalPixelType
TImage::OffsetType OffsetType
static unsigned int GetImageIteratorDimension()
TImage::AccessorType AccessorType
TImage::PixelType PixelType
PathType::OutputType PathOutputType
PathInputType m_CurrentPathPosition
PathConstIterator iterates (traces) over a path through an image.
ImageBaseType::SizeType SizeType
PixelContainer::Pointer PixelContainerPointer
const PathInputType GetPathPosition()
ImageBaseType::IndexType IndexType