31 #ifndef INCLUDE_ARTICULATION_PanoEvalRenderer_H_ 32 #define INCLUDE_ARTICULATION_PanoEvalRenderer_H_ 34 #include <gpu_coverage/Programs.h> 35 #include <gpu_coverage/AbstractRenderer.h> 36 #include <gpu_coverage/BellmanFordRenderer.h> 37 #include <gpu_coverage/PanoRenderer.h> 49 return textures[EVAL];
57 inline const GLuint& getUtilityMap()
const {
58 return textures[curUtilityMap];
60 inline const GLuint& getUtilityMapVisual()
const {
61 return textures[UTILITY_MAP_VISUAL];
64 inline void setBenchmark() {
72 const bool renderToWindow;
73 const bool renderToTexture;
93 const size_t maxIterations;
99 GLuint bellmanFordTexture;
100 GLuint bellmanFordWidth;
101 GLuint bellmanFordHeight;
113 } textureToVisualize, curUtilityMap;
120 typedef std::pair<PanoEdge, PanoEdge> PanoEdgePair;
121 typedef std::list<PanoEdgePair> PanoEdgePairs;
122 PanoEdgePairs panoEdgePairs;
125 Node * projectionPlaneNode;
127 bool link(
const GLuint program,
const char *
const name)
const;
Definition: Programs.h:422
Definition: PanoRenderer.h:43
Definition: Programs.h:436
Definition: Programs.h:504
Definition: Programs.h:169
const int & getTextureHeight() const
Height of the result texture.
Definition: PanoEvalRenderer.h:54
Scene graph corresponding to Assimp's aiScene.
Definition: Scene.h:59
Scene graph node, corresponding to Assimp's aiNode.
Definition: Node.h:52
Definition: Programs.h:408
Definition: PanoEvalRenderer.h:115
const int & getTextureWidth() const
Width of the result texture.
Definition: PanoEvalRenderer.h:51
Definition: Programs.h:491
const Scene *const scene
Pointer to the scene to be rendered.
Definition: AbstractRenderer.h:101
Abstract superclass for all renderers.
Definition: AbstractRenderer.h:45
Definition: AbstractCamera.h:41
const std::string name
Name of the renderer, see getName().
Definition: AbstractRenderer.h:102
Definition: Programs.h:378
const GLuint & getTexture() const
Returns the OpenGL texture ID of the result texture.
Definition: PanoEvalRenderer.h:48
Definition: PanoEvalRenderer.h:42
Omnidirectional panorama camera.
Definition: CameraPanorama.h:44
virtual void display()
Renders the scene.
Definition: Programs.h:402