generating point cloud views from CAD with renderview function
This post has NOT been accepted by the mailing list yet.
I am reviewing some existing code for a project. In this code there is a function that is supposed to generate model views from a CAD model of a pallet. By talking with the autor I know (and I can see it from what he has given to me) that He was able to generate a certain number of .pcd files, but if I execute the same code in output I have a strange file with a lot of points, but that I am not able to see.
Here is one of the .pcd views that I am supposed to receive after executing the program: supposed_output.png
The "supposed" .pcd file weights a bunch of kB and contains roughly 800 points, while the one that I get from my program weights 3MB and "contains" 60k points (even if I can't see anything).
At the bottom of this post you will find the code of the function I am talking about. Now my question: this code was written in 2010, is there any change in the renderView function that I am not aware of? Have you experienced such a strange behaviour before?
int generateModelViewsFromCAD(string CADFilename, string viewsDir)
vector<ObjectPointCloud<pcl::PointXYZ> > modelClouds;