locator.hpp File Reference

Detailed Description

pixel 2D locator

Lubomir Bourdev and Hailin Jin
Adobe Systems Incorporated
September 20, 2006

#include <cstddef>
#include <cassert>
#include "pixel_iterator.hpp"

Go to the source code of this file.


namespace  boost
namespace  boost::gil
namespace  boost::gil::detail


class  pixel_2d_locator_base
 base class for models of PixelLocatorConcept

Pixel locator is similar to a pixel iterator, but allows for 2D navigation of pixels within an image view. It has a 2D difference_type and supports random access operations like: More...

class  memory_based_2d_locator
 Memory-based pixel locator. Models: PixelLocatorConcept,HasDynamicXStepTypeConcept,HasDynamicYStepTypeConcept,HasTransposedTypeConcept

The class takes a step iterator as a parameter. The step iterator provides navigation along the vertical axis while its base iterator provides horizontal navigation. More...


template<typename P>
ptrdiff_t memunit_step (const P *)
template<typename P>
P * memunit_advanced (const P *p, ptrdiff_t diff)
template<typename P>
P & memunit_advanced_ref (P *p, ptrdiff_t diff)

Generated on Sat May 2 13:50:16 2009 for Generic Image Library by  doxygen 1.5.6