eLynx SDK v3.0.1
C++ image processing API reference

eLynx::Image::PixelRGBA< T > Struct Template Reference

#include <Pixels.h>

Inheritance diagram for eLynx::Image::PixelRGBA< T >:

eLynx::Image::PixelBase< PixelRGBA< T > >

List of all members.


Public Types

typedef T type
typedef IntegerToType
< ResolutionTypeTraits< T >
::_bInteger > 
IntType
typedef LutToType
< ResolutionTypeTraits< T >
::_bLUT > 
LutType
typedef ResolutionTypeTraits
< T >::SumOverflow_type 
S_type
typedef ResolutionTypeTraits
< T >::MulOverflow_type 
M_type
typedef ResolutionTypeTraits
< T >::Floating_type 
F_type
typedef PixelRGBA< S_typeSumOverflowPixel
typedef PixelRGBA< M_typeMulOverflowPixel
typedef PixelRGBA< F_typeFloatingPixel

Public Member Functions

 PixelRGBA ()
 PixelRGBA (T iR, T iG, T iB, T iA)
 PixelRGBA (const PixelRGBA &ip)
 PixelRGBA (const PixelL< T > &iPixel)
 PixelRGBA (const PixelLA< T > &iPixel)
 PixelRGBA (const PixelComplex< T > &iPixel)
 PixelRGBA (const PixelRGB< T > &iPixel)
 PixelRGBA (const PixelRGB< T > &iPixel, T iA)
 PixelRGBA (const PixelXYZ< T > &iPixel)
 PixelRGBA (const PixelHLS< T > &iPixel)
 PixelRGBA (const PixelLab< T > &iPixel)
 PixelRGBA (const PixelLuv< T > &iPixel)
 PixelRGBA (const PixelLch< T > &iPixel)
 PixelRGBA (const PixelHLab< T > &iPixel)
PixelRGBAoperator= (const PixelRGBA &ip)
template<typename U >
 PixelRGBA (const PixelRGBA< U > &ip)
template<typename U >
PixelRGBAoperator= (const PixelRGBA< U > &ip)
GetChannel0 () const
GetChannel1 () const
GetChannel2 () const
GetChannel3 () const
GetRed () const
GetGreen () const
GetBlue () const
GetAlpha () const
GetLuminance (EColorToGreyConversion iMethod=CGC_Default) const

Static Public Member Functions

static const PixelRGBA Null ()
static const PixelRGBA Black ()
static const PixelRGBA White ()
static const uint32 GetChannelCount ()
static const uint32 GetChannelMask ()
static bool IsFullMask (uint32 iMask)
static bool IsMasking (uint32 iMask)
static const EPixelMode GetPixelMode ()
static const EPixelType GetPixelType ()
static const EColorSpace GetColorSpace ()
static const EResolution GetResolution ()
static const bool HasAlpha ()
static const bool IsGrey ()
static const bool IsColor ()
static EPixelFormat GetPixelFormat ()

Public Attributes

union {
   T   _channel [_channels]
   struct {
      T   _red
 red channel
      T   _green
 green channel
      T   _blue
 blue channel
      T   _alpha
 used as a mask, typically handles opacity
   } 
}; 

Static Public Attributes

static const bool _bColor = true
static const bool _bGrey = false
static const bool _bHasAlpha = true
static const uint32 _channels = 4

Detailed Description

template<typename T>
struct eLynx::Image::PixelRGBA< T >

Definition at line 911 of file Pixels.h.


Member Typedef Documentation

template<typename T>
typedef T eLynx::Image::PixelRGBA< T >::type

Definition at line 913 of file Pixels.h.

template<typename T>
typedef IntegerToType< ResolutionTypeTraits<T>::_bInteger > eLynx::Image::PixelRGBA< T >::IntType

Definition at line 914 of file Pixels.h.

template<typename T>
typedef LutToType< ResolutionTypeTraits<T>::_bLUT > eLynx::Image::PixelRGBA< T >::LutType

Definition at line 915 of file Pixels.h.

template<typename T>
typedef ResolutionTypeTraits<T>::SumOverflow_type eLynx::Image::PixelRGBA< T >::S_type

Definition at line 917 of file Pixels.h.

template<typename T>
typedef ResolutionTypeTraits<T>::MulOverflow_type eLynx::Image::PixelRGBA< T >::M_type

Definition at line 918 of file Pixels.h.

template<typename T>
typedef ResolutionTypeTraits<T>::Floating_type eLynx::Image::PixelRGBA< T >::F_type

Definition at line 919 of file Pixels.h.

