|
CVD 0.8
|
A colour consisting of red, green, blue and dummy components, in the order bgr dummy in memory. More...
#include <bgrx.h>
Public Member Functions | |
| Bgrx () | |
| Bgrx (T b, T g, T r) | |
| template<typename T2 > | |
| Bgrx< T > & | operator= (const Bgrx< T2 > &c) |
| bool | operator== (const Bgrx< T > &c) const |
| bool | operator!= (const Bgrx< T > &c) const |
Public Attributes | |
| T | blue |
| T | green |
| T | red |
| T | dummy |
Related Functions | |
(Note that these are not member functions.) | |
| template<typename T > | |
| std::ostream & | operator<< (std::ostream &os, const Bgrx< T > &x) |
| std::ostream & | operator<< (std::ostream &os, const Bgrx< unsigned char > &x) |
A colour consisting of red, green, blue and dummy components, in the order bgr dummy in memory.
| T | The datatype of each component |
| Bgrx<T>& CVD::Bgrx< T >::operator= | ( | const Bgrx< T2 > & | c | ) | [inline] |
Assignment operator between two different storage types, using the standard casts as necessary.
| c | The colour to copy from |
Definition at line 57 of file bgrx.h.
References CVD::Bgrx< T >::blue, CVD::Bgrx< T >::green, and CVD::Bgrx< T >::red.
Logical equals operator.
Returns true if each component is the same.
| c | Bgrx to compare with |
Definition at line 66 of file bgrx.h.
References CVD::Bgrx< T >::blue, CVD::Bgrx< T >::green, and CVD::Bgrx< T >::red.
Logical not-equals operator.
Returns true unless each component is the same.
| c | Bgrx to compare with |
Definition at line 71 of file bgrx.h.
References CVD::Bgrx< T >::blue, CVD::Bgrx< T >::green, and CVD::Bgrx< T >::red.
| std::ostream & operator<< | ( | std::ostream & | os, |
| const Bgrx< T > & | x | ||
| ) | [related] |
| std::ostream & operator<< | ( | std::ostream & | os, |
| const Bgrx< unsigned char > & | x | ||
| ) | [related] |
1.7.4