planar_ref Struct Template Reference
[Pixel]

#include <planar_ref.hpp>

List of all members.


Detailed Description

template<typename TR, typename C>
struct planar_ref< TR, C >

Represents a reference to a planar pixel.

Models: PixelConcept

A reference to a planar pixel is a proxy class containing references to each of the corresponding channels.


Public Types

typedef detail::color_base<
TR, C > 
parent_t
typedef C color_space_t
typedef TR channel_reference
typedef channel_traits< TR
>::const_reference 
channel_const_reference
typedef channel_traits< TR
>::value_type 
channel_t
typedef pixel< channel_t,
color_space_t > 
pixel_value_type
typedef const planar_ref<
channel_reference, C > & 
pixel_reference
typedef const planar_ref<
channel_const_reference,
C > & 
pixel_const_reference

Public Member Functions

 planar_ref (TR v0, TR v1)
 planar_ref (TR v0, TR v1, TR v2)
 planar_ref (TR v0, TR v1, TR v2, TR v3)
 planar_ref (TR v0, TR v1, TR v2, TR v3, TR v4)
 planar_ref (TR v0, TR v1, TR v2, TR v3, TR v4, TR v5)
template<typename P>
 planar_ref (const P &p)
template<typename T1, typename C1>
 planar_ref (pixel< T1, C1 > &p)
planar_refoperator= (const planar_ref &p)
template<typename P>
planar_refoperator= (const P &p)
template<typename P>
bool operator== (const P &p) const
template<typename P>
bool operator!= (const P &p) const
channel_reference operator[] (std::size_t i) const
template<int N>
channel_reference channel () const
template<int N>
channel_reference semantic_channel () const
const planar_refoperator-> () const

Static Public Attributes

static const int num_channels = color_space_t::num_channels

The documentation for this struct was generated from the following file:

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