#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 33 of file TrajectoryDrawer.h.
Definition at line 29 of file TrajectoryDrawer.cpp.
octomap::TrajectoryDrawer::TrajectoryDrawer | ( | const ScanGraph & | graph | ) |
Definition at line 35 of file TrajectoryDrawer.cpp.
octomap::TrajectoryDrawer::~TrajectoryDrawer | ( | ) | [virtual] |
Definition at line 41 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 74 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 46 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 83 of file TrajectoryDrawer.cpp.
GLfloat* octomap::TrajectoryDrawer::m_trajectoryColorArray [protected] |
Definition at line 44 of file TrajectoryDrawer.h.
unsigned int octomap::TrajectoryDrawer::m_trajectorySize [protected] |
number of nodes in the ScanGraph
Definition at line 45 of file TrajectoryDrawer.h.
GLfloat* octomap::TrajectoryDrawer::m_trajectoryVertexArray [protected] |
Definition at line 43 of file TrajectoryDrawer.h.