Modules | Alphabetical List | Class List | Directories | File List | GIL Home Page

# detail::homogeneous_color_base
[Models]

## Detailed Description

A homogeneous color base holding one color element. Models HomogeneousColorBaseConcept or HomogeneousColorBaseValueConcept If the element type models Regular, this class models HomogeneousColorBaseValueConcept.

## 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 E, typename L, int N>
add_reference< E >::type | 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 | at_c (const detail::homogeneous_color_base< E, L, N > &p)
| Provides constant access to the K-th element, in physical order.