#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 42 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 36 of file graph_drawable.cpp.
|
virtual |
Definition at line 105 of file graph_drawable.cpp.
Definition at line 123 of file graph_drawable.cpp.
void GraphDrawable::setPose | ( | const rtabmap::Transform & | mapToOdom | ) |
Definition at line 116 of file graph_drawable.cpp.
|
inline |
Definition at line 51 of file graph_drawable.h.
|
private |
Definition at line 62 of file graph_drawable.h.
|
private |
Definition at line 59 of file graph_drawable.h.
|
private |
Definition at line 58 of file graph_drawable.h.
|
private |
Definition at line 60 of file graph_drawable.h.
|
private |
Definition at line 64 of file graph_drawable.h.
|
private |
Definition at line 57 of file graph_drawable.h.
|
private |
Definition at line 61 of file graph_drawable.h.