|
GPU-Accelerated Coverage
0.1.0
Compute coverage tours for known environment with articulated objects on GPU
|

Public Member Functions | |
| BellmanFordRenderer (const Scene *const scene, const CostMapRenderer *const costmapRenderer, const bool renderToWindow, const bool visual) | |
| virtual void | display () |
| Renders the scene. More... | |
| const GLuint & | getTexture () const |
| Returns the OpenGL texture ID of the result texture. More... | |
| const GLuint & | getVisualTexture () const |
| const int & | getTextureWidth () const |
| Width of the result texture. More... | |
| const int & | getTextureHeight () const |
| Height of the result texture. More... | |
| void | setRobotPosition (const glm::mat4x4 &worldTransform) |
Public Member Functions inherited from gpu_coverage::AbstractRenderer | |
| AbstractRenderer (const Scene *const scene, const std::string &name) | |
| Constructor. More... | |
| virtual | ~AbstractRenderer () |
| Destructor. | |
| const bool & | isReady () const |
| Returns true if the renderer has been initialized correctly. More... | |
| const std::string & | getName () const |
| Returns the name of the renderer for logging purposes. More... | |
Protected Types | |
| enum | TextureRole { SWAP1 = 0, SWAP2 = 1, COUNTER = 2, OUTPUT = 3, VISUAL = 4 } |
Protected Attributes | |
| const CostMapRenderer *const | costmapRenderer |
| const bool | renderToWindow |
| const bool | renderVisual |
| ProgramBellmanFordInit | progInit |
| ProgramBellmanFordStep | progStep |
| ProgramCounterToFB | progCounterToFB |
| ProgramShowTexture * | progShowTexture |
| ProgramVisualizeIntTexture * | progVisualizeIntTexture |
| const int | width |
| const int | height |
| const size_t | maxIterations |
| GLuint | framebuffer |
| GLuint | textures [5] |
| GLuint | vao |
| GLuint | vbo |
| GLuint | counterBuffer |
| GLuint | pbo [4] |
| const size_t | numPbo |
| Dot | robotSeedDot |
| glm::mat4x4 | robotWorldTransform |
| glm::vec4 | clearColor |
Protected Attributes inherited from gpu_coverage::AbstractRenderer | |
| const Scene *const | scene |
| Pointer to the scene to be rendered. | |
| const std::string | name |
| Name of the renderer, see getName(). | |
| bool | ready |
| Set to true when renderer is ready, see isReady(). | |
|
virtual |
Renders the scene.
This method does the main work of the renderer.
Implements gpu_coverage::AbstractRenderer.
|
inlinevirtual |
Returns the OpenGL texture ID of the result texture.
Implements gpu_coverage::AbstractRenderer.
|
inlinevirtual |
|
inlinevirtual |
1.8.11