Build solution with DistanceComputationTool::computeCloud2MeshDistance
Posted: Fri Jan 04, 2019 7:09 pm
Hi everyone,
For a school project I have to realize a solution/script in C++ that use computeCloud2MeshDistance to compare a PC with a mesh.
I have, in input, a xyz file that contains the point cloud and a off file that contains the mesh and I want only the final average distance between my two compared entities.There is no need to make a GUI.
I understand this function is available in DistanceComputationTool.h and named computeCloud2MeshDistance. I don't understand the way to put in function's input my two files, PC and mesh. The function want a GenericIndexedCloudPersist and GenericIndexedMesh.
I tried to understand the I/O operation system with AsciiFilter class but it's doesn't solve my problem...
Anyone have an idea ?
For a school project I have to realize a solution/script in C++ that use computeCloud2MeshDistance to compare a PC with a mesh.
I have, in input, a xyz file that contains the point cloud and a off file that contains the mesh and I want only the final average distance between my two compared entities.There is no need to make a GUI.
I understand this function is available in DistanceComputationTool.h and named computeCloud2MeshDistance. I don't understand the way to put in function's input my two files, PC and mesh. The function want a GenericIndexedCloudPersist and GenericIndexedMesh.
I tried to understand the I/O operation system with AsciiFilter class but it's doesn't solve my problem...
Anyone have an idea ?