RayCaster Class Reference

Simple, non-recursive raycaster. More...

#include <RayCaster.h>

Inheritance diagram for RayCaster:

RayTracer PointSampleRenderer Renderer PropertyMap

List of all members.

Public Member Functions

virtual void init ()
 Performs any initialization which may be necessary before beginning to render the underlying scene.
Constructors
 RayCaster (RenderOutput *output=NULL, Camera *camera=NULL, Scene *scene=NULL)
virtual ~RayCaster ()

Protected Member Functions

virtual void _evaluate (const Ray &ray, SpectralSampleSet &outRadiance, PropertyMap &data)
 Evaluates the radiance propogating in the opposite direction of the given ray using some type of illumination model.

Protected Attributes

SpectralSampleSet m_ambient


Detailed Description

Simple, non-recursive raycaster.

Author:
Travis Fischer (fisch0920@gmail.com)

Matthew Jacobs (jacobs.mh@gmail.com)

Date:
Fall 2008

Definition at line 16 of file RayCaster.h.


Constructor & Destructor Documentation

RayCaster::RayCaster ( RenderOutput output = NULL,
Camera camera = NULL,
Scene scene = NULL 
) [inline]

Definition at line 21 of file RayCaster.h.

virtual RayCaster::~RayCaster (  )  [inline, virtual]

Definition at line 28 of file RayCaster.h.


Member Function Documentation

void RayCaster::init (  )  [virtual]

Performs any initialization which may be necessary before beginning to render the underlying scene.

Note:
Default implementation ensures we have a valid scene and camera and calls init on both of them respectively

Reimplemented from Renderer.

Definition at line 20 of file RayCaster.cpp.

void RayCaster::_evaluate ( const Ray ray,
SpectralSampleSet outRadiance,
PropertyMap data 
) [protected, 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'

Implements RayTracer.

Definition at line 26 of file RayCaster.cpp.


Member Data Documentation

Definition at line 40 of file RayCaster.h.


The documentation for this class was generated from the following files:

Generated on 28 Feb 2009 for Milton by doxygen 1.5.6