Public Member Functions | |
CreateRadProbeTask (int i, int nProbes[3], float t, const BBox &b, int lmax, bool id, bool ii, int nindir, ProgressReporter &p, Sample *sample, const vector< Point > &sp, const Scene *sc, const Renderer *ren, Spectrum *c) | |
void | Run () |
Private Attributes | |
int | pointNum |
int | nProbes [3] |
const BBox & | bbox |
int | lmax |
int | nIndirSamples |
float | time |
ProgressReporter & | prog |
bool | includeDirectInProbes |
bool | includeIndirectInProbes |
Sample * | origSample |
const Renderer * | renderer |
const Scene * | scene |
const vector< Point > & | surfacePoints |
Spectrum * | c_in |
Definition at line 41 of file createprobes.cpp.
CreateRadProbeTask::CreateRadProbeTask | ( | int | i, | |
int | nProbes[3], | |||
float | t, | |||
const BBox & | b, | |||
int | lmax, | |||
bool | id, | |||
bool | ii, | |||
int | nindir, | |||
ProgressReporter & | p, | |||
Sample * | sample, | |||
const vector< Point > & | sp, | |||
const Scene * | sc, | |||
const Renderer * | ren, | |||
Spectrum * | c | |||
) |
Definition at line 221 of file createprobes.cpp.
References c_in, includeDirectInProbes, includeIndirectInProbes, lmax, nIndirSamples, nProbes, origSample, pointNum, renderer, scene, and time.
void CreateRadProbeTask::Run | ( | ) | [virtual] |
Implements Task.
Definition at line 240 of file createprobes.cpp.
References arena, Assert, bbox, c_in, MemoryArena::FreeAll(), includeDirectInProbes, includeIndirectInProbes, Scene::IntersectP(), BBox::Lerp(), lmax, nIndirSamples, nProbes, origSample, pointNum, prog, RadicalInverse(), renderer, rng, scene, SHProjectIncidentDirectRadiance(), SHProjectIncidentIndirectRadiance(), SHTerms(), surfacePoints, time, and ProgressReporter::Update().
const BBox& CreateRadProbeTask::bbox [private] |
Definition at line 49 of file createprobes.cpp.
Referenced by Run().
Spectrum* CreateRadProbeTask::c_in [private] |
Definition at line 58 of file createprobes.cpp.
Referenced by CreateRadProbeTask(), and Run().
bool CreateRadProbeTask::includeDirectInProbes [private] |
Definition at line 53 of file createprobes.cpp.
Referenced by CreateRadProbeTask(), and Run().
bool CreateRadProbeTask::includeIndirectInProbes [private] |
Definition at line 53 of file createprobes.cpp.
Referenced by CreateRadProbeTask(), and Run().
int CreateRadProbeTask::lmax [private] |
Definition at line 50 of file createprobes.cpp.
Referenced by CreateRadProbeTask(), and Run().
int CreateRadProbeTask::nIndirSamples [private] |
Definition at line 50 of file createprobes.cpp.
Referenced by CreateRadProbeTask(), and Run().
int CreateRadProbeTask::nProbes[3] [private] |
Definition at line 48 of file createprobes.cpp.
Referenced by CreateRadProbeTask(), and Run().
Sample* CreateRadProbeTask::origSample [private] |
Definition at line 54 of file createprobes.cpp.
Referenced by CreateRadProbeTask(), and Run().
int CreateRadProbeTask::pointNum [private] |
Definition at line 48 of file createprobes.cpp.
Referenced by CreateRadProbeTask(), and Run().
ProgressReporter& CreateRadProbeTask::prog [private] |
Definition at line 52 of file createprobes.cpp.
Referenced by Run().
const Renderer* CreateRadProbeTask::renderer [private] |
Definition at line 55 of file createprobes.cpp.
Referenced by CreateRadProbeTask(), and Run().
const Scene* CreateRadProbeTask::scene [private] |
Definition at line 56 of file createprobes.cpp.
Referenced by CreateRadProbeTask(), and Run().
const vector<Point>& CreateRadProbeTask::surfacePoints [private] |
Definition at line 57 of file createprobes.cpp.
Referenced by Run().
float CreateRadProbeTask::time [private] |
Definition at line 51 of file createprobes.cpp.
Referenced by CreateRadProbeTask(), and Run().