Open CASCADE Technology  6.9.0
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 (const BVH_Vec4f &theDiffuse, const BVH_Vec4f &thePosition)
 Creates new light source. More...
 
const Standard_ShortRealPacked ()
 Returns packed (serialized) representation of light source. More...
 

Data Fields

BVH_Vec4f Diffuse
 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 ( const BVH_Vec4f theDiffuse,
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::Diffuse

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: