ROS

Point Cloud Library

Posted by Rico's Nerd Cluster on April 4, 2024

Point Infrastructure

Point Cloud Members

PointCloud Type includes

  • points: point vector

PointTypes

PointType include:

  • pcl::PointXYZ
  • pcl::PointXYZI
  • pcl::PointXYZRGB
  • pcl::PointXYZRGBA
  • pcl::PointNormal
  • pcl::PointXYZRGBNormal

Below convenience functions can be found on this page.

  • res=PointType.getVector3fMap()
    • Since this returns an Eigen::vector3f, one can use res.squaredNorm()further.

Point Cloud Width and Height

  • width – how many points make up one row of the cloud
  • height – how many rows there are
  • points.size() – the total number of points = width * height