Open CASCADE Technology 6.6.0
Public Types | Public Member Functions | Static Public Member Functions | Data Fields
Image_ColorRGBAF Struct Reference

POD structure for packed RGBA color value (4 floats)

#include <Image_Color.hxx>

Public Types

typedef Standard_ShortReal ComponentType_t
 Component type.

Public Member Functions

Standard_ShortReal r () const
 Alias to 1st component (red intensity).
Standard_ShortReal g () const
 Alias to 2nd component (green intensity).
Standard_ShortReal b () const
 Alias to 3rd component (blue intensity).
Standard_ShortReal a () const
 Alias to 4th component (alpha value).
Standard_ShortRealr ()
 Alias to 1st component (red intensity).
Standard_ShortRealg ()
 Alias to 2nd component (green intensity).
Standard_ShortRealb ()
 Alias to 3rd component (blue intensity).
Standard_ShortReala ()
 Alias to 4th component (alpha value).

Static Public Member Functions

static Standard_Integer Length ()
 Returns the number of components.

Data Fields

Standard_ShortReal v [4]

Member Typedef Documentation


Member Function Documentation

Standard_ShortReal Image_ColorRGBAF::a ( ) const [inline]
Standard_ShortReal& Image_ColorRGBAF::a ( ) [inline]
Standard_ShortReal& Image_ColorRGBAF::b ( ) [inline]
Standard_ShortReal Image_ColorRGBAF::b ( ) const [inline]
Standard_ShortReal Image_ColorRGBAF::g ( ) const [inline]
Standard_ShortReal& Image_ColorRGBAF::g ( ) [inline]
static Standard_Integer Image_ColorRGBAF::Length ( void  ) [inline, static]
Standard_ShortReal& Image_ColorRGBAF::r ( ) [inline]
Standard_ShortReal Image_ColorRGBAF::r ( ) const [inline]

Field Documentation


The documentation for this struct was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines