Public Member Functions | Static Public Member Functions | Public Attributes

firevision::YUV_t_struct Struct Reference

YUV pixel. More...

#include <yuv.h>

List of all members.

Public Member Functions

 YUV_t_struct (unsigned char y=127, unsigned char u=127, unsigned char v=127)
 Standard constructor.

Static Public Member Functions

static YUV_t_struct white ()
static YUV_t_struct black ()
static YUV_t_struct green ()
static YUV_t_struct cyan ()
static YUV_t_struct magenta ()
static YUV_t_struct gray ()
static YUV_t_struct orange ()
static YUV_t_struct yellow ()
static YUV_t_struct blue ()
static YUV_t_struct red ()

Public Attributes

unsigned char Y
 Y component.
unsigned char U
 U component.
unsigned char V
 V component.

Detailed Description

YUV pixel.

Definition at line 56 of file yuv.h.


Constructor & Destructor Documentation

firevision::YUV_t_struct::YUV_t_struct ( unsigned char  y = 127,
unsigned char  u = 127,
unsigned char  v = 127 
) [inline]

Standard constructor.

Parameters:
y Y component
u U component
v V component

Definition at line 66 of file yuv.h.


Member Function Documentation

static YUV_t_struct firevision::YUV_t_struct::black (  )  [inline, static]
Returns:
black color

Definition at line 74 of file yuv.h.

Referenced by firevision::FieldDrawer::FieldDrawer(), and firevision::ColorObjectMap::get_color().

static YUV_t_struct firevision::YUV_t_struct::blue (  )  [inline, static]
Returns:
blue color

Definition at line 81 of file yuv.h.

Referenced by firevision::ColorObjectMap::get_color().

static YUV_t_struct firevision::YUV_t_struct::cyan (  )  [inline, static]
Returns:
cyan color

Definition at line 76 of file yuv.h.

Referenced by firevision::FieldDrawer::FieldDrawer(), and firevision::ColorObjectMap::get_color().

static YUV_t_struct firevision::YUV_t_struct::gray (  )  [inline, static]
Returns:
gray color

Definition at line 78 of file yuv.h.

Referenced by firevision::ColorObjectMap::get_color().

static YUV_t_struct firevision::YUV_t_struct::green (  )  [inline, static]
Returns:
green color

Definition at line 75 of file yuv.h.

Referenced by firevision::FieldDrawer::FieldDrawer(), and firevision::ColorObjectMap::get_color().

static YUV_t_struct firevision::YUV_t_struct::magenta (  )  [inline, static]
Returns:
magenta color

Definition at line 77 of file yuv.h.

Referenced by firevision::ColorObjectMap::get_color().

static YUV_t_struct firevision::YUV_t_struct::orange (  )  [inline, static]
Returns:
orange color

Definition at line 79 of file yuv.h.

Referenced by firevision::ColorObjectMap::get_color().

static YUV_t_struct firevision::YUV_t_struct::red (  )  [inline, static]
Returns:
red color

Definition at line 82 of file yuv.h.

Referenced by firevision::ColorObjectMap::get_color().

static YUV_t_struct firevision::YUV_t_struct::white (  )  [inline, static]
Returns:
white color

Definition at line 73 of file yuv.h.

Referenced by firevision::Drawer::Drawer(), firevision::FieldDrawer::FieldDrawer(), and firevision::ColorObjectMap::get_color().

static YUV_t_struct firevision::YUV_t_struct::yellow (  )  [inline, static]
Returns:
yellow color

Definition at line 80 of file yuv.h.

Referenced by firevision::FieldDrawer::FieldDrawer(), and firevision::ColorObjectMap::get_color().


Member Data Documentation


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