Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Data Fields
Image_ColorRGF Struct Reference

POD structure for packed float RG color value (2 floats) More...

#include <Image_Color.hxx>

Public Types

typedef float ComponentType_t
 Component type.
 

Public Member Functions

float r () const
 Alias to 1st component (red intensity).
 
float g () const
 Alias to 2nd component (green intensity).
 
floatr ()
 Alias to 1st component (red intensity).
 
floatg ()
 Alias to 2nd component (green intensity).
 

Static Public Member Functions

static int Length ()
 Returns the number of components.
 

Data Fields

float v [2]
 

Detailed Description

POD structure for packed float RG color value (2 floats)

Member Typedef Documentation

◆ ComponentType_t

Component type.

Member Function Documentation

◆ g() [1/2]

float & Image_ColorRGF::g ( )
inline

Alias to 2nd component (green intensity).

◆ g() [2/2]

float Image_ColorRGF::g ( ) const
inline

Alias to 2nd component (green intensity).

◆ Length()

static int Image_ColorRGF::Length ( )
inlinestatic

Returns the number of components.

◆ r() [1/2]

float & Image_ColorRGF::r ( )
inline

Alias to 1st component (red intensity).

◆ r() [2/2]

float Image_ColorRGF::r ( ) const
inline

Alias to 1st component (red intensity).

Field Documentation

◆ v

float Image_ColorRGF::v[2]

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