Function lvr2::subSamplePointBuffer(PointBufferPtr, const std::vector<size_t>&)
Defined in File IOUtils.hpp
Function Documentation
-
PointBufferPtr lvr2::subSamplePointBuffer(PointBufferPtr src, const std::vector<size_t> &indices)
Computes a reduced version of the source buffer by sampling all channels using the given set of point indices.
- Parameters:
src – Source buffer
indices – Vector of the point indices that will be copied into the returned buffer
- Returns:
PointBufferPtr Reduced point buffer