def METHOD_NAME(self, title, width, height):
    gui.Application.instance.initialize()
    self._init_user_interface(title, width, height)
    # override just to set background color to back :)
    bgcolor = gui.ColorEdit()
    bgcolor.color_value = gui.Color(0, 0, 0)
    self._on_bgcolor_changed(bgcolor.color_value)
    self._3d.scene.downsample_threshold = 400000
    # Turn all the objects off except the first one
    for name, node in self._name2treenode.items():
        node.checkbox.checked = False
        self._3d.scene.show_geometry(name, False)
    for name in [self._objects.data_names[0]]:
        self._name2treenode[name].checkbox.checked = True
        self._3d.scene.show_geometry(name, True)
    def on_done_ui():
        # Add bounding boxes here: bounding boxes belonging to the dataset
        # will not be loaded until now.
        self._update_bounding_boxes()
        self._update_Input_combobox()
        self._update_shaders_combobox()
        # Display "colors" by default if available, "points" if not
        available_attrs = self._get_available_attrs()
        self._set_shader(self.SOLID_NAME, force_update=True)
        if "colors" in available_attrs:
            self._Input_combobox.selected_text = "colors"
        elif "points" in available_attrs:
            self._Input_combobox.selected_text = "points"
        self._dont_update_geometry = True
        self._on_Input_changed(self._Input_combobox.selected_text, self._Input_combobox.selected_index)
        self._update_geometry_colors()
        self._dont_update_geometry = False
        # _Input_combobox was empty, now isn't, re-layout.
        self.window.set_needs_layout()
        self._update_geometry()
        self.setup_camera()
    self._load_geometries(self._objects.data_names, on_done_ui)
    gui.Application.instance.run()