00001 /* 00002 * In theory, centroid exists in PCL. However, the version I'm getting doesn't 00003 * have it, so here it is. 00004 */ 00005 00006 #include "pcl16/point_types.h" 00007 #include "pcl16_ros/point_cloud.h" 00008 #include <cstddef> 00009 00010 #pragma once 00011 00012 namespace semanticmodel 00013 { 00014 00015 Eigen::Vector4f centroid( 00016 const pcl16::PointCloud<pcl16::PointXYZRGB>::ConstPtr& cloud); 00017 00018 }