memory_based_2d_locator Class Template Reference |
Public Types | |
typedef pixel_2d_locator_base< memory_based_2d_locator< StepIterator >, typename iterator_adaptor_get_base< StepIterator >::type, StepIterator > | parent_t |
typedef memory_based_2d_locator< typename const_iterator_type< StepIterator >::type > | const_t |
typedef parent_t::coord_t | coord_t |
typedef parent_t::x_coord_t | x_coord_t |
typedef parent_t::y_coord_t | y_coord_t |
typedef parent_t::x_iterator | x_iterator |
typedef parent_t::y_iterator | y_iterator |
typedef parent_t::difference_type | difference_type |
typedef parent_t::reference | reference |
typedef std::ptrdiff_t | cached_location_t |
Public Member Functions | |
memory_based_2d_locator (const StepIterator &yit) | |
template<typename SI> | |
memory_based_2d_locator (const memory_based_2d_locator< SI > &loc, coord_t y_step) | |
template<typename SI> | |
memory_based_2d_locator (const memory_based_2d_locator< SI > &loc, coord_t x_step, coord_t y_step, bool transpose=false) | |
memory_based_2d_locator (x_iterator xit, std::ptrdiff_t row_bytes) | |
template<typename X> | |
memory_based_2d_locator (const memory_based_2d_locator< X > &pl) | |
memory_based_2d_locator (const memory_based_2d_locator &pl) | |
bool | operator== (const this_t &p) const |
x_iterator const & | x () const |
y_iterator const & | y () const |
x_iterator & | x () |
y_iterator & | y () |
x_iterator | x_at (x_coord_t dx, y_coord_t dy) const |
x_iterator | x_at (const difference_type &d) const |
this_t | xy_at (x_coord_t dx, y_coord_t dy) const |
this_t | xy_at (const difference_type &d) const |
reference | operator() (x_coord_t dx, y_coord_t dy) const |
reference | operator[] (const difference_type &d) const |
this_t & | operator+= (const difference_type &d) |
this_t & | operator-= (const difference_type &d) |
cached_location_t | cache_location (const difference_type &d) const |
cached_location_t | cache_location (x_coord_t dx, y_coord_t dy) const |
reference | operator[] (const cached_location_t &loc) const |
std::ptrdiff_t | row_size () const |
std::ptrdiff_t | pixel_size () const |
bool | is_1d_traversable (x_coord_t width) const |
std::ptrdiff_t | y_distance_to (const this_t &p2, x_coord_t xDiff) const |
Friends | |
class | memory_based_2d_locator |