#include <SceneObject.h>
Abstract base class for objects to be drawn in the ViewerWidget.
Definition at line 48 of file SceneObject.h.
◆ ColorMode
Enumerator |
---|
CM_FLAT | |
CM_PRINTOUT | |
CM_COLOR_HEIGHT | |
CM_GRAY_HEIGHT | |
CM_SEMANTIC | |
Definition at line 50 of file SceneObject.h.
◆ SceneObject()
octomap::SceneObject::SceneObject |
( |
| ) |
|
◆ ~SceneObject()
virtual octomap::SceneObject::~SceneObject |
( |
| ) |
|
|
inlinevirtual |
◆ clear()
virtual void octomap::SceneObject::clear |
( |
| ) |
|
|
inlinevirtual |
◆ draw()
virtual void octomap::SceneObject::draw |
( |
| ) |
const |
|
pure virtual |
◆ enableHeightColorMode()
void octomap::SceneObject::enableHeightColorMode |
( |
bool |
enabled = true | ) |
|
|
inline |
◆ enablePrintoutMode()
void octomap::SceneObject::enablePrintoutMode |
( |
bool |
enabled = true | ) |
|
|
inline |
◆ enableSemanticColoring()
void octomap::SceneObject::enableSemanticColoring |
( |
bool |
enabled = true | ) |
|
|
inline |
◆ heightMapColor()
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.
◆ heightMapGray()
void octomap::SceneObject::heightMapGray |
( |
double |
h, |
|
|
GLfloat * |
glArrayPos |
|
) |
| const |
|
protected |
◆ setColorMode()
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 75 of file SceneObject.h.
◆ m_colorMode
◆ m_zMax
double octomap::SceneObject::m_zMax |
|
protected |
◆ m_zMin
double octomap::SceneObject::m_zMin |
|
protected |
The documentation for this class was generated from the following files: