struct mola::SparseVoxelPointCloud::TInsertionOptions

Overview

Options for insertObservation()

#include <SparseVoxelPointCloud.h>

struct TInsertionOptions: public mrpt::config::CLoadableOptions
{
    // fields

    uint32_t max_points_per_voxel = 0;

    // methods

    void loadFromConfigFile(
        const mrpt::config::CConfigFileBase& source,
        const std::string& section
        );

    void dumpToTextStream(std::ostream& out) const;
    void writeToStream(mrpt::serialization::CArchive& out) const;
    void readFromStream(mrpt::serialization::CArchive& in);
};

Fields

uint32_t max_points_per_voxel = 0

Maximum number of points per voxel. 0 means no limit (up to the compile-time limit HARDLIMIT_MAX_POINTS_PER_VOXEL).