Ask Your Question
1

[Viz] picking 3D points in a cloud

asked 2014-10-15 06:50:23 -0600

VizUser gravatar image

updated 2020-10-20 08:52:11 -0600

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.

edit retag flag offensive close merge delete

Comments

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..

JiayiLiu gravatar imageJiayiLiu ( 2014-10-15 12:37:17 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-08-15 04:40:37 -0600

Nerei gravatar image

There is a method in Viz3d class for conveting 2D point to 3D ray

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-10-15 06:50:23 -0600

Seen: 316 times

Last updated: Oct 15 '14