OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    Image_ColorRGBF Struct Reference

    POD structure for packed float RGB color value (3 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).
    float b () const
     Alias to 3rd component (blue intensity).
    float & r ()
     Alias to 1st component (red intensity).
    float & g ()
     Alias to 2nd component (green intensity).
    float & b ()
     Alias to 3rd component (blue intensity).

    Static Public Member Functions

    static int Length ()
     Returns the number of components.

    Data Fields

    float v [3]

    Detailed Description

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

    Member Typedef Documentation

    ◆ ComponentType_t

    Component type.

    Member Function Documentation

    ◆ b() [1/2]

    float & Image_ColorRGBF::b ( )
    inline

    Alias to 3rd component (blue intensity).

    ◆ b() [2/2]

    float Image_ColorRGBF::b ( ) const
    inline

    Alias to 3rd component (blue intensity).

    ◆ g() [1/2]

    float & Image_ColorRGBF::g ( )
    inline

    Alias to 2nd component (green intensity).

    ◆ g() [2/2]

    float Image_ColorRGBF::g ( ) const
    inline

    Alias to 2nd component (green intensity).

    ◆ Length()

    int Image_ColorRGBF::Length ( )
    inlinestatic

    Returns the number of components.

    ◆ r() [1/2]

    float & Image_ColorRGBF::r ( )
    inline

    Alias to 1st component (red intensity).

    ◆ r() [2/2]

    float Image_ColorRGBF::r ( ) const
    inline

    Alias to 1st component (red intensity).

    Field Documentation

    ◆ v

    float Image_ColorRGBF::v[3]

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