11#include <Common/assertion.h>
21template<
typename SamplingFilmType,
typename EstimationType>
48 bool useSoftEdge =
true);
51 void mergeFilmTo(std::size_t fromIndex, SamplingFilmType& toFilm);
Definition IReceivedRayProcessor.h:15
Definition Integrand.h:12
Represents a ray in space.
Definition Ray.h:21
An image reconstruction kernel.
Definition SampleFilter.h:17
A sample with arbitrary dimensions with fine-grained sampling control.
Definition SampleFlow.h:19
Definition TEstimationArray.h:13
Definition TIRayEstimator.h:17
Definition TReceiverMeasurementEstimator.h:23
bool isSoftEdgedFilm() const
Definition TReceiverMeasurementEstimator.ipp:174
EstimationToFilmMap m_estimationToFilm
Definition TReceiverMeasurementEstimator.h:69
std::vector< SamplingFilmType > m_films
Definition TReceiverMeasurementEstimator.h:66
void process(const math::Vector2D &rasterCoord, const Ray &sensedRay, const math::Spectrum &quantityWeight, SampleFlow &sampleFlow) override
Definition TReceiverMeasurementEstimator.ipp:51
void clearFilm(std::size_t index)
Definition TReceiverMeasurementEstimator.ipp:108
void addEstimator(const Estimator *estimator)
Definition TReceiverMeasurementEstimator.ipp:74
TReceiverMeasurementEstimator & operator=(TReceiverMeasurementEstimator &&other)
Definition TReceiverMeasurementEstimator.ipp:184
void setFilmDimensions(const math::TVector2< int64 > &actualResPx, const math::TAABB2D< int64 > &effectiveWindowPx, bool useSoftEdge=true)
Definition TReceiverMeasurementEstimator.ipp:128
void addFilmEstimation(std::size_t filmIndex, std::size_t estimationIndex)
Definition TReceiverMeasurementEstimator.ipp:84
SamplingFilmDimensions getFilmDimensions() const
Definition TReceiverMeasurementEstimator.ipp:164
void clearFilms()
Definition TReceiverMeasurementEstimator.ipp:97
SampleFilter m_filter
Definition TReceiverMeasurementEstimator.h:63
std::vector< std::pair< std::size_t, std::size_t > > EstimationToFilmMap
Definition TReceiverMeasurementEstimator.h:61
TEstimationArray< EstimationType > m_estimations
Definition TReceiverMeasurementEstimator.h:64
math::TAABB2D< int64 > getFilmEffectiveWindowPx() const
Definition TReceiverMeasurementEstimator.ipp:154
TReceiverMeasurementEstimator()=default
math::Vector2D m_filmActualResFPx
Definition TReceiverMeasurementEstimator.h:65
std::size_t numEstimations() const
Definition TReceiverMeasurementEstimator.ipp:146
std::vector< const Estimator * > m_estimators
Definition TReceiverMeasurementEstimator.h:67
void mergeFilmTo(std::size_t fromIndex, SamplingFilmType &toFilm)
Definition TReceiverMeasurementEstimator.ipp:118
Integrand m_integrand
Definition TReceiverMeasurementEstimator.h:68
A 2-D Axis-Aligned Bounding Box (AABB).
Definition TAABB2D.h:26
Definition TTristimulusSpectrum.h:11
The root for all renderer implementations.
Definition EEngineProject.h:6
Definition SamplingFilmDimensions.h:12