struct mp2p_icp_filters::PointCloudToVoxelGridSingle::IndicesHash

Overview

This implements the optimized hash from this paper:

Teschner, M., Heidelberger, B., Müller, M., Pomerantes, D., & Gross, M. H. (2003, November). Optimized spatial hashing for collision detection of deformable objects. In Vmv (Vol. 3, pp. 47-54).

#include <PointCloudToVoxelGridSingle.h>

struct IndicesHash
{
    // methods

    std::size_t operator () (const indices_t& k) const;

    bool operator () (
        const indices_t& k1,
        const indices_t& k2
        ) const;
};

Methods

std::size_t operator () (const indices_t& k) const

Hash operator for unordered maps: