#include <graph_drawable.h>
Public Member Functions | |
GraphDrawable (GLuint shaderProgram, const std::map< int, rtabmap::Transform > &poses, const std::multimap< int, rtabmap::Link > &links) | |
void | Render (const glm::mat4 &projectionMatrix, const glm::mat4 &viewMatrix) |
void | setPose (const rtabmap::Transform &mapToOdom) |
void | setVisible (bool visible) |
virtual | ~GraphDrawable () |
Private Attributes | |
float | lineWidth_ |
std::vector< GLushort > | loopClosureIndices_ |
std::vector< GLushort > | neighborIndices_ |
glm::mat4 | pose_ |
GLuint | shader_program_ |
GLuint | vertex_buffers_ |
bool | visible_ |
Definition at line 43 of file graph_drawable.h.
GraphDrawable::GraphDrawable | ( | GLuint | shaderProgram, |
const std::map< int, rtabmap::Transform > & | poses, | ||
const std::multimap< int, rtabmap::Link > & | links | ||
) |
Definition at line 40 of file graph_drawable.cpp.
|
virtual |
Definition at line 109 of file graph_drawable.cpp.
Definition at line 127 of file graph_drawable.cpp.
void GraphDrawable::setPose | ( | const rtabmap::Transform & | mapToOdom | ) |
Definition at line 120 of file graph_drawable.cpp.
|
inline |
Definition at line 52 of file graph_drawable.h.
|
private |
Definition at line 63 of file graph_drawable.h.
|
private |
Definition at line 60 of file graph_drawable.h.
|
private |
Definition at line 59 of file graph_drawable.h.
|
private |
Definition at line 61 of file graph_drawable.h.
|
private |
Definition at line 65 of file graph_drawable.h.
|
private |
Definition at line 58 of file graph_drawable.h.
|
private |
Definition at line 62 of file graph_drawable.h.