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::PixelLA< T > Struct Template Reference

Inheritance diagram for eLynx::Image::PixelLA< T >:
eLynx::Image::PixelBase< PixelLA< 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 PixelLA< S_type > SumOverflowPixel
typedef PixelLA< M_type > MulOverflowPixel
typedef PixelLA< F_type > FloatingPixel

Public Member Functions

 PixelLA (T iL, T iA)
 PixelLA (const PixelLA &ip)
PixelLAoperator= (const PixelLA &ip)
 PixelLA (const PixelL< T > &ip)
PixelLAoperator= (const PixelL< T > &ip)
 PixelLA (const PixelL< T > &ip, T iA)
template<typename U >
 PixelLA (const PixelLA< U > &ip)
template<typename U >
PixelLAoperator= (const PixelLA< U > &ip)
GetChannel0 () const
GetChannel1 () const
GetLuminance () const
GetAlpha () const

Static Public Member Functions

static const PixelLA Null ()
static const PixelLA Black ()
static const PixelLA 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   _luminance
 grey luminance
      T   _alpha
 alpha channel for masking
   } 
}; 

Static Public Attributes

static const uint32 _nChannel = 2
static const bool _bColor = false
static const bool _bGrey = true
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::PixelLA< T >


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

Generated on Thu Dec 9 2010 by doxygen 1.7.2