Template Function Cloudini::PCLPointCloudDecode(ConstBufferView, pcl::PointCloud<PointT>&)

Function Documentation

template<typename PointT>
void Cloudini::PCLPointCloudDecode(ConstBufferView serialized_data, pcl::PointCloud<PointT> &cloud)

Decodes a serialized point cloud into a pcl::PointCloud<PointT> object. If you use a point type different that PointXYZ or PointXYZI, you need to specialize the ConvertToEncodingInfo function for that point type.

Parameters:
  • serialized_data – The input serialized data to decode.

  • cloud – The output pcl::PointCloud<PointT> object where the decoded data will be stored.