Open3d: How does VisualizerWithEditing bound a KeyCallback?

Created on 3 Dec 2019  路  2Comments  路  Source: intel-isl/Open3D

Hi, guys

I try to get the picked point value from VisualizerWithEditing, But when I want to add a label name to the point I just picked, the process is blocked, I can't do anything until I quit the window. But I just want to picked a point and label it, not to label a point list.

And I found the class VisualizerWithKeyCallback, which has keycallback function but no get_picked_point. So how can I bound a keycallback for VisualizerWithEditing and do something I want? Anybody help? Thanks.

Best,
Mikoy Chinese

question

Most helpful comment

As far as I can see, this is a current limitation because VisualizerWithKeyCallback and VisualizerWithEditing are independent subclasses of Visualizer.

There is another issue that "it seems strange to have a separate class for a visualizer which has a keyboard callback" https://github.com/intel-isl/Open3D/issues/737#issuecomment-451011339

In my fork of open3d, I have keyboard callback features directly implemented as part of the base Visualizer class. This way, even VisualizerWithEditing has keyboard callback features, and there is no need for a separate VisualizerWithKeyCallback.

I'll raise a pull request with my changes for discussion. Stay tuned.

All 2 comments

As far as I can see, this is a current limitation because VisualizerWithKeyCallback and VisualizerWithEditing are independent subclasses of Visualizer.

There is another issue that "it seems strange to have a separate class for a visualizer which has a keyboard callback" https://github.com/intel-isl/Open3D/issues/737#issuecomment-451011339

In my fork of open3d, I have keyboard callback features directly implemented as part of the base Visualizer class. This way, even VisualizerWithEditing has keyboard callback features, and there is no need for a separate VisualizerWithKeyCallback.

I'll raise a pull request with my changes for discussion. Stay tuned.

Hi! In the Open3D team, we take your question very seriously. In order to provide better assistance to our users, we are implementing new policies. Now general questions should be asked in our forum: https://forum.open3d.org

Github issues will remain in use for bug reports and feature requests.

We are looking forward to answering your question in our forum!

Best regards.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mike239x picture mike239x  路  4Comments

martinakos picture martinakos  路  4Comments

DKandrew picture DKandrew  路  3Comments

nrj127 picture nrj127  路  4Comments

marcel-bariou picture marcel-bariou  路  3Comments