Effacer les filtres
Effacer les filtres

Is there a way to capture the user click on a LiDAR plot?

2 vues (au cours des 30 derniers jours)
Dhruv
Dhruv le 28 Nov 2023
After using pcshow on a LiDAR (ply) file, is there any way to judge where the user clicks and get the coordinates (x, y and z) of the click on the actual 3d image?

Réponses (1)

Walter Roberson
Walter Roberson le 29 Nov 2023
CurrentPoint reflects the limits on where the point might "actually" be
However, in a 3D scene the user "might" be clicking on anything between "in front of" an object to behind the object along the line of sight.
But perhaps instead you might want to turn on datatips for the axes returned by pcshow(), as the datatip information would include Intensity, Range, Azimuth angle, Elevation angle, Row, and Column for a lidar plot.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by