How do I use SceneWidget to pick points and get them? #3736
-
I'm trying to write an app for experiment that can pick points using Open3D's GUI module. I already load an OBJ file using self._scene = gui.SceneWidget()
self._scene.scene = rendering.Open3DScene(w.renderer)
self._scene.set_view_controls(gui.SceneWidget.Controls.PICK_POINTS) Also,SceneWidget does not provide the method for Getting Picked Points. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 11 replies
-
I have the same question too. I found this example (https://github.com/intel-isl/Open3D/blob/master/examples/python/gui/mouse-and-point-coord.py) but it does not give me a correct point. I picked the corner (green circle), I received the coordinate and added as the red sphere with 3d_label. The green point and the red sphere did not match. Any idea? Thanks |
Beta Was this translation helpful? Give feedback.
I have the same question too. I found this example (https://github.com/intel-isl/Open3D/blob/master/examples/python/gui/mouse-and-point-coord.py) but it does not give me a correct point. I picked the corner (green circle), I received the coordinate and added as the red sphere with 3d_label. The green point and the red sphere did not match.
Any idea? Thanks