struct mp2p_icp_filters::PointCloudToVoxelGridSingle::voxel_t

Overview

The list of point indices in each voxel

#include <PointCloudToVoxelGridSingle.h>

struct voxel_t
{
    // fields

    std::optional<mrpt::math::TPoint3Df> point;
    std::optional<size_t> pointIdx;
    std::optional<const mrpt::maps::CPointsMap*> source;
    uint32_t pointCount = 0;
};

Fields

uint32_t pointCount = 0

Even if we keep the first point only, count them all.