23 std::size_t attributeId,
24 std::size_t estimationIndex)
override;
28 std::string
toString()
const override;
37 const std::size_t attributeId,
38 const std::size_t estimationIndex)
47 "warning: at PartialRayEnergyEstimator::mapAttributeToEstimation(), "
48 "attempting to set estimation index for non-existent attribute ID " << attributeId << std::endl;
59 return "Partial Ray Energy Estimator";
Definition IRayEnergyEstimator.h:10
Definition Integrand.h:12
Definition PartialRayEnergyEstimator.h:12
std::size_t m_estimationIndex
Definition PartialRayEnergyEstimator.h:31
void setEstimationIndex(std::size_t index)
Definition PartialRayEnergyEstimator.h:52
void estimate(const Ray &ray, const Integrand &integrand, SampleFlow &sampleFlow, EnergyEstimation &out_estimation) const override=0
void update(const Integrand &integrand) override=0
void mapAttributeToEstimation(std::size_t attributeId, std::size_t estimationIndex) override
Definition PartialRayEnergyEstimator.h:36
std::string toString() const override
Definition PartialRayEnergyEstimator.h:57
Represents a ray in space.
Definition Ray.h:21
A sample with arbitrary dimensions with fine-grained sampling control.
Definition SampleFlow.h:19
Definition TEstimationArray.h:13
The root for all renderer implementations.
Definition EEngineProject.h:6