7#include <Common/assertion.h>
8#include <Common/primitive_type.h>
53 std::shared_ptr<TTexture<math::Spectrum>> m_filter;
Information for the probability of generating a specific sample for direct energy estimation.
Definition DirectEnergyPdfQuery.h:81
Information for generating a sample for direct energy estimation.
Definition DirectEnergySampleQuery.h:89
An electromagnetic energy emitting source. The emitted energy can be captured by a Receiver.
Definition Emitter.h:68
Information for generating a sample for energy emission.
Definition EnergyEmissionSampleQuery.h:63
Lightweight ray intersection testing and reporting object. If an intersection is found,...
Definition HitProbe.h:27
Definition OmniModulatedEmitter.h:16
void calcDirectPdf(DirectEnergyPdfQuery &query) const override
Calculate the PDF of direct lighting for a target position.
Definition OmniModulatedEmitter.cpp:82
real calcRadiantFluxApprox() const override
Definition OmniModulatedEmitter.cpp:126
void emitRay(EnergyEmissionSampleQuery &query, SampleFlow &sampleFlow, HitProbe &probe) const override
Emit a ray that carries some amount of energy from this emitter.
Definition OmniModulatedEmitter.cpp:94
void genDirectSample(DirectEnergySampleQuery &query, SampleFlow &sampleFlow, HitProbe &probe) const override
Sample direct lighting for a target position.
Definition OmniModulatedEmitter.cpp:54
void setFilter(const std::shared_ptr< TTexture< math::Spectrum > > &filter)
Definition OmniModulatedEmitter.cpp:120
void evalEmittedEnergy(const SurfaceHit &Xe, math::Spectrum *out_energy) const override
Evaluate emitted energy from a point on the surface.
Definition OmniModulatedEmitter.cpp:33
OmniModulatedEmitter(const Emitter *source)
Given a source, construct its modulated version. Feature set is inherited from source....
Definition OmniModulatedEmitter.cpp:13
const Emitter & getSource() const
Definition OmniModulatedEmitter.h:57
A sample with arbitrary dimensions with fine-grained sampling control.
Definition SampleFlow.h:19
Definition SphericalMapper.h:11
General information about a ray-surface intersection event.
Definition SurfaceHit.h:59
Manipulate a value type where each bit is a binary flag.
Definition TBitFlags.h:17
Definition TTristimulusSpectrum.h:11
The root for all renderer implementations.
Definition EEngineProject.h:6