Open CASCADE Technology
7.5.0
|
Describes Fresnel reflectance parameters. More...
#include <Graphic3d_BSDF.hxx>
Public Member Functions | |
Graphic3d_Fresnel () | |
Creates uninitialized Fresnel factor. More... | |
Graphic3d_Vec4 | Serialize () const |
Returns serialized representation of Fresnel factor. More... | |
bool | operator== (const Graphic3d_Fresnel &theOther) const |
Performs comparison of two objects describing Fresnel factor. More... | |
Graphic3d_FresnelModel | FresnelType () const |
Returns type of Fresnel. More... | |
void | DumpJson (Standard_OStream &theOStream, Standard_Integer theDepth=-1) const |
Dumps the content of me into the stream. More... | |
Static Public Member Functions | |
static Graphic3d_Fresnel | CreateSchlick (const Graphic3d_Vec3 &theSpecularColor) |
Creates Schlick's approximation of Fresnel factor. More... | |
static Graphic3d_Fresnel | CreateConstant (const Standard_ShortReal theReflection) |
Creates Fresnel factor for constant reflection. More... | |
static Graphic3d_Fresnel | CreateDielectric (Standard_ShortReal theRefractionIndex) |
Creates Fresnel factor for physical-based dielectric model. More... | |
static Graphic3d_Fresnel | CreateConductor (Standard_ShortReal theRefractionIndex, Standard_ShortReal theAbsorptionIndex) |
Creates Fresnel factor for physical-based conductor model. More... | |
static Graphic3d_Fresnel | CreateConductor (const Graphic3d_Vec3 &theRefractionIndex, const Graphic3d_Vec3 &theAbsorptionIndex) |
Creates Fresnel factor for physical-based conductor model (spectral version). More... | |
Protected Member Functions | |
Graphic3d_Fresnel (Graphic3d_FresnelModel theType, const Graphic3d_Vec3 &theData) | |
Creates new Fresnel reflectance factor. More... | |
Describes Fresnel reflectance parameters.
|
inline |
Creates uninitialized Fresnel factor.
|
inlineprotected |
Creates new Fresnel reflectance factor.
|
inlinestatic |
Creates Fresnel factor for physical-based conductor model.
|
static |
Creates Fresnel factor for physical-based conductor model (spectral version).
|
inlinestatic |
Creates Fresnel factor for constant reflection.
|
inlinestatic |
Creates Fresnel factor for physical-based dielectric model.
|
inlinestatic |
Creates Schlick's approximation of Fresnel factor.
void Graphic3d_Fresnel::DumpJson | ( | Standard_OStream & | theOStream, |
Standard_Integer | theDepth = -1 |
||
) | const |
Dumps the content of me into the stream.
|
inline |
Returns type of Fresnel.
|
inline |
Performs comparison of two objects describing Fresnel factor.
Graphic3d_Vec4 Graphic3d_Fresnel::Serialize | ( | ) | const |
Returns serialized representation of Fresnel factor.