eLynx SDK v3.3.0
C++ image processing API reference
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes

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

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_type > SumOverflowPixel
typedef PixelRGBA< M_type > MulOverflowPixel
typedef PixelRGBA< F_type > FloatingPixel

Public Member Functions

 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 [_nChannel]
 channel access
   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 uint32 _nChannel = 4
static const bool _bColor = true
static const bool _bGrey = false
static const bool _bHasAlpha = true
static const bool _bRange [_nChannel]
static const T _min [_nChannel]
static const T _max [_nChannel]

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


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

Generated on Thu Dec 9 2010 by doxygen 1.7.2