template<typename T>
typedef PixelRGBA<S_type> eLynx::Image::PixelRGBA< T >::SumOverflowPixel

Definition at line 921 of file Pixels.h.

template<typename T>
typedef PixelRGBA<M_type> eLynx::Image::PixelRGBA< T >::MulOverflowPixel

Definition at line 922 of file Pixels.h.

template<typename T>
typedef PixelRGBA<F_type> eLynx::Image::PixelRGBA< T >::FloatingPixel

Definition at line 923 of file Pixels.h.


Constructor & Destructor Documentation

template<typename T>
eLynx::Image::PixelRGBA< T >::PixelRGBA (  )  [inline]

Definition at line 940 of file Pixels.h.

template<typename T>
eLynx::Image::PixelRGBA< T >::PixelRGBA ( iR,
iG,
iB,
iA 
) [inline]

Definition at line 941 of file Pixels.h.

template<typename T>
eLynx::Image::PixelRGBA< T >::PixelRGBA ( const PixelRGBA< T > &  ip  )  [inline]

Definition at line 942 of file Pixels.h.

template<typename T>
eLynx::Image::PixelRGBA< T >::PixelRGBA ( const PixelL< T > &  iPixel  )  [inline]

Definition at line 944 of file Pixels.h.

template<typename T>
eLynx::Image::PixelRGBA< T >::PixelRGBA ( const PixelLA< T > &  iPixel  )  [inline]

Definition at line 945 of file Pixels.h.

template<typename T>
eLynx::Image::PixelRGBA< T >::PixelRGBA ( const PixelComplex< T > &  iPixel  )  [inline]

Definition at line 946 of file Pixels.h.

template<typename T>
eLynx::Image::PixelRGBA< T >::PixelRGBA ( const PixelRGB< T > &  iPixel  )  [inline]

Definition at line 947 of file Pixels.h.

template<typename T>
eLynx::Image::PixelRGBA< T >::PixelRGBA ( const PixelRGB< T > &  iPixel,
iA 
) [inline]

Definition at line 948 of file Pixels.h.

template<typename T>
eLynx::Image::PixelRGBA< T >::PixelRGBA ( const PixelXYZ< T > &  iPixel  )  [inline]

Definition at line 949 of file Pixels.h.

template<typename T>
eLynx::Image::PixelRGBA< T >::PixelRGBA ( const PixelHLS< T > &  iPixel  )  [inline]

Definition at line 950 of file Pixels.h.

template<typename T>
eLynx::Image::PixelRGBA< T >::PixelRGBA ( const PixelLab< T > &  iPixel  )  [inline]

Definition at line 951 of file Pixels.h.

template<typename T>
eLynx::Image::PixelRGBA< T >::PixelRGBA ( const PixelLuv< T > &  iPixel  )  [inline]

Definition at line 952 of file Pixels.h.

template<typename T>
eLynx::Image::PixelRGBA< T >::PixelRGBA ( const PixelLch< T > &  iPixel  )  [inline]

Definition at line 953 of file Pixels.h.

template<typename T>
eLynx::Image::PixelRGBA< T >::PixelRGBA ( const PixelHLab< T > &  iPixel  )  [inline]

Definition at line 954 of file Pixels.h.

template<typename T>
template<typename U >
eLynx::Image::PixelRGBA< T >::PixelRGBA ( const PixelRGBA< U > &  ip  )  [inline]

Definition at line 959 of file Pixels.h.


Member Function Documentation

template<typename T>
PixelRGBA& eLynx::Image::PixelRGBA< T >::operator= ( const PixelRGBA< T > &  ip  )  [inline]

Definition at line 956 of file Pixels.h.

template<typename T>
template<typename U >
PixelRGBA& eLynx::Image::PixelRGBA< T >::operator= ( const PixelRGBA< U > &  ip  )  [inline]

Definition at line 962 of file Pixels.h.

template<typename T>
static const PixelRGBA eLynx::Image::PixelRGBA< T >::Null (  )  [inline, static]

Definition at line 964 of file Pixels.h.

template<typename T>
static const PixelRGBA eLynx::Image::PixelRGBA< T >::Black (  )  [inline, static]

Definition at line 965 of file Pixels.h.

template<typename T>
static const PixelRGBA eLynx::Image::PixelRGBA< T >::White (  )  [inline, static]

Definition at line 966 of file Pixels.h.

template<typename T>
T eLynx::Image::PixelRGBA< T >::GetChannel0 (  )  const [inline]

Definition at line 968 of file Pixels.h.

template<typename T>
T eLynx::Image::PixelRGBA< T >::GetChannel1 (  )  const [inline]

