31 #ifndef INCLUDE_ARTICULATION_BENCHMARKTASK_H_ 32 #define INCLUDE_ARTICULATION_BENCHMARKTASK_H_ 34 #include <gpu_coverage/Scene.h> 35 #include <gpu_coverage/AbstractTask.h> 36 #include <gpu_coverage/AbstractRenderer.h> 37 #include <gpu_coverage/BellmanFordRenderer.h> 38 #include <gpu_coverage/BellmanFordXfbRenderer.h> 39 #include <gpu_coverage/CostMapRenderer.h> 40 #include <gpu_coverage/PanoRenderer.h> 41 #include <gpu_coverage/PanoEvalRenderer.h> 42 #include <gpu_coverage/VisibilityRenderer.h> 52 static void allocateSharedData();
53 static void freeSharedData();
67 const size_t maxIterations;
76 std::vector<glm::vec3> targetPoints;
80 void benchmark(
const char *
const name,
AbstractRenderer *
const renderer, PrepareFn prepare = NULL);
82 void prepareCostmap();
83 void prepareBellmanFord();
84 void prepareVisibility();
86 void preparePanoEval();
Abstract superclass for parallel tasks.
Definition: AbstractTask.h:59
Definition: PanoRenderer.h:43
Definition: BenchmarkTask.h:69
SharedData *const sharedData
Task synchronization objects.
Definition: AbstractTask.h:105
Shared data for parallel tasks.
Definition: AbstractTask.h:43
Definition: BellmanFordXfbRenderer.h:40
Scene graph corresponding to Assimp's aiScene.
Definition: Scene.h:59
Scene graph node, corresponding to Assimp's aiNode.
Definition: Node.h:52
Definition: BenchmarkTask.h:47
const size_t threadNr
Thread number.
Definition: AbstractTask.h:103
Definition: BellmanFordRenderer.h:40
Abstract superclass for all renderers.
Definition: AbstractRenderer.h:45
Definition: AbstractCamera.h:41
Definition: PanoEvalRenderer.h:42
Definition: CostMapRenderer.h:40
virtual void run()
Method doing the main work of the task.
Determines regions visible from a given camera pose and marks the regions as observed on the texture...
Definition: VisibilityRenderer.h:45