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