refinery
RAW file processor
|
A 1-color pixel. More...
#include <refinery/image.h>
Public Member Functions | |
GrayPixel () | |
Empty constructor. | |
template<typename U > | |
GrayPixel (const U(&rhs)[1]) | |
Constructor. | |
GrayPixel (const T &value) | |
Constructor. | |
template<typename U > | |
GrayPixel (const GrayPixel< U > &rhs) | |
Copy constructor. | |
T & | value () |
A mutable reference to the pixel value. | |
const T & | value () const |
The pixel value. | |
template<typename U > | |
GrayPixel & | operator* (const U &rhs) |
Build a scaled pixel based on this one. |
A 1-color pixel.
T | Type of each pixel value. |
refinery::GrayPixel< T >::GrayPixel | ( | const U(&) | rhs[1] | ) | [inline] |
refinery::GrayPixel< T >::GrayPixel | ( | const T & | value | ) | [inline] |
refinery::GrayPixel< T >::GrayPixel | ( | const GrayPixel< U > & | rhs | ) | [inline] |
GrayPixel& refinery::GrayPixel< T >::operator* | ( | const U & | rhs | ) | [inline] |