OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    Graphic3d_Fresnel Class Reference

    Describes Fresnel reflectance parameters. More...

    #include <Graphic3d_BSDF.hxx>

    Public Member Functions

     Graphic3d_Fresnel ()
     Creates uninitialized Fresnel factor.
    NCollection_Vec4< float > Serialize () const
     Returns serialized representation of Fresnel factor.
    bool operator== (const Graphic3d_Fresnel &theOther) const
     Performs comparison of two objects describing Fresnel factor.
    Graphic3d_FresnelModel FresnelType () const
     Returns type of Fresnel.
    void DumpJson (Standard_OStream &theOStream, int theDepth=-1) const
     Dumps the content of me into the stream.

    Static Public Member Functions

    static Graphic3d_Fresnel CreateSchlick (const NCollection_Vec3< float > &theSpecularColor)
     Creates Schlick's approximation of Fresnel factor.
    static Graphic3d_Fresnel CreateConstant (const float theReflection)
     Creates Fresnel factor for constant reflection.
    static Graphic3d_Fresnel CreateDielectric (float theRefractionIndex)
     Creates Fresnel factor for physical-based dielectric model.
    static Graphic3d_Fresnel CreateConductor (float theRefractionIndex, float theAbsorptionIndex)
     Creates Fresnel factor for physical-based conductor model.
    static Graphic3d_Fresnel CreateConductor (const NCollection_Vec3< float > &theRefractionIndex, const NCollection_Vec3< float > &theAbsorptionIndex)
     Creates Fresnel factor for physical-based conductor model (spectral version).

    Protected Member Functions

     Graphic3d_Fresnel (Graphic3d_FresnelModel theType, const NCollection_Vec3< float > &theData)
     Creates new Fresnel reflectance factor.

    Detailed Description

    Describes Fresnel reflectance parameters.

    Constructor & Destructor Documentation

    ◆ Graphic3d_Fresnel() [1/2]

    Graphic3d_Fresnel::Graphic3d_Fresnel ( )
    inline

    Creates uninitialized Fresnel factor.

    ◆ Graphic3d_Fresnel() [2/2]

    Graphic3d_Fresnel::Graphic3d_Fresnel ( Graphic3d_FresnelModel theType,
    const NCollection_Vec3< float > & theData )
    inlineprotected

    Creates new Fresnel reflectance factor.

    Member Function Documentation

    ◆ CreateConductor() [1/2]

    Graphic3d_Fresnel Graphic3d_Fresnel::CreateConductor ( const NCollection_Vec3< float > & theRefractionIndex,
    const NCollection_Vec3< float > & theAbsorptionIndex )
    static

    Creates Fresnel factor for physical-based conductor model (spectral version).

    ◆ CreateConductor() [2/2]

    Graphic3d_Fresnel Graphic3d_Fresnel::CreateConductor ( float theRefractionIndex,
    float theAbsorptionIndex )
    inlinestatic

    Creates Fresnel factor for physical-based conductor model.

    ◆ CreateConstant()

    Graphic3d_Fresnel Graphic3d_Fresnel::CreateConstant ( const float theReflection)
    inlinestatic

    Creates Fresnel factor for constant reflection.

    ◆ CreateDielectric()

    Graphic3d_Fresnel Graphic3d_Fresnel::CreateDielectric ( float theRefractionIndex)
    inlinestatic

    Creates Fresnel factor for physical-based dielectric model.

    ◆ CreateSchlick()

    Graphic3d_Fresnel Graphic3d_Fresnel::CreateSchlick ( const NCollection_Vec3< float > & theSpecularColor)
    inlinestatic

    Creates Schlick's approximation of Fresnel factor.

    ◆ DumpJson()

    void Graphic3d_Fresnel::DumpJson ( Standard_OStream & theOStream,
    int theDepth = -1 ) const

    Dumps the content of me into the stream.

    ◆ FresnelType()

    Graphic3d_FresnelModel Graphic3d_Fresnel::FresnelType ( ) const
    inline

    Returns type of Fresnel.

    ◆ operator==()

    bool Graphic3d_Fresnel::operator== ( const Graphic3d_Fresnel & theOther) const
    inline

    Performs comparison of two objects describing Fresnel factor.

    ◆ Serialize()

    NCollection_Vec4< float > Graphic3d_Fresnel::Serialize ( ) const

    Returns serialized representation of Fresnel factor.


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