GPU-Accelerated Coverage
0.1.0
Compute coverage tours for known environment with articulated objects on GPU
|
Public Member Functions | |
PanoRenderer (const Scene *const scene, const bool renderToWindow, AbstractRenderer *const bellmanFordRenderer) | |
virtual void | display () |
Renders the scene. More... | |
const GLuint & | getTexture () const |
Returns the OpenGL texture ID of the result texture. More... | |
const GLuint & | getCostmapIndexTexture () const |
const int & | getTextureWidth () const |
Width of the result texture. More... | |
const int & | getTextureHeight () const |
Height of the result texture. More... | |
void | setCamera (CameraPanorama *const camera) |
![]() | |
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 { PANO, COSTMAP_INDEX } |
typedef std::list< Node * > | TargetNodes |
Protected Member Functions | |
bool | link (const GLuint program, const char *const name) const |
Protected Attributes | |
const bool | renderToWindow |
const bool | renderSemantic |
CameraPanorama * | camera |
ProgramPano * | progPano |
ProgramPanoSemantic * | progPanoSemantic |
ProgramCostmapIndex * | progCostmapIndex |
const int | cubemapWidth |
const int | cubemapHeight |
int | panoWidth |
int | panoHeight |
GLuint | framebuffer |
Config::PanoOutputValue | panoOutputFormat |
bool | renderToCubemap |
AbstractProgramMapProjection * | progMapProjection |
ProgramShowTexture | progShowTexture |
GLuint | mapProjectionVao |
GLuint | mapProjectionVbo |
GLsizei | mapProjectionCount |
const bool | debug |
GLuint | depthCubeMap |
GLuint | colorCubeMap |
GLuint | vao |
GLuint | vbo |
GLuint | textures [2] |
TargetNodes | targetNodes |
Node * | projectionPlaneNode |
Node * | floorNode |
AbstractRenderer * | bellmanFordRenderer |
![]() | |
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 |