rcrt::BIHTracer Class Reference

#include <BIHTracer.h>

Inheritance diagram for rcrt::BIHTracer:

Inheritance graph
[legend]
Collaboration diagram for rcrt::BIHTracer:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 BIHTracer (Scene *s)
virtual ~BIHTracer ()
virtual RGBColor trace (Ray &r) const


Detailed Description

Definition at line 9 of file BIHTracer.h.


Constructor & Destructor Documentation

rcrt::BIHTracer::BIHTracer ( Scene s  ) 

Definition at line 7 of file BIHTracer.cpp.

rcrt::BIHTracer::~BIHTracer (  )  [virtual]

Definition at line 11 of file BIHTracer.cpp.


Member Function Documentation

RGBColor rcrt::BIHTracer::trace ( Ray r  )  const [virtual]

Trace the given ray and return the (approximated) radiance that is coming in at the ray origin, from -ray_direction.

Parameters:
r the ray
Returns:
the radiance

Implements rcrt::TracingStrategy.

Definition at line 15 of file BIHTracer.cpp.

References rcrt::Ray::bihnodes, rcrt::RGBColor::BLACK, rcrt::Scene::intersect(), rcrt::Intersection::isValid(), and rcrt::TracingStrategy::scene.


The documentation for this class was generated from the following files:
Generated on Thu Jan 31 19:33:23 2008 for RenderingCompetitionRayTracer by  doxygen 1.5.3