Drawing using mouse on point clouds

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Drawing using mouse on point clouds

talha
Hi,

I am wondering if the PCLVisualizer allows for points in point clouds to be selected using a mouse i.e. a user press & drag operation selects the points the mouse hovers over.

I am aware there is a pointPickEvent callback but that seems to only be for selecting individual points. There are also mouse callbacks for various mouse operations such as drag, press & release. Is there a way to combine the two to get the result I want?

Any guidance would be appreciated. Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Drawing using mouse on point clouds

james
Administrator
I haven't personally worked with it yet, but take a look here (registerAreaPickingCallback):
http://docs.pointclouds.org/trunk/classpcl_1_1visualization_1_1_p_c_l_visualizer.html#a8b4cf564406f60a4efa8169233a7a319