#include <edges.hpp>
Public Member Functions | |
void | add (const Sophus::SE3f &T_start, const Sophus::SE3f &T_end) |
void | clear () |
DirectedEdges (const Colour &colour=Magenta, const float &radius=0.005) | |
void | draw () |
virtual | ~DirectedEdges () |
Protected Member Functions | |
virtual void | _glGenLists () |
Protected Attributes | |
const Colour | colour |
int | gl_id |
Opengl id starting point for the lists. | |
const float | radius |
std::vector< std::pair < Sophus::SE3f, Sophus::SE3f > > | transforms |
bool | updated |
Directed version of the previous edges.
Currently we don't need to update this class as I only create it on loading. In future however, we might want to handle this in a dynamic way to reuse it for the dslam runtime monitor as well.
qglv::DirectedEdges::DirectedEdges | ( | const Colour & | colour = Magenta , |
const float & | radius = 0.005 |
||
) |
qglv::DirectedEdges::~DirectedEdges | ( | ) | [virtual] |
void qglv::DirectedEdges::_glGenLists | ( | ) | [protected, virtual] |
void qglv::DirectedEdges::add | ( | const Sophus::SE3f & | T_start, |
const Sophus::SE3f & | T_end | ||
) |
void qglv::DirectedEdges::clear | ( | ) |
void qglv::DirectedEdges::draw | ( | ) |
const Colour qglv::DirectedEdges::colour [protected] |
int qglv::DirectedEdges::gl_id [protected] |
const float qglv::DirectedEdges::radius [protected] |
std::vector< std::pair<Sophus::SE3f, Sophus::SE3f> > qglv::DirectedEdges::transforms [protected] |
bool qglv::DirectedEdges::updated [protected] |