9#include <Common/assertion.h>
10#include <Common/primitive_type.h>
51 operator bool ()
const;
100 m_emittedRay = emittedRay;
105 m_emittedEnergy = emittedEnergy;
141 return m_emittedEnergy;
144inline EnergyEmissionSampleOutput::operator bool ()
const
146 return m_pdfPos && m_pdfDir;
Output for EnergyEmissionSampleQuery.
Definition EnergyEmissionSampleQuery.h:34
const math::Spectrum & getEmittedEnergy() const
Definition EnergyEmissionSampleQuery.h:138
const lta::PDF & getPdfDir() const
Definition EnergyEmissionSampleQuery.h:126
const lta::PDF & getPdfPos() const
Definition EnergyEmissionSampleQuery.h:120
real getPdfA() const
Definition EnergyEmissionSampleQuery.h:108
void setEmittedEnergy(const math::Spectrum &emittedEnergy)
Definition EnergyEmissionSampleQuery.h:103
void setEmittedRay(const Ray &emittedRay)
Definition EnergyEmissionSampleQuery.h:98
real getPdfW() const
Definition EnergyEmissionSampleQuery.h:114
const Ray & getEmittedRay() const
Definition EnergyEmissionSampleQuery.h:132
void setPdf(const lta::PDF &pdfPos, const lta::PDF &pdfDir)
Definition EnergyEmissionSampleQuery.h:92
Information for generating a sample for energy emission.
Definition EnergyEmissionSampleQuery.h:63
EnergyEmissionSampleQuery()=default
Output outputs
Definition EnergyEmissionSampleQuery.h:69
Input inputs
Definition EnergyEmissionSampleQuery.h:68
Represents a ray in space.
Definition Ray.h:21
A sample from a Probability Density Function (PDF).
Definition PDF.h:14
real getPdfW() const
Definition PDF.h:87
real getPdfA() const
Definition PDF.h:93
Definition TTristimulusSpectrum.h:11
The root for all renderer implementations.
Definition EEngineProject.h:6