#include <rgb8.h>
List of all members.
Public Member Functions |
| Rgb8 (unsigned char r, unsigned char g, unsigned char b, unsigned char a=0) |
| Rgb8 () |
| Default constructor. Sets all elements to zero.
|
Public Attributes |
unsigned char | blue |
| The blue component.
|
unsigned char | dummy |
| The 4th byte, usually either ignored or used to represent the alpha value.
|
unsigned char | green |
| The green component.
|
unsigned char | red |
| The red component.
|
Detailed Description
A 32-bit colour. Deprecated The templated Rgba should be used instead (Rgba<byte> is exactly equivalent).
Definition at line 33 of file rgb8.h.
Constructor & Destructor Documentation
CVD::Rgb8::Rgb8 |
( |
|
) |
[inline] |
Default constructor. Sets all elements to zero.
Definition at line 41 of file rgb8.h.
CVD::Rgb8::Rgb8 |
( |
unsigned char |
r, |
|
|
unsigned char |
g, |
|
|
unsigned char |
b, |
|
|
unsigned char |
a = 0 | |
|
) |
| | [inline] |
Construct an Rgb8 as specified
- Parameters:
-
| r | The red component |
| g | The green component |
| b | The blue component |
| a | The dummy byte (defaults to zero) |
Definition at line 51 of file rgb8.h.
Member Data Documentation
The blue component.
Definition at line 37 of file rgb8.h.
The 4th byte, usually either ignored or used to represent the alpha value.
Definition at line 38 of file rgb8.h.
The green component.
Definition at line 36 of file rgb8.h.
The red component.
Definition at line 35 of file rgb8.h.
The documentation for this struct was generated from the following file:
libcvd
Author(s): Edward Rosten, Paul Smith, Tom Drummond, Gerhard Reitmayr, Ethan Eade, Timothy Gan, Chris Kemp, Georg Klein
autogenerated on Fri Jan 11 09:13:52 2013