Open CASCADE Technology  7.0.0
Public Types | Public Member Functions | Static Public Member Functions | Data Fields
Image_ColorBGRF Struct Reference

POD structure for packed BGR float color value (3 floats) More...

#include <Image_Color.hxx>

Public Types

typedef Standard_ShortReal ComponentType_t
 Component type. More...
 

Public Member Functions

Standard_ShortReal r () const
 Alias to 3rd component (red intensity). More...
 
Standard_ShortReal g () const
 Alias to 2nd component (green intensity). More...
 
Standard_ShortReal b () const
 Alias to 1st component (blue intensity). More...
 
Standard_ShortRealr ()
 Alias to 3rd component (red intensity). More...
 
Standard_ShortRealg ()
 Alias to 2nd component (green intensity). More...
 
Standard_ShortRealb ()
 Alias to 1st component (blue intensity). More...
 

Static Public Member Functions

static Standard_Integer Length ()
 Returns the number of components. More...
 

Data Fields

Standard_ShortReal v [3]
 

Detailed Description

POD structure for packed BGR float color value (3 floats)

Member Typedef Documentation

Component type.

Member Function Documentation

Standard_ShortReal Image_ColorBGRF::b ( ) const
inline

Alias to 1st component (blue intensity).

Standard_ShortReal& Image_ColorBGRF::b ( )
inline

Alias to 1st component (blue intensity).

Standard_ShortReal Image_ColorBGRF::g ( ) const
inline

Alias to 2nd component (green intensity).

Standard_ShortReal& Image_ColorBGRF::g ( )
inline

Alias to 2nd component (green intensity).

static Standard_Integer Image_ColorBGRF::Length ( void  )
inlinestatic

Returns the number of components.

Standard_ShortReal Image_ColorBGRF::r ( ) const
inline

Alias to 3rd component (red intensity).

Standard_ShortReal& Image_ColorBGRF::r ( )
inline

Alias to 3rd component (red intensity).

Field Documentation

Standard_ShortReal Image_ColorBGRF::v[3]

The documentation for this struct was generated from the following file: