SyB3R - Synthetic Benchmark for 3D Reconstruction
ScriptGenerator.h
1 #ifndef _SYNTHBENCH_SCRIPTGENERATOR_H_
2 #define _SYNTHBENCH_SCRIPTGENERATOR_H_
3 
4 #include <ostream>
5 #include <string>
6 #include <vector>
7 
8 namespace syb3r {
9 namespace synthesis {
10 
12 {
13  public:
14  bool preview = false;
15 
16  enum ComputeDevice {
17  COMPUTEDEVICE_GPU,
18  COMPUTEDEVICE_CPU
19  };
20  ComputeDevice computeDevice = COMPUTEDEVICE_GPU;
21 
22  std::string outputDir = "/tmp/Syb3rScene/";
23  std::string preRenderHook = "def preRenderHook(scene, type):\n return\n\n";
24 
25  std::vector<std::string> cameras;
26 
27  bool renderHDR = true;
28  bool renderAttribs = true;
29 
30  void generate(std::ostream &stream);
31  protected:
32 };
33 
34 
35 }
36 }
37 
38 #endif // _SYNTHBENCH_SCRIPTGENERATOR_H_
Definition: CameraPathEvaluation.cpp:10
Definition: ScriptGenerator.h:11