MCPcopy Index your code
hub / github.com/SAMMiCA/ChangeSim / __init__

Method __init__

script/utils/visualization.py:8–16  ·  view source on GitHub ↗
(self, width=640, height=480, visible=True)

Source from the content-addressed store, hash-verified

6class 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()

Callers

nothing calls this directly

Calls 2

poll_eventsMethod · 0.95
update_rendererMethod · 0.95

Tested by

no test coverage detected