Open CASCADE Technology  7.6.0.dev
Public Types | Public Member Functions | Static Public Member Functions | Data Fields
Image_ColorBGR32 Struct Reference

POD structure for packed BGR color value (4 bytes with extra byte for alignment) More...

#include <Image_Color.hxx>

Public Types

typedef Standard_Byte ComponentType_t
 Component type. More...
 

Public Member Functions

Standard_Byte r () const
 Alias to 3rd component (red intensity). More...
 
Standard_Byte g () const
 Alias to 2nd component (green intensity). More...
 
Standard_Byte b () const
 Alias to 1st component (blue intensity). More...
 
Standard_Byte a_ () const
 Alias to 4th component (dummy). More...
 
Standard_Byter ()
 Alias to 3rd component (red intensity). More...
 
Standard_Byteg ()
 Alias to 2nd component (green intensity). More...
 
Standard_Byteb ()
 Alias to 1st component (blue intensity). More...
 
Standard_Bytea_ ()
 Alias to 4th component (dummy). More...
 

Static Public Member Functions

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

Data Fields

Standard_Byte v [4]
 

Detailed Description

POD structure for packed BGR color value (4 bytes with extra byte for alignment)

Member Typedef Documentation

◆ ComponentType_t

Component type.

Member Function Documentation

◆ a_() [1/2]

Standard_Byte& Image_ColorBGR32::a_ ( )
inline

Alias to 4th component (dummy).

◆ a_() [2/2]

Standard_Byte Image_ColorBGR32::a_ ( ) const
inline

Alias to 4th component (dummy).

◆ b() [1/2]

Standard_Byte& Image_ColorBGR32::b ( )
inline

Alias to 1st component (blue intensity).

◆ b() [2/2]

Standard_Byte Image_ColorBGR32::b ( ) const
inline

Alias to 1st component (blue intensity).

◆ g() [1/2]

Standard_Byte& Image_ColorBGR32::g ( )
inline

Alias to 2nd component (green intensity).

◆ g() [2/2]

Standard_Byte Image_ColorBGR32::g ( ) const
inline

Alias to 2nd component (green intensity).

◆ Length()

static Standard_Integer Image_ColorBGR32::Length ( void  )
inlinestatic

Returns the number of components.

◆ r() [1/2]

Standard_Byte& Image_ColorBGR32::r ( )
inline

Alias to 3rd component (red intensity).

◆ r() [2/2]

Standard_Byte Image_ColorBGR32::r ( ) const
inline

Alias to 3rd component (red intensity).

Field Documentation

◆ v

Standard_Byte Image_ColorBGR32::v[4]

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