#include <SceneObject.h>
Abstract base class for objects to be drawn in the ViewerWidget.
Definition at line 49 of file SceneObject.h.
Enumerator |
---|
CM_FLAT |
|
CM_PRINTOUT |
|
CM_COLOR_HEIGHT |
|
CM_GRAY_HEIGHT |
|
CM_SEMANTIC |
|
Definition at line 51 of file SceneObject.h.
octomap::SceneObject::SceneObject |
( |
| ) |
|
virtual octomap::SceneObject::~SceneObject |
( |
| ) |
|
|
inlinevirtual |
virtual void octomap::SceneObject::clear |
( |
| ) |
|
|
inlinevirtual |
virtual void octomap::SceneObject::draw |
( |
| ) |
const |
|
pure virtual |
void octomap::SceneObject::enableHeightColorMode |
( |
bool |
enabled = true | ) |
|
|
inline |
void octomap::SceneObject::enablePrintoutMode |
( |
bool |
enabled = true | ) |
|
|
inline |
void octomap::SceneObject::enableSemanticColoring |
( |
bool |
enabled = true | ) |
|
|
inline |
void octomap::SceneObject::heightMapColor |
( |
double |
h, |
|
|
GLfloat * |
glArrayPos |
|
) |
| const |
|
protected |
writes rgb values which correspond to a rel. height in the map. (glArrayPos needs to have at least size 3!)
Definition at line 38 of file SceneObject.cpp.
void octomap::SceneObject::heightMapGray |
( |
double |
h, |
|
|
GLfloat * |
glArrayPos |
|
) |
| const |
|
protected |
void octomap::SceneObject::setColorMode |
( |
ColorMode |
mode | ) |
|
|
inline |
the color mode has to be set before calling OcTreDrawer::setMap() because the cubes are generated in OcTreDrawer::setMap() using the color information
Definition at line 76 of file SceneObject.h.
double octomap::SceneObject::m_zMax |
|
protected |
double octomap::SceneObject::m_zMin |
|
protected |
The documentation for this class was generated from the following files: