Clear Filters
Clear Filters

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

2 views (last 30 days)
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?

Answers (1)

Walter Roberson
Walter Roberson on 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!