struct mola::VoxelStatsMap::Cell¶
Overview¶
#include <VoxelStatsMap.h> struct Cell { // fields float mean[3] = {0, 0, 0}; float scatter[6] = {0, 0, 0, 0, 0, 0}; float w_sum = 0; float w2_sum = 0; float rep[3] = {0, 0, 0}; float rep_d2 = std::numeric_limits<float>::max(); uint32_t points = 0; uint16_t scans = 0; bool dirty = false; mp2p_icp::NearestCellCapable::CellRef ref; };
Fields¶
float mean[3] = {0, 0, 0}
Weighted mean of the points, relative to the cell center [m].
float scatter[6] = {0, 0, 0, 0, 0, 0}
Weighted scatter about the mean: xx, xy, xz, yy, yz, zz [m^2].
float w_sum = 0
Sum of the point weights, and of their squares.
float rep[3] = {0, 0, 0}
The inserted point closest to the cell center, relative to it [m].
float rep_d2 = std::numeric_limits<float>::max()
Squared distance of rep to the cell center [m^2].
uint32_t points = 0
Points inserted.
uint16_t scans = 0
Scans that put at least one point here.
bool dirty = false
Statistics changed since the model was last computed.
mp2p_icp::NearestCellCapable::CellRef ref
The model offered to matchers, in the map frame.