(self, width=640, height=480, visible=True)
| 6 | class VisOpen3D: |
| 7 | |
| 8 | def __init__(self, width=640, height=480, visible=True): |
| 9 | self.__vis = open3d.visualization.Visualizer() |
| 10 | self.__vis.create_window(width=width, height=height, visible=visible) |
| 11 | self.__width = width |
| 12 | self.__height = height |
| 13 | |
| 14 | if visible: |
| 15 | self.poll_events() |
| 16 | self.update_renderer() |
| 17 | |
| 18 | def __del__(self): |
| 19 | self.__vis.destroy_window() |
nothing calls this directly
no test coverage detected