31 #ifndef INCLUDE_ARTICULATION_HILLCLIMBINGTASK_H_ 32 #define INCLUDE_ARTICULATION_HILLCLIMBINGTASK_H_ 34 #include <gpu_coverage/AbstractRenderer.h> 35 #include <gpu_coverage/AbstractTask.h> 36 #include <gpu_coverage/Scene.h> 37 #include <gpu_coverage/RobotSceneConfiguration.h> 40 #define WRITE_VISUALIZATION_DATA true 44 class VisibilityRenderer;
45 class CostMapRenderer;
46 class BellmanFordXfbRenderer;
48 class PanoEvalRenderer;
57 static void allocateSharedData();
58 static void freeSharedData();
62 const size_t numIterations, numArticulations;
69 #ifdef WRITE_VISUALIZATION_DATA 75 std::vector<GLuint> targetTextures;
76 std::vector<std::string> targetNames;
79 glm::mat4x4 cameraTransform;
83 : frame(0), count(0) {
Renderer for rendering a 3D scene using textures and materials.
Definition: Renderer.h:44
Abstract superclass for parallel tasks.
Definition: AbstractTask.h:59
Definition: PanoRenderer.h:43
Definition: HillclimbingTask.h:78
SharedData *const sharedData
Task synchronization objects.
Definition: AbstractTask.h:105
Definition: HillclimbingTask.h:87
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
const size_t threadNr
Thread number.
Definition: AbstractTask.h:103
Texture object.
Definition: Texture.h:46
Definition: AbstractCamera.h:41
Represents a combined configuration of the robot and the articulation objects.
Definition: RobotSceneConfiguration.h:45
Definition: PanoEvalRenderer.h:42
Definition: HillclimbingTask.h:51
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