|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
21 #ifndef otbPolyLineImageConstIterator_h
22 #define otbPolyLineImageConstIterator_h
26 #include "itkLineIterator.h"
45 template <
class TImage,
class TPath>
52 itkStaticConstMacro(ImageIteratorDimension,
unsigned int, TImage::ImageDimension);
78 return TImage::ImageDimension;
84 return m_InternalImageIterator.GetIndex();
90 return m_InternalImageIterator.Get();
96 return (m_InternalVertexIterator == m_Path->GetVertexList()->End()) && m_InternalImageIterator.IsAtEnd();
107 Self& operator=(
const Self& it);
128 #ifndef OTB_MANUAL_INSTANTIATION
TImage::AccessorType AccessorType
PathType::VertexType VertexType
TImage::OffsetType OffsetType
const PixelType Get(void) const
ImageType::ConstWeakPointer m_Image
TImage::SizeValueType SizeValueType
PathType::VertexListType VertexListType
const IndexType GetIndex()
TImage::RegionType RegionType
virtual ~PolyLineImageConstIterator()
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
VertexIteratorType m_InternalVertexIterator
itk::LineIterator< ImageType > InternalImageIteratorType
TImage::PointType PointType
PixelContainer::Pointer PixelContainerPointer
VertexListType::ConstIterator VertexIteratorType
static unsigned int GetImageIteratorDimension()
PathType::ConstPointer m_Path
TImage::OffsetValueType OffsetValueType
TImage::IndexValueType IndexValueType
Uses the bresenham algorithm to iterate over a polyline on an image (const version).
TImage::PixelType PixelType
TImage::SizeType SizeType
TImage::IndexType IndexType
PolyLineImageConstIterator Self
TImage::SpacingType SpacingType
TImage::InternalPixelType InternalPixelType
InternalImageIteratorType m_InternalImageIterator
TImage::PixelContainer PixelContainer