Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
color_base.hpp File Reference

pixel class and related utilities More...

#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"
Include dependency graph for color_base.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  boost::gil::element_reference_type< ColorBase >
 Specifies the return type of the mutable element accessor at_c of a homogeneous color base. More...
 
struct  boost::gil::element_const_reference_type< ColorBase >
 Specifies the return type of the constant element accessor at_c of a homogeneous color base. More...
 
struct  boost::gil::kth_element_type< ColorBase, K >
 
struct  boost::gil::kth_element_type< const ColorBase, K >
 
struct  boost::gil::kth_element_reference_type< ColorBase, K >
 
struct  boost::gil::kth_element_reference_type< const ColorBase, K >
 
struct  boost::gil::kth_element_const_reference_type< ColorBase, K >
 
struct  boost::gil::kth_element_const_reference_type< const ColorBase, K >
 
struct  boost::gil::detail::mapping_transform< DstLayout, SrcLayout, K >
 
struct  boost::gil::detail::homogeneous_color_base< Element, Layout, 1 >
 A homogeneous color base holding one color element. More...
 
struct  boost::gil::detail::homogeneous_color_base< Element, Layout, 2 >
 A homogeneous color base holding two color elements. More...
 
struct  boost::gil::detail::homogeneous_color_base< Element, Layout, 3 >
 A homogeneous color base holding three color elements. More...
 
struct  boost::gil::detail::homogeneous_color_base< Element, Layout, 4 >
 A homogeneous color base holding four color elements. More...
 
struct  boost::gil::detail::homogeneous_color_base< Element, Layout, 5 >
 A homogeneous color base holding five color elements. More...
 
struct  boost::gil::kth_element_type< detail::homogeneous_color_base< Element, Layout, K1 >, K >
 
struct  boost::gil::kth_element_reference_type< detail::homogeneous_color_base< Element, Layout, K1 >, K >
 
struct  boost::gil::kth_element_const_reference_type< detail::homogeneous_color_base< Element, Layout, K1 >, K >
 
struct  boost::gil::detail::swap_fn
 

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::gil
 
 boost::gil::detail
 

Functions

template<typename P >
P * boost::gil::memunit_advanced (const P *p, std::ptrdiff_t diff)
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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)
 

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