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

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

#include <Pixels.h>

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_typeSumOverflowPixel
typedef PixelLA< M_typeMulOverflowPixel
typedef PixelLA< F_typeFloatingPixel

Public Member Functions

 PixelLA ()
 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 [_channels]
   struct {
      T   _luminance
 grey luminance
      T   _alpha
 alpha channel for masking
   } 
}; 

Static Public Attributes

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

Detailed Description

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

Definition at line 258 of file Pixels.h.


Member Typedef Documentation

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

Definition at line 260 of file Pixels.h.

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

Definition at line 261 of file Pixels.h.

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

Definition at line 262 of file Pixels.h.

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

Definition at line 264 of file Pixels.h.

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

Definition at line 265 of file Pixels.h.

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

Definition at line 266 of file Pixels.h.

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

Definition at line 268 of file Pixels.h.

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

Definition at line 269 of file Pixels.h.

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

Definition at line 270 of file Pixels.h.


Constructor & Destructor Documentation

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

Definition at line 285 of file Pixels.h.

template<typename T>
eLynx::Image::PixelLA< T >::PixelLA ( iL,
iA 
) [inline]

Definition at line 286 of file Pixels.h.

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

Definition at line 287 of file Pixels.h.

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

Definition at line 290 of file Pixels.h.

template<typename T>
eLynx::Image::PixelLA< T >::PixelLA ( const PixelL< T > &  ip,
iA 
) [inline]

Definition at line 292 of file Pixels.h.

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

Definition at line 295 of file Pixels.h.


Member Function Documentation

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

Definition at line 288 of file Pixels.h.

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

Definition at line 291 of file Pixels.h.

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

Definition at line 298 of file Pixels.h.

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

Definition at line 300 of file Pixels.h.

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

Definition at line 301 of file Pixels.h.

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

Definition at line 302 of file Pixels.h.

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

Definition at line 304 of file Pixels.h.

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

Definition at line 305 of file Pixels.h.

template<typename T>
T eLynx::Image::PixelLA< T >::GetLuminance (  )  const [inline]

Definition at line 306 of file Pixels.h.

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

Definition at line 307 of file Pixels.h.

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

Definition at line 309 of file Pixels.h.

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

Definition at line 310 of file Pixels.h.

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

Definition at line 311 of file Pixels.h.

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

Definition at line 312 of file Pixels.h.

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

Definition at line 313 of file Pixels.h.

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

Definition at line 314 of file Pixels.h.

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

Definition at line 315 of file Pixels.h.

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

Definition at line 316 of file Pixels.h.

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

Definition at line 317 of file Pixels.h.

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

Definition at line 318 of file Pixels.h.

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

Definition at line 319 of file Pixels.h.

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


Member Data Documentation

template<typename T>
const bool eLynx::Image::PixelLA< T >::_bColor = false [static]

Definition at line 272 of file Pixels.h.

template<typename T>
const bool eLynx::Image::PixelLA< T >::_bGrey = true [static]

Definition at line 273 of file Pixels.h.

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

Definition at line 274 of file Pixels.h.

template<typename T>
const uint32 eLynx::Image::PixelLA< T >::_channels = 2 [static]

Definition at line 275 of file Pixels.h.

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

Definition at line 278 of file Pixels.h.

template<typename T>
T eLynx::Image::PixelLA< T >::_luminance

grey luminance

Definition at line 280 of file Pixels.h.

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

alpha channel for masking

Definition at line 281 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