GClasses
GClasses::GRayTracePointLight Class Reference

Detailed Description

Represents a point light in a ray-tracing scene.

#include <GRayTrace.h>

Inheritance diagram for GClasses::GRayTracePointLight:
GClasses::GRayTraceLight

Public Member Functions

 GRayTracePointLight (G3DReal x, G3DReal y, G3DReal z, G3DReal r, G3DReal g, G3DReal b, G3DReal jitter)
 
 GRayTracePointLight (GDomNode *pNode)
 
virtual ~GRayTracePointLight ()
 
virtual void colorContribution (GRayTraceScene *pScene, GRayTraceRay *pRay, GRayTraceMaterial *pMaterial, bool bSpecular)
 
virtual LightType lightType () const
 
virtual GDomNodeserialize (GDom *pDoc, const GRayTraceScene *pScene) const
 
- Public Member Functions inherited from GClasses::GRayTraceLight
 GRayTraceLight (G3DReal r, G3DReal g, G3DReal b)
 
 GRayTraceLight (GDomNode *pNode)
 
virtual ~GRayTraceLight ()
 

Protected Attributes

G3DReal m_jitter
 
G3DVector m_position
 
- Protected Attributes inherited from GClasses::GRayTraceLight
GRayTraceColor m_color
 

Additional Inherited Members

- Public Types inherited from GClasses::GRayTraceLight
- Static Public Member Functions inherited from GClasses::GRayTraceLight
static GRayTraceLightdeserialize (GDomNode *pNode, GRayTraceScene *pScene)
 
- Protected Member Functions inherited from GClasses::GRayTraceLight
GDomNodebaseDomNode (GDom *pDoc) const
 

Constructor & Destructor Documentation

GClasses::GRayTracePointLight::GRayTracePointLight ( G3DReal  x,
G3DReal  y,
G3DReal  z,
G3DReal  r,
G3DReal  g,
G3DReal  b,
G3DReal  jitter 
)
GClasses::GRayTracePointLight::GRayTracePointLight ( GDomNode pNode)
virtual GClasses::GRayTracePointLight::~GRayTracePointLight ( )
virtual

Member Function Documentation

virtual void GClasses::GRayTracePointLight::colorContribution ( GRayTraceScene pScene,
GRayTraceRay *  pRay,
GRayTraceMaterial pMaterial,
bool  bSpecular 
)
virtual
virtual LightType GClasses::GRayTracePointLight::lightType ( ) const
inlinevirtual
virtual GDomNode* GClasses::GRayTracePointLight::serialize ( GDom pDoc,
const GRayTraceScene pScene 
) const
virtual

Member Data Documentation

G3DReal GClasses::GRayTracePointLight::m_jitter
protected
G3DVector GClasses::GRayTracePointLight::m_position
protected