Open CASCADE Technology
6.9.1
|
Stores properties of surface material. More...
#include <OpenGl_SceneGeometry.hxx>
Public Member Functions | |
OpenGl_RaytraceMaterial () | |
Creates new default material. More... | |
OpenGl_RaytraceMaterial (const BVH_Vec4f &theAmbient, const BVH_Vec4f &theDiffuse, const BVH_Vec4f &theSpecular) | |
Creates new material with specified properties. More... | |
OpenGl_RaytraceMaterial (const BVH_Vec4f &theAmbient, const BVH_Vec4f &theDiffuse, const BVH_Vec4f &theSpecular, const BVH_Vec4f &theEmission, const BVH_Vec4f &theTranspar) | |
Creates new material with specified properties. More... | |
OpenGl_RaytraceMaterial (const BVH_Vec4f &theAmbient, const BVH_Vec4f &theDiffuse, const BVH_Vec4f &theSpecular, const BVH_Vec4f &theEmission, const BVH_Vec4f &theTranspar, const BVH_Vec4f &theReflection, const BVH_Vec4f &theRefraction) | |
Creates new material with specified properties. More... | |
const Standard_ShortReal * | Packed () |
Returns packed (serialized) representation of material. More... | |
Data Fields | |
BVH_Vec4f | Ambient |
Ambient reflection coefficient. More... | |
BVH_Vec4f | Diffuse |
Diffuse reflection coefficient. More... | |
BVH_Vec4f | Specular |
Glossy reflection coefficient. More... | |
BVH_Vec4f | Emission |
Material emission. More... | |
BVH_Vec4f | Reflection |
Specular reflection coefficient. More... | |
BVH_Vec4f | Refraction |
Specular refraction coefficient. More... | |
BVH_Vec4f | Transparency |
Material transparency. More... | |
BVH_Mat4f | TextureTransform |
Texture transformation matrix. More... | |
Stores properties of surface material.
OpenGl_RaytraceMaterial::OpenGl_RaytraceMaterial | ( | ) |
Creates new default material.
OpenGl_RaytraceMaterial::OpenGl_RaytraceMaterial | ( | const BVH_Vec4f & | theAmbient, |
const BVH_Vec4f & | theDiffuse, | ||
const BVH_Vec4f & | theSpecular | ||
) |
Creates new material with specified properties.
OpenGl_RaytraceMaterial::OpenGl_RaytraceMaterial | ( | const BVH_Vec4f & | theAmbient, |
const BVH_Vec4f & | theDiffuse, | ||
const BVH_Vec4f & | theSpecular, | ||
const BVH_Vec4f & | theEmission, | ||
const BVH_Vec4f & | theTranspar | ||
) |
Creates new material with specified properties.
OpenGl_RaytraceMaterial::OpenGl_RaytraceMaterial | ( | const BVH_Vec4f & | theAmbient, |
const BVH_Vec4f & | theDiffuse, | ||
const BVH_Vec4f & | theSpecular, | ||
const BVH_Vec4f & | theEmission, | ||
const BVH_Vec4f & | theTranspar, | ||
const BVH_Vec4f & | theReflection, | ||
const BVH_Vec4f & | theRefraction | ||
) |
Creates new material with specified properties.
|
inline |
Returns packed (serialized) representation of material.
BVH_Vec4f OpenGl_RaytraceMaterial::Ambient |
Ambient reflection coefficient.
BVH_Vec4f OpenGl_RaytraceMaterial::Diffuse |
Diffuse reflection coefficient.
BVH_Vec4f OpenGl_RaytraceMaterial::Emission |
Material emission.
BVH_Vec4f OpenGl_RaytraceMaterial::Reflection |
Specular reflection coefficient.
BVH_Vec4f OpenGl_RaytraceMaterial::Refraction |
Specular refraction coefficient.
BVH_Vec4f OpenGl_RaytraceMaterial::Specular |
Glossy reflection coefficient.
BVH_Mat4f OpenGl_RaytraceMaterial::TextureTransform |
Texture transformation matrix.
BVH_Vec4f OpenGl_RaytraceMaterial::Transparency |
Material transparency.