GClasses
GClasses::GRayTraceAreaLight Class Reference

Detailed Description

Represents a light source with area.

#include <GRayTrace.h>

Inheritance diagram for GClasses::GRayTraceAreaLight:
GClasses::GRayTraceLight

Public Member Functions

 GRayTraceAreaLight (GRayTraceObject *pObject, G3DReal r, G3DReal g, G3DReal b)
 
 GRayTraceAreaLight (GDomNode *pNode, GRayTraceScene *pScene)
 
virtual ~GRayTraceAreaLight ()
 
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

GRayTraceObjectm_pObject
 
- 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::GRayTraceAreaLight::GRayTraceAreaLight ( GRayTraceObject pObject,
G3DReal  r,
G3DReal  g,
G3DReal  b 
)
GClasses::GRayTraceAreaLight::GRayTraceAreaLight ( GDomNode pNode,
GRayTraceScene pScene 
)
virtual GClasses::GRayTraceAreaLight::~GRayTraceAreaLight ( )
virtual

Member Function Documentation

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

Member Data Documentation

GRayTraceObject* GClasses::GRayTraceAreaLight::m_pObject
protected