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