Use cloud compare to finish format conversion
Posted: Thu Oct 10, 2019 2:53 am
Hello,everyone! All I want to do is change the format between .stl and .pcd. In the GUI of Cloud Compare, I have finished this task by "edit-mesh-sample points". And then I can save the file as .pcd format. Because I have so many files, so I want to finish it in c++ code. I have noticed that Cloud Compare has a function called "MeshSample.samplePointsOnMesh:. However, I didn't find how to open file and save file. What's more, how to write CMakelist is also a challenge problem for me. Can you help me? Thank you so much.