Information
MediaSupport
RSSOther Adobe ProjectsOther Resources |
pixel_image_iterator< LOC2 > Class Template ReferenceProvides 1D random-access navigation to the pixels of the image.
More...
|
Public Types | |
typedef parent_t::difference_type | difference_type |
typedef std::random_access_iterator_tag | iterator_category |
typedef boost::iterator_facade< pixel_image_iterator< LOC2 >, typename LOC2::value_type, boost::random_access_traversal_tag, typename LOC2::reference, typename LOC2::coord_t > | parent_t |
typedef LOC2::pixel_t | pixel_t |
typedef LOC2::point_t | point_t |
typedef parent_t::reference | reference |
typedef LOC2::x_iterator | x_iterator |
Public Member Functions | |
bool | is_contiguous () const |
reference | operator[] (difference_type d) const |
template<typename LOC> | |
pixel_image_iterator (const pixel_image_iterator< LOC > &pit) | |
pixel_image_iterator (const pixel_image_iterator &pit) | |
pixel_image_iterator (const LOC2 &p, int width, int x=0) | |
pixel_image_iterator () | |
int | width () const |
x_iterator & | x () |
int | x_pos () const |
Friends | |
class | boost::iterator_core_access |
class | pixel_image_iterator |
Pixels are traversed from the top to the bottom row and from the left to the right within each row
Definition at line 266 of file pixel_iterator.hpp.
|
For some reason operator[] provided by boost::iterator_adaptor returns a custom class that is convertible to reference We require our own reference because it is registered in iterator_traits Definition at line 290 of file pixel_iterator.hpp. |