Closed yunyu closed 10 years ago
That method, setFromPCLPointCloudRGB(), already works directly with PCL classes, like in:
pcl::PointCloud<pcl::PointXYZRGB> cloud;
mrpt::slam::CColouredPointsMap pc;
pc.setFromPCLPointCloudRGB(cloud);
Let me know if that fails, then reopen this issue.
Here's my code:
Inheritance suggests that this should work (as PointCloudAdapter does inherit from POINTCLOUD), but when compiling on VC++2010, I get this. Is this how I'm supposed to be doing the conversion?