struct mp2p_icp::render_params_point_layer_t

Overview

Rendering options for each point layer, see metric_map_t::get_visualization() More…

#include <render_params.h>

struct render_params_point_layer_t
{
    // fields

    float pointSize = 1.0f;
    mrpt::img::TColor color {0x00, 0x00, 0xff, 0xff};
    std::optional<color_mode_t> colorMode;
};

Detailed Documentation

Rendering options for each point layer, see metric_map_t::get_visualization()

Fields

float pointSize = 1.0f

Point size, in pixels (can be fractional). Zooming in (very close) into points show them as square patches.

mrpt::img::TColor color {0x00, 0x00, 0xff, 0xff}

Fixed color for all points in the layer. Ignored if colorMode is set.

std::optional<color_mode_t> colorMode

If set, it overrides color and defines a “recolorize by coordinate” mode.