[Viz] picking 3D points in a cloud
Hello
I work with Viz and I would like to pick interactively some points in a cloud to get their positions in 3D. (At this stage, I create a viewer and I create the points cloud with a widget cloud.)
How should I do?
I took a look in the documentation and I found nothing expect to pick 2D points with a mouseEvent but the result is only the coordinate of the points i have picked in the window (i,e the coordinate in pixel of the mouse in the window).
I hope that someone could help me !
Regards.
A.
I'm not aware if there is a 3D point picking function in the current viz module. But PCL has had one implemented at http://docs.pointclouds.org/1.7.1/classpcl_1_1visualization_1_1_point_picking_event.html, if you don't mind integrating with one more library..