User Interfaces#
The opynsim.ui module provides utilities for creating and displaying
interactive user interfaces, including:
High-Level Visualization Functions: Functions prefixed with
show_are typically high-level functions that internally handle initialization, maintaining the GUI main loop, and cleanup for the caller. They are similar to other Python APIs, likematplotlib.pyplot.showandpyvista.Plotter.show.Mid-Level Visualization Builders: TODO.
In effect, opynsim.ui combines the rendering capabilities of the
opynsim.graphics module with an application framework that manages
interaction. The implementation was ported from the
OpenSim Creator, which is compatible
with OPynSim’s data files, but doesn’t support scripting.