Public Member Functions | Private Attributes
GraphDrawable Class Reference

#include <graph_drawable.h>

List of all members.

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_

Detailed Description

Definition at line 42 of file graph_drawable.h.


Constructor & Destructor Documentation

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.

Definition at line 105 of file graph_drawable.cpp.


Member Function Documentation

void GraphDrawable::Render ( const glm::mat4 projectionMatrix,
const glm::mat4 viewMatrix 
)

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.

void GraphDrawable::setVisible ( bool  visible) [inline]

Definition at line 51 of file graph_drawable.h.


Member Data Documentation

float GraphDrawable::lineWidth_ [private]

Definition at line 62 of file graph_drawable.h.

std::vector<GLushort> GraphDrawable::loopClosureIndices_ [private]

Definition at line 59 of file graph_drawable.h.

std::vector<GLushort> GraphDrawable::neighborIndices_ [private]

Definition at line 58 of file graph_drawable.h.

Definition at line 60 of file graph_drawable.h.

Definition at line 64 of file graph_drawable.h.

Definition at line 57 of file graph_drawable.h.

bool GraphDrawable::visible_ [private]

Definition at line 61 of file graph_drawable.h.


The documentation for this class was generated from the following files:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Sat Jul 23 2016 11:44:31