#include <SceneObject.h>
Public Member Functions | |
ScanGraphDrawer () | |
virtual void | setScanGraph (const octomap::ScanGraph &graph)=0 |
virtual | ~ScanGraphDrawer () |
Public Member Functions inherited from octomap::SceneObject | |
virtual void | clear () |
virtual void | draw () const =0 |
void | enableHeightColorMode (bool enabled=true) |
void | enablePrintoutMode (bool enabled=true) |
void | enableSemanticColoring (bool enabled=true) |
SceneObject () | |
void | setColorMode (ColorMode mode) |
virtual | ~SceneObject () |
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 |
Protected Attributes inherited from octomap::SceneObject | |
ColorMode | m_colorMode |
double | m_zMax |
double | m_zMin |
Abstract base class for all objects visualizing ScanGraphs.
Definition at line 96 of file SceneObject.h.
|
inline |
Definition at line 98 of file SceneObject.h.
|
inlinevirtual |
Definition at line 99 of file SceneObject.h.
|
pure 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 |
Implemented in octomap::PointcloudDrawer, and octomap::TrajectoryDrawer.