Definition at line 969 of file Pixels.h.

template<typename T>
T eLynx::Image::PixelRGBA< T >::GetChannel2 (  )  const [inline]

Definition at line 970 of file Pixels.h.

template<typename T>
T eLynx::Image::PixelRGBA< T >::GetChannel3 (  )  const [inline]

Definition at line 971 of file Pixels.h.

template<typename T>
T eLynx::Image::PixelRGBA< T >::GetRed (  )  const [inline]

Definition at line 972 of file Pixels.h.

template<typename T>
T eLynx::Image::PixelRGBA< T >::GetGreen (  )  const [inline]

Definition at line 973 of file Pixels.h.

template<typename T>
T eLynx::Image::PixelRGBA< T >::GetBlue (  )  const [inline]

Definition at line 974 of file Pixels.h.

template<typename T>
T eLynx::Image::PixelRGBA< T >::GetAlpha (  )  const [inline]

Definition at line 975 of file Pixels.h.

template<typename T>
T eLynx::Image::PixelRGBA< T >::GetLuminance ( EColorToGreyConversion  iMethod = CGC_Default  )  const

template<typename T>
static const uint32 eLynx::Image::PixelRGBA< T >::GetChannelCount (  )  [inline, static]

Definition at line 978 of file Pixels.h.

template<typename T>
static const uint32 eLynx::Image::PixelRGBA< T >::GetChannelMask (  )  [inline, static]

Definition at line 979 of file Pixels.h.

template<typename T>
static bool eLynx::Image::PixelRGBA< T >::IsFullMask ( uint32  iMask  )  [inline, static]

Definition at line 980 of file Pixels.h.

template<typename T>
static bool eLynx::Image::PixelRGBA< T >::IsMasking ( uint32  iMask  )  [inline, static]

Definition at line 981 of file Pixels.h.

template<typename T>
static const EPixelMode eLynx::Image::PixelRGBA< T >::GetPixelMode (  )  [inline, static]

Definition at line 982 of file Pixels.h.

template<typename T>
static const EPixelType eLynx::Image::PixelRGBA< T >::GetPixelType (  )  [inline, static]

Definition at line 983 of file Pixels.h.

template<typename T>
static const EColorSpace eLynx::Image::PixelRGBA< T >::GetColorSpace (  )  [inline, static]

Definition at line 984 of file Pixels.h.

template<typename T>
static const EResolution eLynx::Image::PixelRGBA< T >::GetResolution (  )  [inline, static]

Definition at line 985 of file Pixels.h.

template<typename T>
static const bool eLynx::Image::PixelRGBA< T >::HasAlpha (  )  [inline, static]

Definition at line 986 of file Pixels.h.

template<typename T>
static const bool eLynx::Image::PixelRGBA< T >::IsGrey (  )  [inline, static]

Definition at line 987 of file Pixels.h.

template<typename T>
static const bool eLynx::Image::PixelRGBA< T >::IsColor (  )  [inline, static]

Definition at line 988 of file Pixels.h.

template<typename T>
static EPixelFormat eLynx::Image::PixelRGBA< T >::GetPixelFormat (  )  [static]


Member Data Documentation

template<typename T>
const bool eLynx::Image::PixelRGBA< T >::_bColor = true [static]

Definition at line 925 of file Pixels.h.

template<typename T>
const bool eLynx::Image::PixelRGBA< T >::_bGrey = false [static]

Definition at line 926 of file Pixels.h.

template<typename T>
const bool eLynx::Image::PixelRGBA< T >::_bHasAlpha = true [static]

Definition at line 927 of file Pixels.h.

template<typename T>
const uint32 eLynx::Image::PixelRGBA< T >::_channels = 4 [static]

Definition at line 928 of file Pixels.h.

template<typename T>
T eLynx::Image::PixelRGBA< T >::_channel[_channels]

Definition at line 931 of file Pixels.h.

template<typename T>
T eLynx::Image::PixelRGBA< T >::_red

red channel

Definition at line 933 of file Pixels.h.

template<typename T>
T eLynx::Image::PixelRGBA< T >::_green

green channel

Definition at line 934 of file Pixels.h.

template<typename T>
T eLynx::Image::PixelRGBA< T >::_blue

blue channel

Definition at line 935 of file Pixels.h.

template<typename T>
T eLynx::Image::PixelRGBA< T >::_alpha

used as a mask, typically handles opacity

Definition at line 936 of file Pixels.h.

union { ... }


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

Generated on 14 Apr 2009 by doxygen 1.5.8