MobileRT  1.0
A multi platform C++ CPU progressive Ray Tracer.
Stratified.hpp
Go to the documentation of this file.
1 #ifndef COMPONENTS_SAMPLERS_STRATIFIED_HPP
2 #define COMPONENTS_SAMPLERS_STRATIFIED_HPP
3 
4 #include "MobileRT/Sampler.hpp"
5 
6 namespace Components {
7 
13  class Stratified final : public ::MobileRT::Sampler {
14  public:
15  explicit Stratified() = default;
16 
17  explicit Stratified(::std::uint32_t width, ::std::uint32_t height, ::std::uint32_t samples);
18 
19  Stratified(const Stratified &stratified) = delete;
20 
21  Stratified(Stratified &&stratified) noexcept = delete;
22 
23  ~Stratified() final = default;
24 
25  Stratified &operator=(const Stratified &stratified) = delete;
26 
27  Stratified &operator=(Stratified &&stratified) noexcept = delete;
28 
29  float getSample(::std::uint32_t sample) final;
30  };
31 }//namespace Components
32 
33 #endif //COMPONENTS_SAMPLERS_STRATIFIED_HPP
Definition: Orthographic.hpp:6
~Stratified() final=default
Definition: Sampler.hpp:13
float getSample()
Definition: Sampler.cpp:44
Stratified & operator=(const Stratified &stratified)=delete
Definition: Stratified.hpp:13