How to get the triangle ID on 3D view (mesh) from mouse coordinates in slice view


I want to know if is it possible to obtain the triangle ID (the closest one) when I click on a segmented area in 2D slice view? Can you give me some examples or classes to that in c++.

thank’s in advance

You can find a complete example in the script repository:

1 Like