Open CASCADE Technology  7.3.0
Data Structures | Public Member Functions | Data Fields
OpenGl_RaytraceMaterial Class Reference

Stores properties of surface material. More...

#include <OpenGl_SceneGeometry.hxx>

Data Structures

struct  Physical
 Physically-based material properties (used in path tracing engine). More...
 

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_ShortRealPacked ()
 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...
 
struct OpenGl_RaytraceMaterial::Physical BSDF
 

Detailed Description

Stores properties of surface material.

Constructor & Destructor Documentation

◆ OpenGl_RaytraceMaterial() [1/4]

OpenGl_RaytraceMaterial::OpenGl_RaytraceMaterial ( )

Creates new default material.

◆ OpenGl_RaytraceMaterial() [2/4]

OpenGl_RaytraceMaterial::OpenGl_RaytraceMaterial ( const BVH_Vec4f theAmbient,
const BVH_Vec4f theDiffuse,
const BVH_Vec4f theSpecular 
)

Creates new material with specified properties.

◆ OpenGl_RaytraceMaterial() [3/4]

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() [4/4]

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.

Member Function Documentation

◆ Packed()

const Standard_ShortReal* OpenGl_RaytraceMaterial::Packed ( )
inline

Returns packed (serialized) representation of material.

Field Documentation

◆ Ambient

BVH_Vec4f OpenGl_RaytraceMaterial::Ambient

Ambient reflection coefficient.

◆ BSDF

struct OpenGl_RaytraceMaterial::Physical OpenGl_RaytraceMaterial::BSDF

◆ Diffuse

BVH_Vec4f OpenGl_RaytraceMaterial::Diffuse

Diffuse reflection coefficient.

◆ Emission

BVH_Vec4f OpenGl_RaytraceMaterial::Emission

Material emission.

◆ Reflection

BVH_Vec4f OpenGl_RaytraceMaterial::Reflection

Specular reflection coefficient.

◆ Refraction

BVH_Vec4f OpenGl_RaytraceMaterial::Refraction

Specular refraction coefficient.

◆ Specular

BVH_Vec4f OpenGl_RaytraceMaterial::Specular

Glossy reflection coefficient.

◆ TextureTransform

BVH_Mat4f OpenGl_RaytraceMaterial::TextureTransform

Texture transformation matrix.

◆ Transparency

BVH_Vec4f OpenGl_RaytraceMaterial::Transparency

Material transparency.


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