Request to add set_on_key
for open3d.visualization.O3DVisualizer in Python
#7226
Labels
set_on_key
for open3d.visualization.O3DVisualizer in Python
#7226
Checklist
main
branch).Proposed new feature or change
open3d.visualization.O3DVisualizer
is an amazing out-of-box class as it provides many built-in features, however, there's no option for developers to add custom keyboard key handling to it. It is, therefore, requested thatset_on_key
should be exposed. I believe it is simple and clutter free to include this feature asopen3d.visualization.O3DVisualizer
inherits fromopen3d.visualization.gui.Window
that has SetOnKeyEvent, so adding something like following tocpp/pybind/visualization/o3dvisualizer.cpp
underpybind_o3dvisualizer_definitions
should work just fine:References
No response
Additional information
I previously only used
pip
package of Open3D, so please let me know if this solution is not ideal or against design principles of Open3D.The text was updated successfully, but these errors were encountered: