|
refinery
RAW file processor
|
A 3-color pixel with R, G and B values. More...
#include <refinery/image.h>
Public Member Functions | |
| RGBPixel () | |
| Empty constructor. | |
| template<typename U > | |
| RGBPixel (const U(&rhs)[3]) | |
| Constructor. | |
| template<typename U > | |
| RGBPixel (const RGBPixel< U > &rhs) | |
| Copy constructor. | |
| const T & | r () const |
| The red value. | |
| const T & | g () const |
| The green value. | |
| const T & | b () const |
| The blue value. | |
| T & | r () |
| A mutable reference to the red value. | |
| T & | g () |
| A mutable reference to the green value. | |
| T & | b () |
| A mutable reference to the blue value. | |
A 3-color pixel with R, G and B values.
This is simply a Pixel with some convenience accessors.
| T | Type of each color value. |
| refinery::RGBPixel< T >::RGBPixel | ( | const U(&) | rhs[3] | ) | [inline] |
| refinery::RGBPixel< T >::RGBPixel | ( | const RGBPixel< U > & | rhs | ) | [inline] |
1.7.3