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

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

#include <Pixels.h>

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

eLynx::Image::PixelBase< PixelRGB< 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 PixelRGB< S_typeSumOverflowPixel
typedef PixelRGB< M_typeMulOverflowPixel
typedef PixelRGB< F_typeFloatingPixel

Public Member Functions

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

Static Public Member Functions

static const PixelRGB Null ()
static const PixelRGB Black ()
static const PixelRGB 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
   } 
}; 

Static Public Attributes

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

Detailed Description

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

Definition at line 390 of file Pixels.h.


Member Typedef Documentation

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

Definition at line 392 of file Pixels.h.

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

Definition at line 393 of file Pixels.h.

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

Definition at line 394 of file Pixels.h.

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

Definition at line 396 of file Pixels.h.

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

Definition at line 397 of file Pixels.h.

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

Definition at line 398 of file Pixels.h.

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

Definition at line 400 of file Pixels.h.

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

Definition at line 401 of file Pixels.h.

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

Definition at line 402 of file Pixels.h.


Constructor & Destructor Documentation

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

Definition at line 418 of file Pixels.h.

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

Definition at line 419 of file Pixels.h.

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

Definition at line 420 of file Pixels.h.

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

Definition at line 421 of file Pixels.h.

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

Definition at line 422 of file Pixels.h.

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

Definition at line 423 of file Pixels.h.

template<typename T>
eLynx::Image::PixelRGB< T >::PixelRGB ( const PixelHLS< T > &  iPixel  ) 

template<typename T>
eLynx::Image::PixelRGB< T >::PixelRGB ( const PixelXYZ< T > &  iPixel  ) 

template<typename T>
eLynx::Image::PixelRGB< T >::PixelRGB ( const PixelLuv< T > &  iPixel  ) 

template<typename T>
eLynx::Image::PixelRGB< T >::PixelRGB ( const PixelLab< T > &  iPixel  ) 

template<typename T>
eLynx::Image::PixelRGB< T >::PixelRGB ( const PixelLch< T > &  iPixel  ) 

template<typename T>
eLynx::Image::PixelRGB< T >::PixelRGB ( const PixelHLab< T > &  iPixel  ) 

template<typename T>
eLynx::Image::PixelRGB< T >::PixelRGB ( const PixelRGBA< T > &  iPixel,
bool  ibBlendAlpha = false 
)

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

Definition at line 435 of file Pixels.h.


Member Function Documentation

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

Definition at line 432 of file Pixels.h.

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

Definition at line 438 of file Pixels.h.

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

Definition at line 440 of file Pixels.h.

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

Definition at line 441 of file Pixels.h.

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

Definition at line 442 of file Pixels.h.

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

Definition at line 444 of file Pixels.h.

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

Definition at line 445 of file Pixels.h.

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

Definition at line 446 of file Pixels.h.

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

Definition at line 447 of file Pixels.h.

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

Definition at line 448 of file Pixels.h.

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

Definition at line 449 of file Pixels.h.

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

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

Definition at line 452 of file Pixels.h.

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

Definition at line 453 of file Pixels.h.

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

Definition at line 454 of file Pixels.h.

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

Definition at line 455 of file Pixels.h.

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

Definition at line 456 of file Pixels.h.

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

Definition at line 457 of file Pixels.h.

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

Definition at line 458 of file Pixels.h.

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

Definition at line 459 of file Pixels.h.

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

Definition at line 460 of file Pixels.h.

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

Definition at line 461 of file Pixels.h.

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

Definition at line 462 of file Pixels.h.

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


Member Data Documentation

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

Definition at line 404 of file Pixels.h.

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

Definition at line 405 of file Pixels.h.

template<typename T>
const bool eLynx::Image::PixelRGB< T >::_bHasAlpha = false [static]

Definition at line 406 of file Pixels.h.

template<typename T>
const uint32 eLynx::Image::PixelRGB< T >::_channels = 3 [static]

Definition at line 407 of file Pixels.h.

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

Definition at line 410 of file Pixels.h.

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

red channel

Definition at line 412 of file Pixels.h.

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

green channel

Definition at line 413 of file Pixels.h.

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

blue channel

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