The spica renderer
gdpt.h
1 #ifdef _MSC_VER
2 #pragma once
3 #endif
4 
5 #ifndef _SPICA_GDPT_H_
6 #define _SPICA_GDPT_H_
7 
8 #include <memory>
9 
10 #include "core/core.hpp"
11 #include "core/common.h"
12 #include "core/integrator.h"
13 
14 namespace spica {
15 
16 class SPICA_EXPORTS GDPTIntegrator : public Integrator {
17 public:
18  GDPTIntegrator(const std::shared_ptr<Sampler> &sampler,
19  const std::string &solver = "L1");
21 
22  void render(const std::shared_ptr<const Camera> &camera,
23  const Scene &scene,
24  RenderParams &params) override;
25 
26  std::shared_ptr<Sampler> sampler_;
27  std::string solver_;
28 };
29 
30 SPICA_EXPORT_PLUGIN(GDPTIntegrator, "Gradient domain path tracing");
31 
32 } // namespace spica
33 
34 #endif // _SPICA_GDPT_H_
The integrator interface.
Definition: integrator.h:29
Definition: gdpt.h:16
Definition: renderparams.h:27
Scene provides the interface for scene graph.
Definition: scene.h:23