TuttleOFX
1
|
Heterogeneous pixel value whose channel references can be constructed from the pixel bitfield and their index. Models ColorBaseValueConcept, PixelValueConcept, PixelBasedConcept Typical use for this is a model of a packed pixel (like 565 RGB) More...
#include <packed_pixel.hpp>
Public Types | |
typedef Layout | layout_t |
typedef packed_pixel | value_type |
typedef value_type & | reference |
typedef const value_type & | const_reference |
typedef Layout | layout_t |
typedef packed_pixel | value_type |
typedef value_type & | reference |
typedef const value_type & | const_reference |
Public Member Functions | |
BOOST_STATIC_CONSTANT (bool, is_mutable=channel_traits< typename mpl::front< ChannelRefVec >::type >::is_mutable) | |
packed_pixel () | |
packed_pixel (const BitField &bitfield) | |
packed_pixel (const packed_pixel &p) | |
template<typename P > | |
packed_pixel (const P &p, typename enable_if_c< is_pixel< P >::value >::type *d=0) | |
packed_pixel (int chan0, int chan1) | |
packed_pixel (int chan0, int chan1, int chan2) | |
packed_pixel (int chan0, int chan1, int chan2, int chan3) | |
packed_pixel (int chan0, int chan1, int chan2, int chan3, int chan4) | |
packed_pixel & | operator= (const packed_pixel &p) |
template<typename P > | |
packed_pixel & | operator= (const P &p) |
template<typename P > | |
bool | operator== (const P &p) const |
template<typename P > | |
bool | operator!= (const P &p) const |
packed_pixel & | operator= (int chan) |
bool | operator== (int chan) const |
BOOST_STATIC_CONSTANT (bool, is_mutable=channel_traits< typename mpl::front< ChannelRefVec >::type >::is_mutable) | |
packed_pixel () | |
packed_pixel (const BitField &bitfield) | |
packed_pixel (const packed_pixel &p) | |
template<typename P > | |
packed_pixel (const P &p, typename enable_if_c< is_pixel< P >::value >::type *d=0) | |
packed_pixel (int chan0, int chan1) | |
packed_pixel (int chan0, int chan1, int chan2) | |
packed_pixel (int chan0, int chan1, int chan2, int chan3) | |
packed_pixel (int chan0, int chan1, int chan2, int chan3, int chan4) | |
packed_pixel & | operator= (const packed_pixel &p) |
template<typename P > | |
packed_pixel & | operator= (const P &p) |
template<typename P > | |
bool | operator== (const P &p) const |
template<typename P > | |
bool | operator!= (const P &p) const |
packed_pixel & | operator= (int chan) |
bool | operator== (int chan) const |
Data Fields | |
BitField | _bitfield |
Private Member Functions | |
template<typename Pixel > | |
void | assign (const Pixel &p, mpl::true_) |
template<typename Pixel > | |
bool | equal (const Pixel &p, mpl::true_) const |
template<typename Channel > | |
void | assign (const Channel &chan, mpl::false_) |
template<typename Channel > | |
bool | equal (const Channel &chan, mpl::false_) const |
template<typename Pixel > | |
void | assign (const Pixel &p, mpl::true_) |
template<typename Pixel > | |
bool | equal (const Pixel &p, mpl::true_) const |
template<typename Channel > | |
void | assign (const Channel &chan, mpl::false_) |
template<typename Channel > | |
bool | equal (const Channel &chan, mpl::false_) const |
Static Private Member Functions | |
template<typename Pixel > | |
static void | check_compatible () |
static void | check_gray () |
template<typename Pixel > | |
static void | check_compatible () |
static void | check_gray () |
Heterogeneous pixel value whose channel references can be constructed from the pixel bitfield and their index. Models ColorBaseValueConcept, PixelValueConcept, PixelBasedConcept Typical use for this is a model of a packed pixel (like 565 RGB)
Definition at line 64 of file packed_pixel.hpp.
typedef const value_type& boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::const_reference |
Definition at line 71 of file packed_pixel.hpp.
typedef const value_type& boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::const_reference |
Definition at line 71 of file packed_pixel.hpp.
typedef Layout boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::layout_t |
Definition at line 68 of file packed_pixel.hpp.
typedef Layout boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::layout_t |
Definition at line 68 of file packed_pixel.hpp.
typedef value_type& boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::reference |
Definition at line 70 of file packed_pixel.hpp.
typedef value_type& boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::reference |
Definition at line 70 of file packed_pixel.hpp.
typedef packed_pixel boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::value_type |
Definition at line 69 of file packed_pixel.hpp.
typedef packed_pixel boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::value_type |
Definition at line 69 of file packed_pixel.hpp.
boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::packed_pixel | ( | ) | [inline] |
Definition at line 75 of file packed_pixel.hpp.
boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::packed_pixel | ( | const BitField & | bitfield | ) | [inline, explicit] |
Definition at line 76 of file packed_pixel.hpp.
boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::packed_pixel | ( | const packed_pixel< BitField, ChannelRefVec, Layout > & | p | ) | [inline] |
Definition at line 79 of file packed_pixel.hpp.
boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::packed_pixel | ( | const P & | p, |
typename enable_if_c< is_pixel< P >::value >::type * | d = 0 |
||
) | [inline] |
Definition at line 81 of file packed_pixel.hpp.
boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::packed_pixel | ( | int | chan0, |
int | chan1 | ||
) | [inline] |
Definition at line 82 of file packed_pixel.hpp.
References BOOST_STATIC_ASSERT().
boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::packed_pixel | ( | int | chan0, |
int | chan1, | ||
int | chan2 | ||
) | [inline] |
Definition at line 88 of file packed_pixel.hpp.
References BOOST_STATIC_ASSERT().
boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::packed_pixel | ( | int | chan0, |
int | chan1, | ||
int | chan2, | ||
int | chan3 | ||
) | [inline] |
Definition at line 94 of file packed_pixel.hpp.
References BOOST_STATIC_ASSERT().
boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::packed_pixel | ( | int | chan0, |
int | chan1, | ||
int | chan2, | ||
int | chan3, | ||
int | chan4 | ||
) | [inline] |
Definition at line 100 of file packed_pixel.hpp.
References BOOST_STATIC_ASSERT().
boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::packed_pixel | ( | ) | [inline] |
Definition at line 75 of file packed_pixel.hpp.
boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::packed_pixel | ( | const BitField & | bitfield | ) | [inline, explicit] |
Definition at line 76 of file packed_pixel.hpp.
boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::packed_pixel | ( | const packed_pixel< BitField, ChannelRefVec, Layout > & | p | ) | [inline] |
Definition at line 79 of file packed_pixel.hpp.
boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::packed_pixel | ( | const P & | p, |
typename enable_if_c< is_pixel< P >::value >::type * | d = 0 |
||
) | [inline] |
Definition at line 81 of file packed_pixel.hpp.
boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::packed_pixel | ( | int | chan0, |
int | chan1 | ||
) | [inline] |
Definition at line 82 of file packed_pixel.hpp.
References BOOST_STATIC_ASSERT().
boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::packed_pixel | ( | int | chan0, |
int | chan1, | ||
int | chan2 | ||
) | [inline] |
Definition at line 88 of file packed_pixel.hpp.
References BOOST_STATIC_ASSERT().
boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::packed_pixel | ( | int | chan0, |
int | chan1, | ||
int | chan2, | ||
int | chan3 | ||
) | [inline] |
Definition at line 94 of file packed_pixel.hpp.
References BOOST_STATIC_ASSERT().
boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::packed_pixel | ( | int | chan0, |
int | chan1, | ||
int | chan2, | ||
int | chan3, | ||
int | chan4 | ||
) | [inline] |
Definition at line 100 of file packed_pixel.hpp.
References BOOST_STATIC_ASSERT().
void boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::assign | ( | const Pixel & | p, |
mpl::true_ | |||
) | [inline, private] |
Definition at line 120 of file packed_pixel.hpp.
Referenced by boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::operator=().
void boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::assign | ( | const Pixel & | p, |
mpl::true_ | |||
) | [inline, private] |
Definition at line 120 of file packed_pixel.hpp.
void boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::assign | ( | const Channel & | chan, |
mpl::false_ | |||
) | [inline, private] |
Definition at line 127 of file packed_pixel.hpp.
References boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::check_gray().
void boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::assign | ( | const Channel & | chan, |
mpl::false_ | |||
) | [inline, private] |
Definition at line 127 of file packed_pixel.hpp.
References boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::check_gray().
boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::BOOST_STATIC_CONSTANT | ( | bool | , |
is_mutable | = channel_traits< typename mpl::front< ChannelRefVec >::type >::is_mutable |
||
) |
boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::BOOST_STATIC_CONSTANT | ( | bool | , |
is_mutable | = channel_traits< typename mpl::front< ChannelRefVec >::type >::is_mutable |
||
) |
static void boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::check_compatible | ( | ) | [inline, static, private] |
Definition at line 118 of file packed_pixel.hpp.
static void boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::check_compatible | ( | ) | [inline, static, private] |
Definition at line 118 of file packed_pixel.hpp.
static void boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::check_gray | ( | ) | [inline, static, private] |
Definition at line 125 of file packed_pixel.hpp.
References BOOST_STATIC_ASSERT().
Referenced by boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::assign(), boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::equal(), boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::operator=(), and boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::operator==().
static void boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::check_gray | ( | ) | [inline, static, private] |
Definition at line 125 of file packed_pixel.hpp.
References BOOST_STATIC_ASSERT().
bool boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::equal | ( | const Pixel & | p, |
mpl::true_ | |||
) | const [inline, private] |
Definition at line 122 of file packed_pixel.hpp.
Referenced by boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::operator==().
bool boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::equal | ( | const Pixel & | p, |
mpl::true_ | |||
) | const [inline, private] |
Definition at line 122 of file packed_pixel.hpp.
bool boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::equal | ( | const Channel & | chan, |
mpl::false_ | |||
) | const [inline, private] |
Definition at line 129 of file packed_pixel.hpp.
References boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::check_gray().
bool boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::equal | ( | const Channel & | chan, |
mpl::false_ | |||
) | const [inline, private] |
Definition at line 129 of file packed_pixel.hpp.
References boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::check_gray().
bool boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::operator!= | ( | const P & | p | ) | const [inline] |
Definition at line 114 of file packed_pixel.hpp.
bool boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::operator!= | ( | const P & | p | ) | const [inline] |
Definition at line 114 of file packed_pixel.hpp.
packed_pixel& boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::operator= | ( | const packed_pixel< BitField, ChannelRefVec, Layout > & | p | ) | [inline] |
Definition at line 106 of file packed_pixel.hpp.
References boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::_bitfield.
packed_pixel& boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::operator= | ( | const packed_pixel< BitField, ChannelRefVec, Layout > & | p | ) | [inline] |
Definition at line 106 of file packed_pixel.hpp.
References boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::_bitfield.
packed_pixel& boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::operator= | ( | const P & | p | ) | [inline] |
Definition at line 109 of file packed_pixel.hpp.
References boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::assign().
packed_pixel& boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::operator= | ( | const P & | p | ) | [inline] |
Definition at line 109 of file packed_pixel.hpp.
References boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::assign().
packed_pixel& boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::operator= | ( | int | chan | ) | [inline] |
Definition at line 132 of file packed_pixel.hpp.
References boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::check_gray().
packed_pixel& boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::operator= | ( | int | chan | ) | [inline] |
Definition at line 132 of file packed_pixel.hpp.
References boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::check_gray().
bool boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::operator== | ( | const P & | p | ) | const [inline] |
Definition at line 111 of file packed_pixel.hpp.
References boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::equal().
bool boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::operator== | ( | const P & | p | ) | const [inline] |
Definition at line 111 of file packed_pixel.hpp.
References boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::equal().
bool boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::operator== | ( | int | chan | ) | const [inline] |
Definition at line 133 of file packed_pixel.hpp.
References boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::check_gray().
bool boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::operator== | ( | int | chan | ) | const [inline] |
Definition at line 133 of file packed_pixel.hpp.
References boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::check_gray().
BitField boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::_bitfield |
Definition at line 66 of file packed_pixel.hpp.
Referenced by boost::gil::at_c(), and boost::gil::packed_pixel< BitField, ChannelRefVec, Layout >::operator=().