PCL
|
Immutable pixel iterator. More...
#include <Image.h>
Inherited by pcl::GenericImage< P >::filter_pixel_iterator_base< const GenericImage< P >, const_pixel_iterator, const sample *, F >.
Public Types | |
using | image_type = GenericImage< P > |
using | pixel_traits = typename image_type::pixel_traits |
using | sample = typename image_type::sample |
Public Member Functions | |
const_pixel_iterator ()=default | |
const_pixel_iterator (const const_pixel_iterator &)=default | |
const_pixel_iterator (const image_type &image) | |
const image_type & | Image () const noexcept |
bool | IsValid () const noexcept |
const_pixel_iterator & | MoveBy (int dx, int dy) noexcept |
operator bool () const noexcept | |
const_pixel_iterator & | operator++ () noexcept |
const_pixel_iterator | operator++ (int) noexcept |
const_pixel_iterator & | operator+= (distance_type delta) noexcept |
const_pixel_iterator & | operator-- () noexcept |
const_pixel_iterator | operator-- (int) noexcept |
const_pixel_iterator & | operator-= (distance_type delta) noexcept |
const_pixel_iterator & | operator= (const const_pixel_iterator &)=default |
const sample & | operator[] (int channel) const noexcept |
const sample * | Position (int channel) const noexcept |
Friends | |
const_pixel_iterator | operator+ (const const_pixel_iterator &i, distance_type delta) noexcept |
const_pixel_iterator | operator+ (distance_type delta, const const_pixel_iterator &i) noexcept |
distance_type | operator- (const const_pixel_iterator &i, const const_pixel_iterator &j) noexcept |
const_pixel_iterator | operator- (const const_pixel_iterator &i, distance_type delta) noexcept |
bool | operator< (const const_pixel_iterator &i, const const_pixel_iterator &j) noexcept |
bool | operator== (const const_pixel_iterator &i, const const_pixel_iterator &j) noexcept |
An immutable pixel iterator provides read-only, random access to all pixels of an image.
using pcl::GenericImage< P >::const_pixel_iterator::image_type = GenericImage<P> |
using pcl::GenericImage< P >::const_pixel_iterator::pixel_traits = typename image_type::pixel_traits |
using pcl::GenericImage< P >::const_pixel_iterator::sample = typename image_type::sample |
|
default |
Default constructor. Initializes an invalid iterator.
|
inline |
|
default |
Copy constructor.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Moves this iterator on the iterated image by the specified horizontal and vertical increments in pixels, dx and dy respectively, relative to its current position. Positive (negative) dx increments move the iterator rightwards (leftwards). Positive (negative) dy increments move the iterator downwards (upwards).
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Scalar assignment/addition operator. Increments this iterator by a distance delta from its current position. Positive increments cause this iterator to move forward by delta pixels. Negative increments move this iterator backward by delta pixels. Returns a reference to this iterator.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Scalar assignment/subtraction operator. Decrements this iterator by a distance delta from its current position. Positive increments cause this iterator to move backward by delta pixels. Negative increments move this iterator forward by delta pixels. Returns a reference to this iterator.
|
default |
Copy assignment operator. Returns a reference to this iterator.
|
inlinenoexcept |
|
inlinenoexcept |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |