color_base.hpp File Reference


Detailed Description

pixel class and related utilities

Author:
Lubomir Bourdev and Hailin Jin
Adobe Systems Incorporated
Date:
2005-2007
Last updated on May 6, 2007

#include <cassert>
#include <boost/mpl/range_c.hpp>
#include <boost/mpl/size.hpp>
#include <boost/mpl/vector_c.hpp>
#include <boost/type_traits.hpp>
#include <boost/utility/enable_if.hpp>
#include "gil_config.hpp"
#include "utilities.hpp"
#include "gil_concept.hpp"

Go to the source code of this file.


Namespaces

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

Classes

struct  homogeneous_color_base< Element, Layout, 1 >
 A homogeneous color base holding one color element. Models HomogeneousColorBaseConcept or HomogeneousColorBaseValueConcept. More...
struct  homogeneous_color_base< Element, Layout, 2 >
 A homogeneous color base holding two color elements. Models HomogeneousColorBaseConcept or HomogeneousColorBaseValueConcept. More...
struct  homogeneous_color_base< Element, Layout, 3 >
 A homogeneous color base holding three color elements. Models HomogeneousColorBaseConcept or HomogeneousColorBaseValueConcept. More...
struct  homogeneous_color_base< Element, Layout, 4 >
 A homogeneous color base holding four color elements. Models HomogeneousColorBaseConcept or HomogeneousColorBaseValueConcept. More...
struct  homogeneous_color_base< Element, Layout, 5 >
 A homogeneous color base holding five color elements. Models HomogeneousColorBaseConcept or HomogeneousColorBaseValueConcept. More...

Functions

template<int K, typename ColorBase>
disable_if< is_const < ColorBase >,
typename kth_semantic_element_reference_type<
ColorBase, K >::type >::type 
boost::gil::semantic_at_c (ColorBase &p)
 A mutable accessor to the K-th semantic element of a color base.
template<int K, typename ColorBase>
kth_semantic_element_const_reference_type<
ColorBase, K >::type 
boost::gil::semantic_at_c (const ColorBase &p)
 A constant accessor to the K-th semantic element of a color base.
template<typename Element, typename Layout, int K>
element_reference_type< homogeneous_color_base<
Element, Layout, K > >::type 
boost::gil::detail::dynamic_at_c (homogeneous_color_base< Element, Layout, K > &cb, std::size_t i)
template<typename Element, typename Layout, int K>
element_const_reference_type<
homogeneous_color_base< Element,
Layout, K > >::type 
boost::gil::detail::dynamic_at_c (const homogeneous_color_base< Element, Layout, K > &cb, std::size_t i)
template<typename Element, typename Layout, int K>
element_reference_type< homogeneous_color_base<
Element &, Layout, K
> >::type 
boost::gil::detail::dynamic_at_c (const homogeneous_color_base< Element &, Layout, K > &cb, std::size_t i)
template<typename Element, typename Layout, int K>
element_const_reference_type<
homogeneous_color_base< const
Element &, Layout, K
> >::type 
boost::gil::detail::dynamic_at_c (const homogeneous_color_base< const Element &, Layout, K > &cb, std::size_t i)
template<int K, typename E, typename L, int N>
add_reference< E >::type boost::gil::at_c (detail::homogeneous_color_base< E, L, N > &p)
 Provides mutable access to the K-th element, in physical order.
template<int K, typename E, typename L, int N>
add_reference< typename add_const <
E >::type >::type 
boost::gil::at_c (const detail::homogeneous_color_base< E, L, N > &p)
 Provides constant access to the K-th element, in physical order.
template<typename E, typename L, int N>
void boost::gil::swap (detail::homogeneous_color_base< E, L, N > &x, detail::homogeneous_color_base< E, L, N > &y)

Copyright © 2006-2007 Adobe Systems Incorporated.

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

Search powered by Google