7#include <Common/assertion.h>
8#include <Common/primitive_type.h>
10namespace ph::math {
class RigidTransform; }
62 PH_ASSERT(m_receiverToWorld);
64 return *m_receiverToWorld;
Represents a ray in space.
Definition Ray.h:21
A target that can receive any physical quantity, typically electromagnetic energy....
Definition Receiver.h:22
Receiver(const math::RigidTransform *receiverToWorld)
Definition Receiver.cpp:14
const math::RigidTransform & getReceiverToWorld() const
Definition Receiver.h:60
virtual math::Spectrum receiveRay(const math::Vector2D &rasterCoord, Ray *out_ray) const =0
Generate a ray received by the receiver.
virtual ~Receiver()=default
virtual void evalEmittedImportanceAndPdfW(const math::Vector3R &targetPos, math::Vector2R *const out_filmCoord, math::Vector3R *const out_importance, real *out_filmArea, real *const out_pdfW) const =0
Definition TTristimulusSpectrum.h:11
Math functions and utilities.
Definition TransformInfo.h:10
The root for all renderer implementations.
Definition EEngineProject.h:6