OTB
9.0.0
Orfeo Toolbox
|
#include <otbPolyLineImageConstIterator.h>
Public Types | |
typedef TImage::AccessorType | AccessorType |
typedef TImage | ImageType |
typedef TImage::IndexType | IndexType |
typedef TImage::IndexValueType | IndexValueType |
typedef itk::LineIterator< ImageType > | InternalImageIteratorType |
typedef TImage::InternalPixelType | InternalPixelType |
typedef TImage::OffsetType | OffsetType |
typedef TImage::OffsetValueType | OffsetValueType |
typedef TPath | PathType |
typedef TImage::PixelContainer | PixelContainer |
typedef PixelContainer::Pointer | PixelContainerPointer |
typedef TImage::PixelType | PixelType |
typedef TImage::PointType | PointType |
typedef TImage::RegionType | RegionType |
typedef PolyLineImageConstIterator | Self |
typedef TImage::SizeType | SizeType |
typedef TImage::SizeValueType | SizeValueType |
typedef TImage::SpacingType | SpacingType |
typedef VertexListType::ConstIterator | VertexIteratorType |
typedef PathType::VertexListType | VertexListType |
typedef PathType::VertexType | VertexType |
Public Member Functions | |
const PixelType | Get (void) const |
const IndexType | GetIndex () |
bool | IsAtEnd () |
virtual | ~PolyLineImageConstIterator () |
void | GoToBegin () |
void | operator++ () |
Self & | operator= (const Self &it) |
PolyLineImageConstIterator (const ImageType *imagePtr, const PathType *pathPtr) | |
Static Public Member Functions | |
static unsigned int | GetImageIteratorDimension () |
Static Public Attributes | |
static const unsigned int | ImageIteratorDimension = TImage::ImageDimension |
Protected Attributes | |
ImageType::ConstWeakPointer | m_Image |
InternalImageIteratorType | m_InternalImageIterator |
VertexIteratorType | m_InternalVertexIterator |
PathType::ConstPointer | m_Path |
Uses the bresenham algorithm to iterate over a polyline on an image (const version).
This iterator encapsulates the itk::LineIterator along with the VectorContainer iterator on the vertex list of the polyline.
Definition at line 46 of file otbPolyLineImageConstIterator.h.
typedef TImage::AccessorType otb::PolyLineImageConstIterator< TImage, TPath >::AccessorType |
Definition at line 73 of file otbPolyLineImageConstIterator.h.
typedef TImage otb::PolyLineImageConstIterator< TImage, TPath >::ImageType |
Definition at line 63 of file otbPolyLineImageConstIterator.h.
typedef TImage::IndexType otb::PolyLineImageConstIterator< TImage, TPath >::IndexType |
Definition at line 54 of file otbPolyLineImageConstIterator.h.
typedef TImage::IndexValueType otb::PolyLineImageConstIterator< TImage, TPath >::IndexValueType |
Definition at line 55 of file otbPolyLineImageConstIterator.h.
typedef itk::LineIterator<ImageType> otb::PolyLineImageConstIterator< TImage, TPath >::InternalImageIteratorType |
Definition at line 68 of file otbPolyLineImageConstIterator.h.
typedef TImage::InternalPixelType otb::PolyLineImageConstIterator< TImage, TPath >::InternalPixelType |
Definition at line 71 of file otbPolyLineImageConstIterator.h.
typedef TImage::OffsetType otb::PolyLineImageConstIterator< TImage, TPath >::OffsetType |
Definition at line 56 of file otbPolyLineImageConstIterator.h.
typedef TImage::OffsetValueType otb::PolyLineImageConstIterator< TImage, TPath >::OffsetValueType |
Definition at line 57 of file otbPolyLineImageConstIterator.h.
typedef TPath otb::PolyLineImageConstIterator< TImage, TPath >::PathType |
Definition at line 64 of file otbPolyLineImageConstIterator.h.
typedef TImage::PixelContainer otb::PolyLineImageConstIterator< TImage, TPath >::PixelContainer |
Definition at line 69 of file otbPolyLineImageConstIterator.h.
typedef PixelContainer::Pointer otb::PolyLineImageConstIterator< TImage, TPath >::PixelContainerPointer |
Definition at line 70 of file otbPolyLineImageConstIterator.h.
typedef TImage::PixelType otb::PolyLineImageConstIterator< TImage, TPath >::PixelType |
Definition at line 72 of file otbPolyLineImageConstIterator.h.
typedef TImage::PointType otb::PolyLineImageConstIterator< TImage, TPath >::PointType |
Definition at line 62 of file otbPolyLineImageConstIterator.h.
typedef TImage::RegionType otb::PolyLineImageConstIterator< TImage, TPath >::RegionType |
Definition at line 60 of file otbPolyLineImageConstIterator.h.
typedef PolyLineImageConstIterator otb::PolyLineImageConstIterator< TImage, TPath >::Self |
Standard typedefs
Definition at line 50 of file otbPolyLineImageConstIterator.h.
typedef TImage::SizeType otb::PolyLineImageConstIterator< TImage, TPath >::SizeType |
Definition at line 58 of file otbPolyLineImageConstIterator.h.
typedef TImage::SizeValueType otb::PolyLineImageConstIterator< TImage, TPath >::SizeValueType |
Definition at line 59 of file otbPolyLineImageConstIterator.h.
typedef TImage::SpacingType otb::PolyLineImageConstIterator< TImage, TPath >::SpacingType |
Definition at line 61 of file otbPolyLineImageConstIterator.h.
typedef VertexListType::ConstIterator otb::PolyLineImageConstIterator< TImage, TPath >::VertexIteratorType |
Definition at line 67 of file otbPolyLineImageConstIterator.h.
typedef PathType::VertexListType otb::PolyLineImageConstIterator< TImage, TPath >::VertexListType |
Definition at line 66 of file otbPolyLineImageConstIterator.h.
typedef PathType::VertexType otb::PolyLineImageConstIterator< TImage, TPath >::VertexType |
Definition at line 65 of file otbPolyLineImageConstIterator.h.
otb::PolyLineImageConstIterator< TImage, TPath >::PolyLineImageConstIterator | ( | const ImageType * | imagePtr, |
const PathType * | pathPtr | ||
) |
Constructor establishes an iterator to walk along a line
Constructor
Definition at line 33 of file otbPolyLineImageConstIterator.hxx.
References otb::PolyLineImageConstIterator< TImage, TPath >::m_Image, otb::PolyLineImageConstIterator< TImage, TPath >::m_InternalImageIterator, otb::PolyLineImageConstIterator< TImage, TPath >::m_InternalVertexIterator, and otb::PolyLineImageConstIterator< TImage, TPath >::m_Path.
|
inlinevirtual |
Default Destructor.
Definition at line 113 of file otbPolyLineImageConstIterator.h.
|
inline |
Get the pixel value
Definition at line 88 of file otbPolyLineImageConstIterator.h.
|
inlinestatic |
Get the dimension (size) of the index.
Definition at line 76 of file otbPolyLineImageConstIterator.h.
|
inline |
Get the index
Definition at line 82 of file otbPolyLineImageConstIterator.h.
void otb::PolyLineImageConstIterator< TImage, TPath >::GoToBegin |
Move an iterator to the beginning of the line.
Definition at line 71 of file otbPolyLineImageConstIterator.hxx.
|
inline |
Is the iterator at the end of the line?
Definition at line 94 of file otbPolyLineImageConstIterator.h.
void otb::PolyLineImageConstIterator< TImage, TPath >::operator++ |
Walk forward along the line to the next index in the image.
Definition at line 96 of file otbPolyLineImageConstIterator.hxx.
PolyLineImageConstIterator< TImage, TPath >::Self & otb::PolyLineImageConstIterator< TImage, TPath >::operator= | ( | const Self & | it | ) |
operator= is provided to make sure the handle to the image is properly reference counted.
Definition at line 62 of file otbPolyLineImageConstIterator.hxx.
References otb::PolyLineImageConstIterator< TImage, TPath >::m_Image, otb::PolyLineImageConstIterator< TImage, TPath >::m_InternalImageIterator, otb::PolyLineImageConstIterator< TImage, TPath >::m_InternalVertexIterator, and otb::PolyLineImageConstIterator< TImage, TPath >::m_Path.
|
static |
Definition at line 52 of file otbPolyLineImageConstIterator.h.
|
protected |
Smart pointer to the source image.
Definition at line 119 of file otbPolyLineImageConstIterator.h.
Referenced by otb::PolyLineImageConstIterator< TImage, TPath >::operator=(), and otb::PolyLineImageConstIterator< TImage, TPath >::PolyLineImageConstIterator().
|
protected |
Definition at line 123 of file otbPolyLineImageConstIterator.h.
Referenced by otb::PolyLineImageConstIterator< TImage, TPath >::operator=(), and otb::PolyLineImageConstIterator< TImage, TPath >::PolyLineImageConstIterator().
|
protected |
Definition at line 124 of file otbPolyLineImageConstIterator.h.
Referenced by otb::PolyLineImageConstIterator< TImage, TPath >::operator=(), and otb::PolyLineImageConstIterator< TImage, TPath >::PolyLineImageConstIterator().
|
protected |
Smart pointer to the path
Definition at line 122 of file otbPolyLineImageConstIterator.h.
Referenced by otb::PolyLineImageConstIterator< TImage, TPath >::operator=(), and otb::PolyLineImageConstIterator< TImage, TPath >::PolyLineImageConstIterator().