struct mp2p_icp::color_mode_t


#include <render_params.h>

struct color_mode_t
    // fields

    mrpt::img::TColormap colorMap = mrpt::img::cmHOT;
    std::optional<Coordinate> recolorizeByCoordinate;
    std::optional<float> colorMapMinCoord;
    std::optional<float> colorMapMaxCoord;

Detailed Documentation


mrpt::img::TColormap colorMap = mrpt::img::cmHOT

The colormap palette to use.

std::optional<Coordinate> recolorizeByCoordinate

If set, the coordinate to use to recolorize points.

std::optional<float> colorMapMinCoord

Optional fixed minimum and maximum bounding box limits for interpolating the color map. If not set, they will be set to the point cloud bounding box. For example, to recolor points so the coolest and hottest colors are at heights of 0.0 m and 5.0 m, respectively, set these variables to 0.0f and 5.0f and set the mrpt::img::cmHOT color map.