Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::ReceiverSamplingWork Class Reference

#include <ReceiverSamplingWork.h>

Inheritance diagram for ph::ReceiverSamplingWork:
ph::RenderWork ph::IMoveOnly

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)
 
ReceiverSamplingWorkoperator= (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)
 
RenderWorkoperator= (const RenderWork &rhs)
 

Constructor & Destructor Documentation

◆ ReceiverSamplingWork() [1/3]

ph::ReceiverSamplingWork::ReceiverSamplingWork ( )

◆ ReceiverSamplingWork() [2/3]

ph::ReceiverSamplingWork::ReceiverSamplingWork ( const Receiver * receiver)
explicit

◆ ReceiverSamplingWork() [3/3]

ph::ReceiverSamplingWork::ReceiverSamplingWork ( ReceiverSamplingWork && other)
noexcept

Member Function Documentation

◆ addProcessor()

void ph::ReceiverSamplingWork::addProcessor ( IReceivedRayProcessor * processor)

◆ asyncGetStatistics()

SamplingStatistics ph::ReceiverSamplingWork::asyncGetStatistics ( ) const

◆ onWorkFinish()

void ph::ReceiverSamplingWork::onWorkFinish ( std::function< void()> func)

◆ onWorkReport()

void ph::ReceiverSamplingWork::onWorkReport ( std::function< void()> func)

◆ onWorkStart()

void ph::ReceiverSamplingWork::onWorkStart ( std::function< void()> func)

◆ operator=()

ReceiverSamplingWork & ph::ReceiverSamplingWork::operator= ( ReceiverSamplingWork && other)
noexcept

◆ setSampleDimensions()

void ph::ReceiverSamplingWork::setSampleDimensions ( const math::TVector2< int64 > & rasterActualResPx,
const math::TAABB2D< float64 > & rasterSampleWindowPx,
const math::TVector2< int64 > & sampleRes )

◆ setSampleGenerator()

void ph::ReceiverSamplingWork::setSampleGenerator ( std::unique_ptr< SampleGenerator > sampleGenerator)

The documentation for this class was generated from the following files: