Open CASCADE Technology 7.8.0
|
Describes Fresnel reflectance parameters. More...
#include <Graphic3d_BSDF.hxx>
Public Member Functions | |
Graphic3d_Fresnel () | |
Creates uninitialized Fresnel factor. | |
Graphic3d_Vec4 | 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, Standard_Integer theDepth=-1) const |
Dumps the content of me into the stream. | |
Static Public Member Functions | |
static Graphic3d_Fresnel | CreateSchlick (const Graphic3d_Vec3 &theSpecularColor) |
Creates Schlick's approximation of Fresnel factor. | |
static Graphic3d_Fresnel | CreateConstant (const Standard_ShortReal theReflection) |
Creates Fresnel factor for constant reflection. | |
static Graphic3d_Fresnel | CreateDielectric (Standard_ShortReal theRefractionIndex) |
Creates Fresnel factor for physical-based dielectric model. | |
static Graphic3d_Fresnel | CreateConductor (Standard_ShortReal theRefractionIndex, Standard_ShortReal theAbsorptionIndex) |
Creates Fresnel factor for physical-based conductor model. | |
static Graphic3d_Fresnel | CreateConductor (const Graphic3d_Vec3 &theRefractionIndex, const Graphic3d_Vec3 &theAbsorptionIndex) |
Creates Fresnel factor for physical-based conductor model (spectral version). | |
Protected Member Functions | |
Graphic3d_Fresnel (Graphic3d_FresnelModel theType, const Graphic3d_Vec3 &theData) | |
Creates new Fresnel reflectance factor. | |
Describes Fresnel reflectance parameters.
|
inline |
Creates uninitialized Fresnel factor.
|
inlineprotected |
Creates new Fresnel reflectance factor.
|
static |
Creates Fresnel factor for physical-based conductor model (spectral version).
|
inlinestatic |
Creates Fresnel factor for physical-based conductor model.
|
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.