ReflectionModel Class Reference

#include <ReflectionModel.h>

Inheritance diagram for ReflectionModel:

GRAObject LocalReflection Radiosity RayTracing GLReflection PhongReflection PathTracing PhotonMapping PhotonTracing Caustics List of all members.

Public Member Functions

 ReflectionModel (DiffuseBRDF *db=NULL, SpecularBRDF *sb=NULL, Emittance *e=NULL)
virtual ~ReflectionModel ()
virtual void setDiffuseBRDF (DiffuseBRDF *b)
virtual void setSpecularBRDF (SpecularBRDF *b)
virtual void setEmittance (Emittance *e)
virtual void setScene (Scene *s)
virtual Color3f * illuminatePoint (PointEnv &)=0

Protected Attributes

DiffuseBRDF * _pDiffuseBRDF
SpecularBRDF * _pSpecularBRDF
Emittance * _pEmittance
Scene_pScene

Detailed Description

Definition at line 37 of file ReflectionModel.h.


Constructor & Destructor Documentation

ReflectionModel DiffuseBRDF *  db = NULL,
SpecularBRDF *  sb = NULL,
Emittance *  e = NULL
[inline]
 

Definition at line 45 of file ReflectionModel.h.

virtual ~ReflectionModel  )  [inline, virtual]
 

Definition at line 53 of file ReflectionModel.h.


Member Function Documentation

virtual Color3f* illuminatePoint PointEnv &   )  [pure virtual]
 

Implemented in GLReflection, LocalReflection, PhotonMapping, PhotonTracing, Radiosity, and RayTracing.

Referenced by RadShader::distributeEnergy(), and RTShader::illuminatePoint().

virtual void setDiffuseBRDF DiffuseBRDF *  b  )  [inline, virtual]
 

Reimplemented in PhongReflection, and RayTracing.

Definition at line 55 of file ReflectionModel.h.

Referenced by RayTracing::_check_material(), and RayTracing::setDiffuseBRDF().

virtual void setEmittance Emittance *  e  )  [inline, virtual]
 

Reimplemented in Radiosity, and RayTracing.

Definition at line 57 of file ReflectionModel.h.

Referenced by RayTracing::_check_material(), and RayTracing::setEmittance().

virtual void setScene Scene s  )  [inline, virtual]
 

Reimplemented in GLReflection, LocalReflection, PhotonMapping, Radiosity, and RayTracing.

Definition at line 58 of file ReflectionModel.h.

Referenced by Radiosity::setScene(), and RayTracing::setScene().

virtual void setSpecularBRDF SpecularBRDF *  b  )  [inline, virtual]
 

Reimplemented in PhongReflection, and RayTracing.

Definition at line 56 of file ReflectionModel.h.

Referenced by RayTracing::_check_material(), and RayTracing::setSpecularBRDF().


Member Data Documentation

DiffuseBRDF* _pDiffuseBRDF [protected]
 

Definition at line 39 of file ReflectionModel.h.

Referenced by PathTracing::_cast_secondary_rays(), RayTracing::_check_material(), PhotonMapping::_sample_diffuse(), RayTracing::illuminatePoint(), PhotonTracing::illuminatePoint(), LocalReflection::illuminatePoint(), PhongReflection::PhongReflection(), and PhongReflection::~PhongReflection().

Emittance* _pEmittance [protected]
 

Definition at line 41 of file ReflectionModel.h.

Referenced by LocalReflection::illuminatePoint().

Scene* _pScene [protected]
 

Definition at line 42 of file ReflectionModel.h.

Referenced by RayTracing::_cast_ray(), LocalReflection::_light_visible(), RayTracing::illuminatePoint(), PhotonTracing::illuminatePoint(), LocalReflection::illuminatePoint(), Radiosity::setScene(), and LocalReflection::setScene().

SpecularBRDF* _pSpecularBRDF [protected]
 

Definition at line 40 of file ReflectionModel.h.

Referenced by PathTracing::_cast_secondary_rays(), RayTracing::_check_material(), PhotonMapping::_sample_specular(), RayTracing::illuminatePoint(), PhotonTracing::illuminatePoint(), LocalReflection::illuminatePoint(), PhongReflection::PhongReflection(), and PhongReflection::~PhongReflection().


The documentation for this class was generated from the following file:
Generated on Tue Nov 21 15:11:43 2006 for gra by  doxygen 1.4.6