Skip to content

BUG: Set image geometry units in MTRSim - #2

Draft
jmarquisbq wants to merge 1 commit into
developfrom
fix/geometry-coordinates-and-units
Draft

jmarquisbq wants to merge 1 commit into
developfrom
fix/geometry-coordinates-and-units

Conversation

@jmarquisbq

@jmarquisbq jmarquisbq commented Nov 25, 2026 •

Copy link
Copy Markdown

Summary

Pass the length unit explicitly when MTRSim creates an image geometry. ODF axes represent Euler angles, and the rendered ODF page uses pixel indices. Both geometries use Unspecified. The simulation volume uses Micrometer for manual inputs and Millimeter for JSON configuration values. The numeric spacing retains the input scale. Test fixtures also check the results of setting spacing and origin. 10 files changed, +39 / −17 lines.

Related PRs

Test plan

  • The Linux Release plugin builds with the explicit-unit constructor. All 63 MTRSim CTest cases pass, including the JSON and manual simulation modes, the ODF volume, and the presentation image.
  • Two combined validation checks report pre-existing MTRSim parameter-key findings in the ODF example pipeline and in Compute ODF. Both findings reproduce with the same diagnostics when the unmodified target branches are built together.

Related Issue

Related to BlueQuartzSoftware/simplnx#1878.

Signed-off-by: Jessica Marquis <jessica.marquis@bluequartz.net>
@imikejackson
imikejackson force-pushed the fix/geometry-coordinates-and-units branch from d2831ae to 9567951 Compare November 28, 2026 15:56
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.

1 participant