Public Member Functions | Private Member Functions | Private Attributes
qglv::Path Class Reference

#include <path.hpp>

List of all members.

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

Detailed Description

Draws arrows aligned with each accumulated pose frame.

Definition at line 40 of file path.hpp.


Constructor & Destructor Documentation

qglv::Path::Path ( const Colour colour = Magenta,
const float &  arrow_radius = 0.01,
const float &  default_length = 0.3 
)

Definition at line 22 of file path.cpp.

Definition at line 31 of file path.cpp.


Member Function Documentation

void qglv::Path::_glGenLists ( ) [private]

Definition at line 46 of file path.cpp.

void qglv::Path::add ( const Sophus::SE3f &  pose)

Definition at line 37 of file path.cpp.

void qglv::Path::add ( const Sophus::SE3f &  pose,
const float &  length 
)

Definition at line 41 of file path.cpp.

void qglv::Path::draw ( )

Definition at line 61 of file path.cpp.


Member Data Documentation

float qglv::Path::arrow_radius [private]

Definition at line 54 of file path.hpp.

Definition at line 55 of file path.hpp.

std::vector<std::pair<Sophus::SE3f, float> > qglv::Path::data [private]

Definition at line 57 of file path.hpp.

float qglv::Path::default_length [private]

Definition at line 54 of file path.hpp.

int qglv::Path::gl_id [private]

Definition at line 52 of file path.hpp.

Definition at line 53 of file path.hpp.


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


qglv_opengl
Author(s): Daniel Stonier
autogenerated on Sat Jun 18 2016 08:19:28