41 {
42 pcl::PointCloud<pcl::PointXYZI>::Ptr pcl_cloud_ptr(
43 new pcl::PointCloud<pcl::PointXYZI>());
44 pcl::PointCloud<pcl::PointXYZI>::Ptr filtered_cloud_ptr(
45 new pcl::PointCloud<pcl::PointXYZI>());
46
49 downsample_voxel_size_x_, downsample_voxel_size_y_,
50 downsample_voxel_size_z_);
51
54 cloud_ptr = downsample_voxel_cloud_ptr;
55 return true;
56}
AttributePointCloud< PointF > PointFCloud
std::shared_ptr< PointFCloud > PointFCloudPtr
void TransformToPCLXYZI(const base::AttributePointCloud< PointT > &org_cloud, const pcl::PointCloud< pcl::PointXYZI >::Ptr &out_cloud_ptr)
void DownSampleCloudByVoxelGrid(const pcl::PointCloud< pcl::PointXYZI >::Ptr &cloud_ptr, const pcl::PointCloud< pcl::PointXYZI >::Ptr &filtered_cloud_ptr, float lx=0.01f, float ly=0.01f, float lz=0.01f)
void TransformFromPCLXYZI(const pcl::PointCloud< pcl::PointXYZI >::Ptr &org_cloud_ptr, const base::PointFCloudPtr &out_cloud_ptr)