#include <path.hpp>
Public Member Functions | |
void | add (const Sophus::SE3f &pose) |
void | add (const Sophus::SE3f &pose, const float &length) |
void | draw () |
Path (const Colour &colour=Magenta, const float &arrow_radius=0.01, const float &default_length=0.3) | |
~Path () | |
Private Member Functions | |
void | _glGenLists () |
Private Attributes | |
float | arrow_radius |
Colour | colour |
std::vector< std::pair < Sophus::SE3f, float > > | data |
float | default_length |
int | gl_id |
bool | need_to_rebuild_gl_list |
Draws arrows aligned with each accumulated pose frame.
qglv::Path::Path | ( | const Colour & | colour = Magenta , |
const float & | arrow_radius = 0.01 , |
||
const float & | default_length = 0.3 |
||
) |
void qglv::Path::_glGenLists | ( | ) | [private] |
void qglv::Path::add | ( | const Sophus::SE3f & | pose | ) |
void qglv::Path::add | ( | const Sophus::SE3f & | pose, |
const float & | length | ||
) |
void qglv::Path::draw | ( | ) |
float qglv::Path::arrow_radius [private] |
Colour qglv::Path::colour [private] |
std::vector<std::pair<Sophus::SE3f, float> > qglv::Path::data [private] |
float qglv::Path::default_length [private] |
int qglv::Path::gl_id [private] |
bool qglv::Path::need_to_rebuild_gl_list [private] |