|
MobileRT
1.0
A multi platform C++ CPU progressive Ray Tracer.
|
#include <Stratified.hpp>


Public Member Functions | |
| Stratified ()=default | |
| Stratified (::std::uint32_t width, ::std::uint32_t height, ::std::uint32_t samples) | |
| Stratified (const Stratified &stratified)=delete | |
| Stratified (Stratified &&stratified) noexcept=delete | |
| ~Stratified () final=default | |
| Stratified & | operator= (const Stratified &stratified)=delete |
| Stratified & | operator= (Stratified &&stratified) noexcept=delete |
| float | getSample (::std::uint32_t sample) final |
Public Member Functions inherited from MobileRT::Sampler | |
| 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 | |
Public Attributes inherited from MobileRT::Sampler | |
| ::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()} |
Protected Member Functions inherited from MobileRT::Sampler | |
| template<const ::std::size_t S> | |
| float | getSampleFromArray (const ::std::array< float, S > &values) |
This sampler returns an arbitrary sequence that picks the middle of the sequence first.
This is useful to choose the pixels to render first.
|
explicitdefault |
|
explicit |
|
delete |
|
deletenoexcept |
|
finaldefault |
|
finalvirtual |
Calculates a new sample.
| sample | The index of the desired sample. |
Implements MobileRT::Sampler.
|
delete |
|
deletenoexcept |