Eigen with PointCloud (PCL)
问题 I have been following the tutorial http://pointclouds.org/documentation/tutorials/pcl_visualizer.php#pcl-visualizer and could get a simple viewer working. I looked up the documentation and found the function getMatrixXfMap which returns the Eigen::MatrixXf from a PointCloud . // Get Eigen matrix Eigen::MatrixXf M = basic_cloud_ptr->getMatrixXfMap(); cout << "(Eigen) #row :" << M.rows() << endl; cout << "(Eigen) #col :" << M.cols() << endl; Next I process M (basically rotations, translations