rtabmap icon indicating copy to clipboard operation
rtabmap copied to clipboard

iOS: Question about modify/delete mesh data

Open Henry-JH opened this issue 1 year ago • 1 comments

Hello, thank you for your great work.

I want to develop a volume measurement function, so I have to create closed meshes and add the clipping function.

However, I'm confused about which files and code chunks to manipulate to generate and remove the reconstructed meshes.

Do you have any suggestions?

Henry-JH avatar Oct 30 '24 07:10 Henry-JH

When you do "Assemble" action, the optimized mesh is generated by this function: https://github.com/introlab/rtabmap/blob/374df24ac94f0e2a6fa5f1aacce921a5e1f4ff77/app/android/jni/RTABMapApp.cpp#L2697-L2714

Then loaded in RAM afterwards with: https://github.com/introlab/rtabmap/blob/374df24ac94f0e2a6fa5f1aacce921a5e1f4ff77/app/android/jni/RTABMapApp.cpp#L3512-L3521

Then shown in render loop here (added to opengl if not already): https://github.com/introlab/rtabmap/blob/374df24ac94f0e2a6fa5f1aacce921a5e1f4ff77/app/android/jni/RTABMapApp.cpp#L1421-L1451

matlabbe avatar Nov 01 '24 02:11 matlabbe