Photon Engine 2.0.0-beta
A physically based renderer.
|
#include <ReceiverSamplingWork.h>
Public Member Functions | |
ReceiverSamplingWork () | |
ReceiverSamplingWork (const Receiver *receiver) | |
ReceiverSamplingWork (ReceiverSamplingWork &&other) noexcept | |
SamplingStatistics | asyncGetStatistics () const |
void | setSampleGenerator (std::unique_ptr< SampleGenerator > sampleGenerator) |
void | setSampleDimensions (const math::TVector2< int64 > &rasterActualResPx, const math::TAABB2D< float64 > &rasterSampleWindowPx, const math::TVector2< int64 > &sampleRes) |
void | addProcessor (IReceivedRayProcessor *processor) |
void | onWorkStart (std::function< void()> func) |
void | onWorkReport (std::function< void()> func) |
void | onWorkFinish (std::function< void()> func) |
ReceiverSamplingWork & | operator= (ReceiverSamplingWork &&other) noexcept |
Public Member Functions inherited from ph::RenderWork | |
RenderWork () | |
RenderWork (const RenderWork &other) | |
virtual | ~RenderWork () |
void | work () |
RenderProgress | asyncGetProgress () const |
Additional Inherited Members | |
Protected Member Functions inherited from ph::RenderWork | |
void | setTotalWork (std::size_t totalWork) |
void | setWorkDone (std::size_t workDone) |
void | incrementWorkDone () |
void | setElapsedMs (std::size_t elapsedMs) |
RenderWork & | operator= (const RenderWork &rhs) |
ph::ReceiverSamplingWork::ReceiverSamplingWork | ( | ) |
|
explicit |
|
noexcept |
void ph::ReceiverSamplingWork::addProcessor | ( | IReceivedRayProcessor * | processor | ) |
SamplingStatistics ph::ReceiverSamplingWork::asyncGetStatistics | ( | ) | const |
void ph::ReceiverSamplingWork::onWorkFinish | ( | std::function< void()> | func | ) |
void ph::ReceiverSamplingWork::onWorkReport | ( | std::function< void()> | func | ) |
void ph::ReceiverSamplingWork::onWorkStart | ( | std::function< void()> | func | ) |
|
noexcept |
void ph::ReceiverSamplingWork::setSampleDimensions | ( | const math::TVector2< int64 > & | rasterActualResPx, |
const math::TAABB2D< float64 > & | rasterSampleWindowPx, | ||
const math::TVector2< int64 > & | sampleRes ) |
void ph::ReceiverSamplingWork::setSampleGenerator | ( | std::unique_ptr< SampleGenerator > | sampleGenerator | ) |