ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkRLEImageConstIterator.h>
Definition at line 42 of file itkRLEImageConstIterator.h.
Public Types | |
using | BufferIterator = ImageRegionIterator< BufferType > |
using | BufferType = typename ImageType::BufferType |
using | ImageType = RLEImage< TPixel, VImageDimension, CounterType > |
using | IndexType = typename ImageType::IndexType |
using | IndexValueType = typename ImageType::IndexValueType |
using | InternalPixelType = typename ImageType::InternalPixelType |
using | OffsetType = typename ImageType::OffsetType |
using | PixelType = typename ImageType::PixelType |
using | RegionType = typename ImageType::RegionType |
using | RLLine = typename ImageType::RLLine |
using | Self = ImageConstIterator |
using | SizeType = typename ImageType::SizeType |
Public Member Functions | |
PixelType | Get (void) const |
const ImageType * | GetImage () const |
const IndexType | GetIndex () const |
const RegionType | GetRegion () const |
bool | IsAtBegin (void) const |
bool | IsAtEnd (void) const |
itkTypeMacroNoParent (ImageConstIterator) | |
const PixelType & | Value (void) const |
virtual | ~ImageConstIterator () |
ImageConstIterator () | |
ImageConstIterator (const Self &it) | |
ImageConstIterator (const ImageType *ptr, const RegionType ®ion) | |
bool | operator< (const Self &it) const |
bool | operator>= (const Self &it) const |
bool | operator> (const Self &it) const |
virtual void | SetIndex (const IndexType &ind) |
void | GoToBegin () |
void | GoToEnd () |
Static Public Attributes | |
static constexpr unsigned int | ImageIteratorDimension = VImageDimension |
Friends | |
class | ::MultiLabelMeshPipeline |
Self & | operator= (const Self &it) |
virtual void | SetRegion (const RegionType ®ion) |
bool | operator!= (const Self &it) const |
bool | operator== (const Self &it) const |
bool | operator<= (const Self &it) const |
static unsigned int | GetImageIteratorDimension () |
ImageType::ConstWeakPointer | m_Image |
IndexValueType | m_Index0 |
const RLLine * | m_RunLengthLine |
SizeValueType | m_RealIndex |
IndexValueType | m_SegmentRemainder |
IndexValueType | m_BeginIndex0 |
IndexValueType | m_EndIndex0 |
BufferIterator | m_BI |
BufferType::Pointer | m_Buffer |
virtual void | SetIndexInternal (const IndexValueType ind0) |
using itk::ImageConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >::BufferIterator = ImageRegionIterator< BufferType > |
Type for the internal buffer iterator.
Definition at line 69 of file itkRLEImageConstIterator.h.
using itk::ImageConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >::BufferType = typename ImageType::BufferType |
Buffer Type used.
Definition at line 66 of file itkRLEImageConstIterator.h.
using itk::ImageConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >::ImageType = RLEImage< TPixel, VImageDimension, CounterType > |
Image type alias support.
Definition at line 60 of file itkRLEImageConstIterator.h.
using itk::ImageConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >::IndexType = typename ImageType::IndexType |
Index type alias support.
Definition at line 72 of file itkRLEImageConstIterator.h.
using itk::ImageConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >::IndexValueType = typename ImageType::IndexValueType |
Index type alias support.
Definition at line 75 of file itkRLEImageConstIterator.h.
using itk::ImageConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >::InternalPixelType = typename ImageType::InternalPixelType |
Internal Pixel Type
Definition at line 87 of file itkRLEImageConstIterator.h.
using itk::ImageConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >::OffsetType = typename ImageType::OffsetType |
Offset type alias support.
Definition at line 81 of file itkRLEImageConstIterator.h.
using itk::ImageConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >::PixelType = typename ImageType::PixelType |
External Pixel Type
Definition at line 90 of file itkRLEImageConstIterator.h.
using itk::ImageConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >::RegionType = typename ImageType::RegionType |
Region type alias support.
Definition at line 84 of file itkRLEImageConstIterator.h.
using itk::ImageConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >::RLLine = typename ImageType::RLLine |
Run-Length Line (we iterate along it).
Definition at line 63 of file itkRLEImageConstIterator.h.
using itk::ImageConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >::Self = ImageConstIterator |
Standard class type alias.
Definition at line 48 of file itkRLEImageConstIterator.h.
using itk::ImageConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >::SizeType = typename ImageType::SizeType |
Size type alias support.
Definition at line 78 of file itkRLEImageConstIterator.h.
|
inline |
Default Constructor. Need to provide a default constructor since we provide a copy constructor.
Definition at line 94 of file itkRLEImageConstIterator.h.
References itk::ImageConstIterator< TImage >::m_Image.
|
inlinevirtual |
Default Destructor.
Definition at line 108 of file itkRLEImageConstIterator.h.
|
inline |
Copy Constructor. The copy constructor is provided to make sure the handle to the image is properly reference counted.
Definition at line 112 of file itkRLEImageConstIterator.h.
References itk::ImageConstIterator< TImage >::m_Image.
|
inline |
Constructor establishes an iterator to walk a particular image and a particular region of that image.
Definition at line 129 of file itkRLEImageConstIterator.h.
References itk::ImageConstIterator< TImage >::m_Image, and itk::ImageConstIterator< TImage >::SetRegion().
|
inline |
Get the pixel value
Definition at line 326 of file itkRLEImageConstIterator.h.
References itk::ImageConstIterator< TImage >::Value().
|
inline |
Get the image that this iterator walks.
Definition at line 319 of file itkRLEImageConstIterator.h.
References itk::ImageConstIterator< TImage >::m_Image.
|
inlinestatic |
Get the dimension (size) of the index.
Definition at line 181 of file itkRLEImageConstIterator.h.
|
inline |
Get the index. This provides a read only copy of the index.
Definition at line 272 of file itkRLEImageConstIterator.h.
References itk::Index< VDimension >::GetIndex(), and itk::ImageConstIterator< TImage >::m_Image.
|
inline |
Get the region that this iterator walks. ImageConstIterators know the beginning and the end of the region of the image to iterate over.
Definition at line 302 of file itkRLEImageConstIterator.h.
References itk::ImageConstIterator< TImage >::m_Image, and itk::ImageRegion< VImageDimension >::SetIndex().
|
inline |
Move an iterator to the beginning of the region. "Begin" is defined as the first pixel in the region.
Definition at line 345 of file itkRLEImageConstIterator.h.
|
inline |
Move an iterator to the end of the region. "End" is defined as one pixel past the last pixel of the region.
Definition at line 355 of file itkRLEImageConstIterator.h.
|
inline |
Is the iterator at the beginning of the region? "Begin" is defined as the first pixel in the region.
Definition at line 365 of file itkRLEImageConstIterator.h.
|
inline |
Is the iterator at the end of the region? "End" is defined as one pixel past the last pixel of the region.
Definition at line 373 of file itkRLEImageConstIterator.h.
itk::ImageConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >::itkTypeMacroNoParent | ( | ImageConstIterator< RLEImage< TPixel, VImageDimension, CounterType > > | ) |
Run-time type information (and related methods).
|
inline |
Comparison operator. Two iterators are the same if they "point to" the same memory location
Definition at line 189 of file itkRLEImageConstIterator.h.
|
inline |
Comparison operator. An iterator is "less than" another if it "points to" a lower memory location.
Definition at line 222 of file itkRLEImageConstIterator.h.
|
inline |
Comparison operator. An iterator is "less than" another if it "points to" a lower memory location.
Definition at line 205 of file itkRLEImageConstIterator.h.
|
inline |
operator= is provided to make sure the handle to the image is properly reference counted.
Definition at line 140 of file itkRLEImageConstIterator.h.
References itk::ImageConstIterator< TImage >::m_Buffer, and itk::ImageConstIterator< TImage >::m_Image.
|
inline |
Comparison operator. Two iterators are the same if they "point to" the same memory location
Definition at line 197 of file itkRLEImageConstIterator.h.
|
inline |
Comparison operator. An iterator is "greater than" another if it "points to" a higher location.
Definition at line 256 of file itkRLEImageConstIterator.h.
|
inline |
Comparison operator. An iterator is "greater than" another if it "points to" a higher location.
Definition at line 239 of file itkRLEImageConstIterator.h.
|
inlinevirtual |
Sets the image index. No bounds checking is performed.
Definition at line 287 of file itkRLEImageConstIterator.h.
References itk::ImageConstIterator< TImage >::m_Image, and itk::Index< VDimension >::SetIndex().
|
inlineprotectedvirtual |
Set the internal index, m_RealIndex and m_SegmentRemainder.
Definition at line 381 of file itkRLEImageConstIterator.h.
|
inlinevirtual |
Set the region of the image to iterate over.
Definition at line 161 of file itkRLEImageConstIterator.h.
References itk::ImageConstIterator< TImage >::GetIndex(), itk::ImageConstIterator< TImage >::m_Buffer, and itk::ImageConstIterator< TImage >::m_Image.
|
inline |
Return a const reference to the pixel This method will provide the fastest access to pixel data, but it will NOT support ImageAdaptors.
Definition at line 335 of file itkRLEImageConstIterator.h.
References itk::ImageConstIterator< TImage >::Value().
|
friend |
Definition at line 44 of file itkRLEImageConstIterator.h.
|
static |
Dimension of the image the iterator walks. This constant is needed so functions that are templated over image iterator type (as opposed to being templated over pixel type and dimension) can have compile time access to the dimension of the image that the iterator walks.
Definition at line 54 of file itkRLEImageConstIterator.h.
|
protected |
Set the internal index, m_RealIndex and m_SegmentRemainder.
Definition at line 410 of file itkRLEImageConstIterator.h.
|
protected |
Set the internal index, m_RealIndex and m_SegmentRemainder.
Definition at line 412 of file itkRLEImageConstIterator.h.
|
protected |
Set the internal index, m_RealIndex and m_SegmentRemainder.
Definition at line 414 of file itkRLEImageConstIterator.h.
|
protected |
Set the internal index, m_RealIndex and m_SegmentRemainder.
Definition at line 411 of file itkRLEImageConstIterator.h.
|
protected |
Set the internal index, m_RealIndex and m_SegmentRemainder.
Definition at line 401 of file itkRLEImageConstIterator.h.
|
protected |
Set the internal index, m_RealIndex and m_SegmentRemainder.
Definition at line 403 of file itkRLEImageConstIterator.h.
|
mutableprotected |
Set the internal index, m_RealIndex and m_SegmentRemainder.
Definition at line 407 of file itkRLEImageConstIterator.h.
|
protected |
Set the internal index, m_RealIndex and m_SegmentRemainder.
Definition at line 405 of file itkRLEImageConstIterator.h.
|
mutableprotected |
Set the internal index, m_RealIndex and m_SegmentRemainder.
Definition at line 408 of file itkRLEImageConstIterator.h.