9#include <Common/assertion.h>
11namespace ph {
class Primitive; }
72 operator bool ()
const;
99 m_targetPos = targetPos;
160inline DirectEnergyPdfOutput::operator bool ()
const
Output for DirectEnergyPdfQuery.
Definition DirectEnergyPdfQuery.h:65
void setPdf(const lta::PDF &pdf)
Definition DirectEnergyPdfQuery.h:144
real getPdfW() const
Definition DirectEnergyPdfQuery.h:149
const lta::PDF & getPdf() const
Definition DirectEnergyPdfQuery.h:154
Information for the probability of generating a specific sample for direct energy estimation.
Definition DirectEnergyPdfQuery.h:81
Output outputs
Definition DirectEnergyPdfQuery.h:87
Input inputs
Definition DirectEnergyPdfQuery.h:86
DirectEnergyPdfQuery()=default
uint64 getFaceID() const
Get the face ID associated to the hit.
Definition HitDetail.h:153
const Primitive * getPrimitive() const
Definition HitDetail.h:163
A physical shape in the scene.
Definition Primitive.h:23
General information about a ray-surface intersection event.
Definition SurfaceHit.h:59
math::Vector3R getShadingNormal() const
Definition SurfaceHit.h:191
const HitDetail & getDetail() const
Definition SurfaceHit.h:159
math::Vector3R getPos() const
Definition SurfaceHit.h:186
A sample from a Probability Density Function (PDF).
Definition PDF.h:14
real getPdfW() const
Definition PDF.h:87
The root for all renderer implementations.
Definition EEngineProject.h:6