Template Function lvr2::transformAndReducePointCloud(ModelPtr&, int, const CoordinateTransform<T>&)

Function Documentation

template<typename T>
void lvr2::transformAndReducePointCloud(ModelPtr &model, int modulo, const CoordinateTransform<T> &c)

Transforms (scale and switch coordinates) and reduces a model containing point cloud data using a modulo filter. Use this function the convert between different coordinate systems.

Parameters:
  • model – A model containing point cloud data

  • modulo – The reduction factor for the modulo filter. Set to 1 to keep the original resolution.

  • c – The coordinate transformation applied to the model