#include <sampling.h>
Public Member Functions | |
| Sample (SurfaceIntegrator *surf, VolumeIntegrator *vol, const Scene *scene) | |
| u_int | Add1D (u_int num) |
| u_int | Add2D (u_int num) |
| ~Sample () | |
Public Attributes | |
| float | imageX |
| float | imageY |
| float | lensU |
| float | lensV |
| float | time |
| vector< u_int > | n1D |
| vector< u_int > | n2D |
| float ** | oneD |
| float ** | twoD |
Definition at line 48 of file sampling.h.
| Sample::Sample | ( | SurfaceIntegrator * | surf, | |
| VolumeIntegrator * | vol, | |||
| const Scene * | scene | |||
| ) |
Definition at line 41 of file sampling.cpp.
References AllocAligned(), n1D, n2D, oneD, Integrator::RequestSamples(), and twoD.
| Sample::~Sample | ( | ) | [inline] |
Definition at line 52 of file sampling.h.
References n1D.
Referenced by SingleScattering::RequestSamples(), PhotonIntegrator::RequestSamples(), PathIntegrator::RequestSamples(), IrradianceCache::RequestSamples(), IGIIntegrator::RequestSamples(), ExPhotonIntegrator::RequestSamples(), EmissionIntegrator::RequestSamples(), DirectLighting::RequestSamples(), and BidirIntegrator::RequestSamples().
Definition at line 56 of file sampling.h.
References n2D.
Referenced by PhotonIntegrator::RequestSamples(), PathIntegrator::RequestSamples(), IrradianceCache::RequestSamples(), IGIIntegrator::RequestSamples(), ExPhotonIntegrator::RequestSamples(), DirectLighting::RequestSamples(), and BidirIntegrator::RequestSamples().
| float Sample::imageX |
Definition at line 67 of file sampling.h.
Referenced by ImageFilm::AddSample(), PerspectiveCamera::GenerateRay(), OrthoCamera::GenerateRay(), EnvironmentCamera::GenerateRay(), StratifiedSampler::GetNextSample(), RandomSampler::GetNextSample(), LDSampler::GetNextSample(), BestCandidateSampler::GetNextSample(), and Scene::Render().
| float Sample::imageY |
Definition at line 67 of file sampling.h.
Referenced by ImageFilm::AddSample(), PerspectiveCamera::GenerateRay(), OrthoCamera::GenerateRay(), EnvironmentCamera::GenerateRay(), StratifiedSampler::GetNextSample(), RandomSampler::GetNextSample(), LDSampler::GetNextSample(), BestCandidateSampler::GetNextSample(), and Scene::Render().
| float Sample::lensU |
Definition at line 68 of file sampling.h.
Referenced by PerspectiveCamera::GenerateRay(), OrthoCamera::GenerateRay(), StratifiedSampler::GetNextSample(), RandomSampler::GetNextSample(), LDSampler::GetNextSample(), and BestCandidateSampler::GetNextSample().
| float Sample::lensV |
Definition at line 68 of file sampling.h.
Referenced by PerspectiveCamera::GenerateRay(), OrthoCamera::GenerateRay(), StratifiedSampler::GetNextSample(), RandomSampler::GetNextSample(), LDSampler::GetNextSample(), and BestCandidateSampler::GetNextSample().
| float Sample::time |
Definition at line 69 of file sampling.h.
Referenced by PerspectiveCamera::GenerateRay(), OrthoCamera::GenerateRay(), EnvironmentCamera::GenerateRay(), StratifiedSampler::GetNextSample(), RandomSampler::GetNextSample(), LDSampler::GetNextSample(), and BestCandidateSampler::GetNextSample().
| vector<u_int> Sample::n1D |
Definition at line 71 of file sampling.h.
Referenced by Add1D(), StratifiedSampler::GetNextSample(), RandomSampler::GetNextSample(), LDSampler::GetNextSample(), BestCandidateSampler::GetNextSample(), and Sample().
| vector<u_int> Sample::n2D |
Definition at line 71 of file sampling.h.
Referenced by Add2D(), StratifiedSampler::GetNextSample(), RandomSampler::GetNextSample(), LDSampler::GetNextSample(), BestCandidateSampler::GetNextSample(), Sample(), and UniformSampleAllLights().
| float** Sample::oneD |
Definition at line 72 of file sampling.h.
Referenced by EstimateDirect(), BidirIntegrator::generatePath(), StratifiedSampler::GetNextSample(), RandomSampler::GetNextSample(), LDSampler::GetNextSample(), BestCandidateSampler::GetNextSample(), SingleScattering::Li(), PhotonIntegrator::Li(), PathIntegrator::Li(), IGIIntegrator::Li(), ExPhotonIntegrator::Li(), EmissionIntegrator::Li(), BidirIntegrator::Li(), Sample(), SingleScattering::Transmittance(), EmissionIntegrator::Transmittance(), UniformSampleOneLight(), WeightedSampleOneLight(), and ~Sample().
| float ** Sample::twoD |
Definition at line 72 of file sampling.h.
Referenced by EstimateDirect(), BidirIntegrator::generatePath(), StratifiedSampler::GetNextSample(), RandomSampler::GetNextSample(), LDSampler::GetNextSample(), BestCandidateSampler::GetNextSample(), PhotonIntegrator::Li(), PathIntegrator::Li(), ExPhotonIntegrator::Li(), BidirIntegrator::Li(), and Sample().
1.5.6