enum mrpt::opengl::COctoMapVoxels::visualization_mode_t
Overview
The different coloring schemes, which modulate the generic mrpt::opengl::CRenderizable object color. More…
#include <COctoMapVoxels.h> enum visualization_mode_t { COLOR_FROM_HEIGHT, COLOR_FROM_OCCUPANCY, TRANSPARENCY_FROM_OCCUPANCY, TRANS_AND_COLOR_FROM_OCCUPANCY, MIXED, FIXED, COLOR_FROM_RGB_DATA, };
Detailed Documentation
The different coloring schemes, which modulate the generic mrpt::opengl::CRenderizable object color.
Set with setVisualizationMode()
Enum Values
COLOR_FROM_HEIGHT
Color goes from black (at the bottom) to the chosen color (at the top)
COLOR_FROM_OCCUPANCY
Color goes from black (occupied voxel) to the chosen color (free voxel)
TRANSPARENCY_FROM_OCCUPANCY
Transparency goes from opaque (occupied voxel) to transparent (free voxel).
TRANS_AND_COLOR_FROM_OCCUPANCY
Color goes from black (occupaid voxel) to the chosen color (free voxel) and they are transparent.
MIXED
Combination of COLOR_FROM_HEIGHT and TRANSPARENCY_FROM_OCCUPANCY.
FIXED
All cubes are of identical color.
COLOR_FROM_RGB_DATA
Color from RGB data.