Iterator Traits
[Pixel Iterators]


Detailed Description

Traits for pixel iterators.

That includes raw pointers to pixel structs, pointer classes for planar pixels, and step iterators for non-trivial iteration.
In addition to the regular iterator traits types, iterators over pixels have the following:

  • color_space_t (also incorporates presence of alpha, and the channel sequence. Sample values: rgb_t, bgr_t, rgba_t, bgra_tag, cmyk_t, cmyka_tag)
  • channel_t (unsigned char (bits8), unsigned short (bits16), float (bits32f), etc)
  • const_channel_t (the constant version of channel_t)
  • const_reference (the constant version of a reference)
  • const_t (pixel iterator of the same type, except that it operates on constant pixels, i.e. does not allow changing the pixels)
  • dynamic_step_t (pixel iterator of the same type, except that it has a dynamic step)
  • is_planar (bool determining whether the iterator operates on planar or interleaved data)
  • is_base (bool determining whether the iterator is an adaptor over another one or is fundamental)
  • base_t (the type of the adaptee iterator. Not defined when is_base is false )


Namespaces

namespace  detail
 namespace for functions not directly needed by the client

Classes

struct  pixel_iterator_traits< pixel< T, C > * >
 Raw pointers to pixel are used for interleaved pixels. Interleaved pixels use standard pointers and references. More...
struct  pixel_iterator_traits< const pixel< T, C > * >
 Raw pointers to pixel are used for interleaved pixels. Interleaved pixels use standard pointers and references. More...
struct  pixel_iterator_traits< planar_ptr< IC, C > >
 Planar pixels use special proxy classes for pointers and references. More...
struct  pixel_iterator_traits< pixel_step_iterator< Iterator > >
 Traits for pixel step iterator. More...
struct  pixel_iterator_traits< pixel_image_iterator< Loc > >
 Traits for pixel image iterator. More...
struct  pixel_iterator_traits< dereference_iterator_adaptor< I, DFn > >
 Traits for dereference iterator adaptor. More...

Copyright © 2006 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google