#include <LightSampler.h>
Public Member Functions | |
LightSampler () | |
virtual | ~LightSampler () |
virtual void | sample (const Point3D &p, const Vec3D &no, std::vector< LightSample > &samples, const int &maxSamples, Scene *scene)=0 |
Definition at line 14 of file LightSampler.h.
rcrt::LightSampler::LightSampler | ( | ) |
Definition at line 6 of file LightSampler.cpp.
rcrt::LightSampler::~LightSampler | ( | ) | [virtual] |
Definition at line 10 of file LightSampler.cpp.
virtual void rcrt::LightSampler::sample | ( | const Point3D & | p, | |
const Vec3D & | no, | |||
std::vector< LightSample > & | samples, | |||
const int & | maxSamples, | |||
Scene * | scene | |||
) | [pure virtual] |
Implemented in rcrt::AreaLightSampler.
Referenced by rcrt::SimpleTracer::directLight(), rcrt::PhotonTracer::directLight(), and rcrt::RayCaster::trace().