#include <TrajectoryDrawer.h>
Public Member Functions | |
virtual void | clear () |
virtual void | draw () const |
virtual void | setScanGraph (const octomap::ScanGraph &graph) |
TrajectoryDrawer () | |
TrajectoryDrawer (const ScanGraph &graph) | |
virtual | ~TrajectoryDrawer () |
Protected Attributes | |
GLfloat * | m_trajectoryColorArray |
unsigned int | m_trajectorySize |
number of nodes in the ScanGraph | |
GLfloat * | m_trajectoryVertexArray |
Definition at line 34 of file TrajectoryDrawer.h.
Definition at line 30 of file TrajectoryDrawer.cpp.
octomap::TrajectoryDrawer::TrajectoryDrawer | ( | const ScanGraph & | graph | ) |
Definition at line 36 of file TrajectoryDrawer.cpp.
octomap::TrajectoryDrawer::~TrajectoryDrawer | ( | ) | [virtual] |
Definition at line 42 of file TrajectoryDrawer.cpp.
void octomap::TrajectoryDrawer::clear | ( | ) | [virtual] |
Clears the object's representation (will be called when it gets invalid)
Reimplemented from octomap::SceneObject.
Definition at line 75 of file TrajectoryDrawer.cpp.
void octomap::TrajectoryDrawer::draw | ( | ) | const [virtual] |
Actual draw function which will be called to visualize the object
Implements octomap::SceneObject.
Definition at line 47 of file TrajectoryDrawer.cpp.
void octomap::TrajectoryDrawer::setScanGraph | ( | const octomap::ScanGraph & | graph | ) | [virtual] |
Notifies drawer of a new or changed ScanGraph, so that the internal representation can be rebuilt. Needs to be overloaded by each specific drawer.
graph | ScanGraph to be visualized |
Implements octomap::ScanGraphDrawer.
Definition at line 84 of file TrajectoryDrawer.cpp.
GLfloat* octomap::TrajectoryDrawer::m_trajectoryColorArray [protected] |
Definition at line 45 of file TrajectoryDrawer.h.
unsigned int octomap::TrajectoryDrawer::m_trajectorySize [protected] |
number of nodes in the ScanGraph
Definition at line 46 of file TrajectoryDrawer.h.
GLfloat* octomap::TrajectoryDrawer::m_trajectoryVertexArray [protected] |
Definition at line 44 of file TrajectoryDrawer.h.