Adobe Systems, Inc.

PixelLocatorConcept< LOC > Struct Template Reference
[GIL's 2-Dimensional Pixel Locator]

GIL's 2-dimensional locator over immutable GIL pixels. More...

#include <gil_concept.hpp>

List of all members.


Public Member Functions

void constraints ()

Public Attributes

LOC loc

Detailed Description

template<typename LOC>
struct PixelLocatorConcept< LOC >

template <typename LOC>
concept PixelLocatorConcept : RandomAccess2DLocatorConcept<LOC> {
    where PixelValueConcept<value_type>;
    where PixelIteratorConcept<x_iterator>;
    where PixelIteratorConcept<y_iterator>;
    where x_coord_t == y_coord_t;

    typename pixel_t       = value_type;
    typename channel_t     = pixel_t::channel_t;
    typename color_space_t = pixel_t::color_space_t;    
    typename coord_t       = x_coord_t;
    typename dynamic_step_t; where PixelLocatorConcept<dynamic_step_t>; where StepIteratorConcept<dynamic_step_t::x_iterator>;
    static const int num_channels = color_space_t::num_channels;

    LOC::LOC(const x_iterator&, std::ptrdiff_t);  // construct from horizontal iterator and y-step in bytes
    std::ptrdiff_t LOC::row_bytes() const;
    std::ptrdiff_t LOC::pix_bytestep() const;
};

Definition at line 1177 of file gil_concept.hpp.

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