MobileRT
1.0
A multi platform C++ CPU progressive Ray Tracer.
|
#include <StaticHaltonSeq.hpp>
Public Member Functions | |
StaticHaltonSeq () | |
StaticHaltonSeq (::std::uint32_t width, ::std::uint32_t height, ::std::uint32_t samples) | |
StaticHaltonSeq (const StaticHaltonSeq &random)=delete | |
StaticHaltonSeq (StaticHaltonSeq &&random) noexcept=delete | |
~StaticHaltonSeq () final=default | |
StaticHaltonSeq & | operator= (const StaticHaltonSeq &random)=delete |
StaticHaltonSeq & | operator= (StaticHaltonSeq &&random) noexcept=delete |
float | getSample (::std::uint32_t sample) final |
![]() | |
Sampler ()=default | |
Sampler (::std::uint32_t width, ::std::uint32_t height, ::std::uint32_t samples) | |
Sampler (const Sampler &sampler)=delete | |
Sampler (Sampler &&sampler) noexcept=delete | |
virtual | ~Sampler () |
Sampler & | operator= (const Sampler &sampler)=delete |
Sampler & | operator= (Sampler &&sampler) noexcept=delete |
void | resetSampling () |
void | stopSampling () |
float | getSample () |
Additional Inherited Members | |
![]() | |
::std::atomic<::std::uint32_t > | sample_ {} |
const ::std::uint32_t | domainSize_ {::std::numeric_limits<::std::uint32_t>::max()} |
::std::uint32_t | samples_ {::std::numeric_limits<::std::uint32_t>::max()} |
![]() | |
template<const ::std::size_t S> | |
float | getSampleFromArray (const ::std::array< float, S > &values) |
This sampler returns the Halton sequence that was pre-calculated.
|
explicit |
|
explicit |
|
delete |
|
deletenoexcept |
|
finaldefault |
|
finalvirtual |
Calculates a new sample.
sample | The index of the desired sample. |
Implements MobileRT::Sampler.
|
delete |
|
deletenoexcept |