Open CASCADE Technology  6.9.0
Public Member Functions | Data Fields

OpenGl_RaytraceMaterial Class Reference

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_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...
 

Detailed Description

Stores properties of surface material.

Constructor & Destructor Documentation

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.

Member Function Documentation

const Standard_ShortReal* OpenGl_RaytraceMaterial::Packed ( )
inline

Returns packed (serialized) representation of material.

Field Documentation

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.


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