Open CASCADE Technology  7.1.0.beta
Public Member Functions | Data Fields
OpenGl_RaytraceLight Class Reference

Stores properties of OpenGL light source. More...

#include <OpenGl_SceneGeometry.hxx>

Public Member Functions

 OpenGl_RaytraceLight ()
 Creates new light source. More...
 
 OpenGl_RaytraceLight (const BVH_Vec4f &theEmission, const BVH_Vec4f &thePosition)
 Creates new light source. More...
 
const Standard_ShortRealPacked ()
 Returns packed (serialized) representation of light source. More...
 

Data Fields

BVH_Vec4f Emission
 Diffuse intensity (in terms of OpenGL). More...
 
BVH_Vec4f Position
 Position of light source (in terms of OpenGL). More...
 

Detailed Description

Stores properties of OpenGL light source.

Constructor & Destructor Documentation

OpenGl_RaytraceLight::OpenGl_RaytraceLight ( )
inline

Creates new light source.

OpenGl_RaytraceLight::OpenGl_RaytraceLight ( const BVH_Vec4f theEmission,
const BVH_Vec4f thePosition 
)

Creates new light source.

Member Function Documentation

const Standard_ShortReal* OpenGl_RaytraceLight::Packed ( )
inline

Returns packed (serialized) representation of light source.

Field Documentation

BVH_Vec4f OpenGl_RaytraceLight::Emission

Diffuse intensity (in terms of OpenGL).

BVH_Vec4f OpenGl_RaytraceLight::Position

Position of light source (in terms of OpenGL).


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