#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 () |
Public Member Functions inherited from octomap::ScanGraphDrawer | |
ScanGraphDrawer () | |
virtual | ~ScanGraphDrawer () |
Public Member Functions inherited from octomap::SceneObject | |
void | enableHeightColorMode (bool enabled=true) |
void | enablePrintoutMode (bool enabled=true) |
void | enableSemanticColoring (bool enabled=true) |
SceneObject () | |
void | setColorMode (ColorMode mode) |
virtual | ~SceneObject () |
Protected Attributes | |
GLfloat * | m_trajectoryColorArray |
unsigned int | m_trajectorySize |
number of nodes in the ScanGraph More... | |
GLfloat * | m_trajectoryVertexArray |
Protected Attributes inherited from octomap::SceneObject | |
ColorMode | m_colorMode |
double | m_zMax |
double | m_zMin |
Additional Inherited Members | |
Public Types inherited from octomap::SceneObject | |
enum | ColorMode { CM_FLAT, CM_PRINTOUT, CM_COLOR_HEIGHT, CM_GRAY_HEIGHT, CM_SEMANTIC } |
Protected Member Functions inherited from octomap::SceneObject | |
void | heightMapColor (double h, GLfloat *glArrayPos) const |
void | heightMapGray (double h, GLfloat *glArrayPos) const |
Definition at line 33 of file TrajectoryDrawer.h.
octomap::TrajectoryDrawer::TrajectoryDrawer | ( | ) |
Definition at line 29 of file TrajectoryDrawer.cpp.
octomap::TrajectoryDrawer::TrajectoryDrawer | ( | const ScanGraph & | graph | ) |
Definition at line 35 of file TrajectoryDrawer.cpp.
|
virtual |
Definition at line 41 of file TrajectoryDrawer.cpp.
|
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.
|
virtual |
Actual draw function which will be called to visualize the object
Implements octomap::SceneObject.
Definition at line 46 of file TrajectoryDrawer.cpp.
|
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.
|
protected |
Definition at line 44 of file TrajectoryDrawer.h.
|
protected |
number of nodes in the ScanGraph
Definition at line 45 of file TrajectoryDrawer.h.
|
protected |
Definition at line 43 of file TrajectoryDrawer.h.