Open CASCADE Technology 6.6.0
|
POD structure for packed RGB color value (3 bytes)
#include <Image_Color.hxx>
Public Types | |
typedef Standard_Byte | ComponentType_t |
Component type. | |
Public Member Functions | |
Standard_Byte | r () const |
Alias to 1st component (red intensity). | |
Standard_Byte | g () const |
Alias to 2nd component (green intensity). | |
Standard_Byte | b () const |
Alias to 3rd component (blue intensity). | |
Standard_Byte & | r () |
Alias to 1st component (red intensity). | |
Standard_Byte & | g () |
Alias to 2nd component (green intensity). | |
Standard_Byte & | b () |
Alias to 3rd 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_ColorRGB::b | ( | ) | const [inline] |
Standard_Byte& Image_ColorRGB::b | ( | ) | [inline] |
Standard_Byte Image_ColorRGB::g | ( | ) | const [inline] |
Standard_Byte& Image_ColorRGB::g | ( | ) | [inline] |
static Standard_Integer Image_ColorRGB::Length | ( | void | ) | [inline, static] |
Standard_Byte& Image_ColorRGB::r | ( | ) | [inline] |
Standard_Byte Image_ColorRGB::r | ( | ) | const [inline] |