def _generate_simulation_dict(self):
        if self.system is None:
            constants_symbols = self.constants.keys()
            constants_values = self.constants.values()
            states_symbols = self.states_symbols
            states_trajectories = self.states_trajectories
        else:
            constants_symbols = self.system.constants.keys()
            constants_values = self.system.constants.values()
            states_symbols = self.system.states
            states_trajectories = self.system.integrate()

        self._simulation_info = {}

        for group in [self.visualization_frames, self.cameras, self.lights]:
            for frame in group:
                frame.generate_transformation_matrix(self.reference_frame,
                                                     self.origin)
                frame.generate_numeric_transform_function(states_symbols,
                                                          constants_symbols)
                frame.evaluate_transformation_matrix(states_trajectories,
                                                     constants_values)
                self._simulation_info.update(frame.generate_simulation_dict())
Set the current index of the ComboBox.
dataset/ETHPy150Open pydy/pydy/pydy/viz/scene.py/Scene._generate_simulation_dict--crossover with--dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/qt/qt_combo_box.py/QtComboBox.set_index