Immutable region-of-interest, filter pixel iterator.
More...
#include <Image.h>
Inherits pcl::GenericImage< P >::roi_filter_pixel_iterator_base< image_type, sample_pointer, filter_type >.
template<class P>
template<class F>
class pcl::GenericImage< P >::const_roi_filter_pixel_iterator< F >
An immutable, region-of-interest (ROI), filter pixel iterator combines the capabilities of const_roi_pixel_iterator and const_filter_pixel_iterator in a single iterator class.
Definition at line 5691 of file Image.h.
◆ filter_type
template<class P >
template<class F >
Represents the type of the unary predicate used by this filter iterator.
Definition at line 5714 of file Image.h.
◆ image_type
template<class P >
template<class F >
Represents the type of the iterated image.
Definition at line 5698 of file Image.h.
◆ pixel_traits
template<class P >
template<class F >
Represents the pixel traits class used by the iterated image.
Definition at line 5703 of file Image.h.
◆ sample
template<class P >
template<class F >
Represents a pixel sample of the iterated image.
Definition at line 5708 of file Image.h.
◆ const_roi_filter_pixel_iterator() [1/4]
template<class P >
template<class F >
Default constructor. Initializes an invalid iterator.
◆ const_roi_filter_pixel_iterator() [2/4]
template<class P >
template<class F >
Constructs an immutable, region-of-interest (ROI), filter pixel iterator.
- Parameters
-
image | The constant image to iterate. |
filter | Reference to a predicate object that will be used to filter pixel sample values. |
rect | Region of interest. If an empty rectangle is specified, the current rectangular selection in the image will be used. If the specified rectangle is not empty and extends beyond image boundaries, only the intersection with the image will be used. If that intersection does not exist, then the resulting iterator will be invalid, with an empty iteration range. The default value is an empty rectangle. |
Definition at line 5741 of file Image.h.
◆ const_roi_filter_pixel_iterator() [3/4]
template<class P >
template<class F >
Constructs an immutable, region-of-interest (ROI), filter pixel iterator from the specified ROI pixel iterator i and filter.
Definition at line 5750 of file Image.h.
◆ const_roi_filter_pixel_iterator() [4/4]
template<class P >
template<class F >
◆ Filter() [1/2]
template<class P >
template<class F >
Returns a reference to the immutable predicate object used by this filter iterator.
Definition at line 5797 of file Image.h.
◆ Filter() [2/2]
template<class P >
template<class F >
Returns a reference to the mutable predicate object used by this filter iterator.
Definition at line 5806 of file Image.h.
◆ Image()
template<class P >
template<class F >
Returns a reference to the constant image being iterated by this object.
Definition at line 5788 of file Image.h.
◆ IsValid()
template<class P >
template<class F >
Returns true only if this iterator is valid. A valid iterator defines a valid iterated image and a non-null position.
Definition at line 5779 of file Image.h.
◆ MoveBy()
template<class P >
template<class F >
Moves this iterator within its rectangular region of interest 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).
Definition at line 5928 of file Image.h.
◆ operator bool()
template<class P >
template<class F >
Boolean type conversion operator. Returns true if this iterator is active. A ROI pixel iterator is active if it has not reached (or surpassed) its iteration limit, i.e. the bottom right corner of its iterated region of interest.
Definition at line 5826 of file Image.h.
◆ operator++() [1/2]
template<class P >
template<class F >
Pre-increment operator. Causes this iterator to point to the next valid pixel in the iterated region of interest. Returns a reference to this iterator.
Definition at line 5845 of file Image.h.
◆ operator++() [2/2]
template<class P >
template<class F >
Post-increment operator. Causes this iterator to point to the next valid pixel in the iterated region of interest. Returns a copy of the iterator as it was before incrementing it.
Definition at line 5857 of file Image.h.
◆ operator+=()
template<class P >
template<class F >
Scalar assignment/addition operator. Increments this iterator by a distance delta from its current position, within the rectangular region of interest being iterated. Positive increments cause this iterator to move forward (rightwards and downwards) by delta pixel samples. Negative increments move this iterator backward (leftwards and upwards) by delta pixel samples. Returns a reference to this iterator.
Definition at line 5899 of file Image.h.
◆ operator--() [1/2]
template<class P >
template<class F >
Pre-decrement operator. Causes this iterator to point to the previous valid pixel in the iterated region of interest, then returns a reference to this iterator.
Definition at line 5870 of file Image.h.
◆ operator--() [2/2]
template<class P >
template<class F >
Post-decrement operator. Causes this iterator to point to the previous valid pixel in the iterated region of interest. Returns a copy of the iterator as it was before decrementing it.
Definition at line 5882 of file Image.h.
◆ operator-=()
template<class P >
template<class F >
Scalar assignment/subtraction operator. Decrements this iterator by a distance delta from its current position, within the rectangular region of interest being iterated. Positive increments cause this iterator to move backward (leftwards and upwards) by delta pixel samples. Negative increments move this iterator forward (rightwards and downwards) by delta pixel samples. Returns a reference to this iterator.
Definition at line 5914 of file Image.h.
◆ operator=() [1/2]
template<class P >
template<class F >
Copy assignment operator. Returns a reference to this object.
◆ operator=() [2/2]
template<class P >
template<class F >
Assigns a ROI pixel iterator. Returns a reference to this object.
Definition at line 5769 of file Image.h.
◆ operator[]()
template<class P >
template<class F >
Array subscript operator. Returns a reference to the constant pixel sample pointed to by this iterator in the specified channel.
Definition at line 5835 of file Image.h.
◆ Position()
template<class P >
template<class F >
Returns a pointer to the constant pixel sample pointed to by this iterator in the specified channel.
Definition at line 5815 of file Image.h.
◆ operator+ [1/2]
template<class P >
template<class F >
Scalar-to-iterator addition operator. Returns an iterator equivalent to the specified iterator i incremented by a distance delta.
Definition at line 5943 of file Image.h.
◆ operator+ [2/2]
template<class P >
template<class F >
Iterator-to-scalar addition operator. This operator implements the commutative property of scalar-to-iterator addition.
Definition at line 5954 of file Image.h.
◆ operator-
template<class P >
template<class F >
Scalar-to-iterator subtraction operator. Returns an iterator equal to the specified iterator i decremented by a distance delta.
Definition at line 5965 of file Image.h.
◆ operator<
template<class P >
template<class F >
Less than operator. Returns true if the specified iterator i precedes another iterator j.
Definition at line 5985 of file Image.h.
◆ operator==
template<class P >
template<class F >
Equality operator. Returns true if two iterators i and j point to the same pixel.
Definition at line 5976 of file Image.h.
The documentation for this class was generated from the following file: