Struct SparseVoxelPointCloud::VoxelData
Defined in File SparseVoxelPointCloud.h
Nested Relationships
This struct is a nested type of Class SparseVoxelPointCloud.
Nested Types
Struct Documentation
-
struct VoxelData
Public Functions
-
VoxelData() = default
-
void insertPoint(const mrpt::math::TPoint3Df &p, InnerGrid &parent)
-
inline const mrpt::math::TPoint3Df &mean() const
Gets the mean of all points in the voxel. Throws if empty.
-
inline size_t size() const
-
inline void resize(size_t n)
-
inline void setIndex(size_t i, uint32_t idx)
-
inline uint32_t getIndex(size_t i) const
-
struct PointSpan
Public Functions
-
inline PointSpan(const mrpt::maps::CSimplePointsMap &data, const uint32_t *pointIndices, size_t n)
-
inline size_t size() const
-
inline bool empty() const
-
inline mrpt::math::TPoint3Df operator[](int i) const
-
inline PointSpan(const mrpt::maps::CSimplePointsMap &data, const uint32_t *pointIndices, size_t n)
-
VoxelData() = default