You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sync back the widget state to the server. For toggles (on/off) this can be immediate. For the actual widget interaction, the updated widget state is synced back to the server when the interaction ends (e.g. on mouse-up). When the updated widget state gets synced back to the server, it is applied on the server's vtk pipeline, but a local_view.update() is not triggered, and no round trip is triggered. (this is deferred till phase 6).
Syncs four widget toggles to the server: cross section widget, wire frame widget, orthographic view widget, bounding box widget
After this, the off/on state of those widgets is preserved across a page refresh or new connection, and save/load state read from/apply to the server's VTK pipeline
Refactor only: cleans up the per-part edge visibility into the global toggle (we don't currently support per-part wire frame controls, so we don't need per-part state to reflect it)
After this, the cross-section plane origin and normal preserved across a page refresh or new connection, and save/load state read from/apply to the server's VTK pipeline.
One known defect: on load_state, if the saved state's cross-section widget visibility is true, the correct state loads (including the plane origin/normal values), but the plane doesn't initially render. Clicking the cross-section widget toggle twice makes it appear. The fix is deferred until user story 3.6 (#24), where we revisit the save/load state end to end mechanism once ownership of all the viewer state is held by the server.
Activity
LKasianAnsys commentedon Sep 24, 2026
Added four PRs that together move widget state authority to the server.
LKasianAnsys commentedon Oct 2, 2026
The first three PRs have been merged.
PR #143 is deferred until after #146 (a version bump to VTK 9.7.0) lands, which resolves a bug on
add_datasetintroduced by that change.Note as well that the known defect mentioned above for 3.3c is also resolved by the version bump to VTK 9.7.0.