struct mola::SparseVoxelPointCloud::CachedData

Overview

struct CachedData
{
    // fields

    std::optional<mrpt::math::TBoundingBoxf> boundingBox_;
    int lastAccessNextWrite = 0;
    outer_index3d_t lastAccessIdx[NUM_CACHED_IDXS];
    InnerGrid* lastAccessGrid[NUM_CACHED_IDXS] = {nullptr};
    static constexpr static int CBITS = 2;
    static constexpr static int NUM_CACHED_IDXS = 1<<CBITS;
    static constexpr static int NUM_CACHED_IDX_MASK = NUM_CACHED_IDXS - 1;

    // methods

    void reset();
};