Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How does VisualizerWithEditing bound a KeyCallback? #1370

Open
MikoyChinese opened this issue Dec 3, 2019 · 2 comments
Open

How does VisualizerWithEditing bound a KeyCallback? #1370

MikoyChinese opened this issue Dec 3, 2019 · 2 comments

Comments

@MikoyChinese
Copy link

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

@sammo2828
Copy link
Contributor

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" #737 (comment)

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.

@germanros1987
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants