RayTracer Class Reference
Abstract ray tracing engine, with the following concrete implementations: WhittedRayTracer, StochasticRayTracer. More...
#include <RayTracer.h>
Inheritance diagram for RayTracer:

Public Member Functions | |
Constructors | |
| RayTracer (RenderOutput *output=NULL, Camera *camera=NULL, Scene *scene=NULL) | |
| virtual | ~RayTracer () |
Main usage interface | |
| virtual void | sample (PointSample &outSample) |
| Renders a single point sample (incident radiance evaluation) at the point specified on the film plane. | |
Protected Member Functions | |
| virtual void | _evaluate (const Ray &ray, SpectralSampleSet &outRadiance, PropertyMap &data)=0 |
| Evaluates the radiance propogating in the opposite direction of the given ray using some type of illumination model. | |
Detailed Description
Abstract ray tracing engine, with the following concrete implementations: WhittedRayTracer, StochasticRayTracer.
- Date:
- Fall 2008
Definition at line 19 of file RayTracer.h.
Constructor & Destructor Documentation
| RayTracer::RayTracer | ( | RenderOutput * | output = NULL, |
|
| Camera * | camera = NULL, |
|||
| Scene * | scene = NULL | |||
| ) | [inline] |
Definition at line 24 of file RayTracer.h.
| virtual RayTracer::~RayTracer | ( | ) | [inline, virtual] |
Definition at line 30 of file RayTracer.h.
Member Function Documentation
| void RayTracer::sample | ( | PointSample & | outSample | ) | [virtual] |
Renders a single point sample (incident radiance evaluation) at the point specified on the film plane.
Implements PointSampleRenderer.
Definition at line 18 of file RayTracer.cpp.
| virtual void RayTracer::_evaluate | ( | const Ray & | ray, | |
| SpectralSampleSet & | outRadiance, | |||
| PropertyMap & | data | |||
| ) | [protected, pure virtual] |
Evaluates the radiance propogating in the opposite direction of the given ray using some type of illumination model.
- Returns:
- the spectral radiance emitted from the first surface intersected along the given ray in the opposite direction from the ray in the out param 'outRadiance'
Implemented in PathTracer, RayCaster, and WhittedRayTracer.
The documentation for this class was generated from the following files:
Generated on 28 Feb 2009 for Milton by
1.5.6