Open CASCADE Technology
6.5.4
|
POD structure for packed BGR color value (3 bytes)
#include <Image_Color.hxx>
Public Member Functions | |
Standard_Byte | r () const |
Alias to 3rd component (red intensity). | |
Standard_Byte | g () const |
Alias to 2nd component (green intensity). | |
Standard_Byte | b () const |
Alias to 1st component (blue intensity). | |
Standard_Byte & | r () |
Alias to 3rd component (red intensity). | |
Standard_Byte & | g () |
Alias to 2nd component (green intensity). | |
Standard_Byte & | b () |
Alias to 1st component (blue intensity). | |
Static Public Member Functions | |
static Standard_Integer | Length () |
Returns the number of components. | |
Data Fields | |
Standard_Byte | v [3] |
Standard_Byte Image_ColorBGR::b | ( | ) | const [inline] |
Standard_Byte& Image_ColorBGR::b | ( | ) | [inline] |
Standard_Byte Image_ColorBGR::g | ( | ) | const [inline] |
Standard_Byte& Image_ColorBGR::g | ( | ) | [inline] |
static Standard_Integer Image_ColorBGR::Length | ( | void | ) | [inline, static] |
Standard_Byte Image_ColorBGR::r | ( | ) | const [inline] |
Standard_Byte& Image_ColorBGR::r | ( | ) | [inline] |