struct mp2p_icp::pointcloud_bitfield_t

Overview

A bit field with a bool for each metric_map_t entity. Useful, for example, to keep track of which elements have already been matched during the matching pipeline.

#include <pointcloud_bitfield.h>

struct pointcloud_bitfield_t
{
    // structs

    struct DenseOrSparseBitField;

    // fields

    std::map<layer_name_t, DenseOrSparseBitField> point_layers;
    std::vector<bool> lines;
    std::vector<bool> planes;

    // methods

    void initialize_from(const metric_map_t& pc);
};