Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions | Data Fields
Image_ColorBGRF Struct Reference

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

#include <Image_Color.hxx>

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_ShortRealr ()
 Alias to 3rd component (red intensity).
Standard_ShortRealg ()
 Alias to 2nd component (green intensity).
Standard_ShortRealb ()
 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]

Member Function Documentation

static Standard_Integer Image_ColorBGRF::Length ( void  ) [inline, static]

Field Documentation


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