boost::gil::iterator_from_2d

Provides 1D random‐access navigation to the pixels of the image. Models: PixelIteratorConcept, PixelBasedConcept, HasDynamicXStepTypeConcept

Synopsis

template<typename Loc2>
class iterator_from_2d
    : public stl_interfaces::iterator_interface<iterator_from_2d<Loc2>, std::random_access_iterator_tag, Loc2::value_type, Loc2::reference>

Description

Pixels are traversed from the top to the bottom row and from the left to the right within each row

Base Classes

Name

Description

stl_interfaces::iterator_interface<iterator_from_2d<Loc2>, std::random_access_iterator_tag, Loc2::value_type, Loc2::reference>

Member Functions

Name

Description

iterator_from_2d [constructor]

Constructors

operator=

Copy assignment operator

is_1d_traversable

operator*

Dereference operators

operator+

operator++

Increment operators

operator+=

Addition assignment operators

operator‐

Subtraction operators

operator‐‐

Decrement operators

operator‐=

operator‐>

Member access operators

operator[]

width

x

x_pos

y_pos

operator==

Equality operator

Friends

Name

Description

boost::stl_interfaces::access

boost::gil::iterator_from_2d

Provides 1D random‐access navigation to the pixels of the image. Models: PixelIteratorConcept, PixelBasedConcept, HasDynamicXStepTypeConcept

Created with MrDocs