Skip to content

Turn the localizer's FOV box for oblique planning, and fill the tab with the main window - #14

Merged
mcencini merged 2 commits into
masterfrom
claude/vscanner-params-fov-5v9gdo
Oct 6, 2026
Merged

mcencini merged 2 commits into
masterfrom
claude/vscanner-params-fov-5v9gdo

Conversation

@mcencini

@mcencini mcencini commented Oct 6, 2026

Copy link
Copy Markdown

Requested by Matteo · project thread

Before: the localizer's FOV box could be moved and resized but not turned, so an oblique prescription had to be typed as an angle and axis. The main window opened at 1680x720 px whatever the browser tab's size, so on a smaller screen the history list under the figures was out of view.

After: a rotate handle on the box's corner turns it, and the turn sets every sequence's angle and rotation axis. Toggling FOV off and on redraws the box turned on the plane it was turned on. In a browser tab the main window fills the tab.

On pulserver's console the Transversal plane's turn is written right-handed about the axis, as the console reads it (the box turns from MaRGE axis 2 towards axis 1, about -axis 0); desktop MaRGE keeps its sign. The localizer carries angle and rotationAxis so the redraw finds them.

How: addRotateHandle in controller_plot3d.py, the angle restored in menuClicked, and MainWindow.show maximised under Emscripten. Console tests pass (30). The sign follows from the console's documented plane axes; I could not draw the Qt widgets here (no GL libraries), so the rotation sense is not yet seen on screen.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Afq4fxyjbebF7KbvaNC1uh


Generated by Claude Code

claude added 2 commits October 6, 2026 08:20
The handle sets the angle and rotation axis of every sequence as the box's
move and resize set its centre and size. On pulserver's console the
Transversal plane's turn is written right-handed about its axis, and the box
is redrawn turned on the plane it was turned on.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01Afq4fxyjbebF7KbvaNC1uh
@mcencini mcencini self-assigned this Oct 6, 2026
@mcencini
mcencini merged commit b6a2573 into master Oct 6, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants