visionx::voxelgrid::utils Namespace Reference

Functions

template<class PointT >
pcl::PointCloud< PointTtransformPointCloudToGrid (const pcl::PointCloud< PointT > &pointCloud, const Eigen::Matrix4f &pointCloudPose, const Eigen::Matrix4f &gridPose)
 Transform a point cloud to local grid coordinates. More...
 

Function Documentation

◆ transformPointCloudToGrid()

pcl::PointCloud< PointT > transformPointCloudToGrid ( const pcl::PointCloud< PointT > &  pointCloud,
const Eigen::Matrix4f &  pointCloudPose,
const Eigen::Matrix4f &  gridPose 
)

Transform a point cloud to local grid coordinates.

Parameters
pointCloudThe point cloud.
pointCloudPoseThe global pose of the point cloud.
gridPoseThe global pose of the grid.
Returns
The point cloud in grid's local coordinates.

Definition at line 37 of file point_cloud.h.