Skip to content

BUG: Set image geometry units in MTRSim - #2

Merged
imikejackson merged 1 commit into
developfrom
fix/geometry-coordinates-and-units
Dec 3, 2026
Merged

imikejackson merged 1 commit into
developfrom
fix/geometry-coordinates-and-units

Conversation

@jmarquisbq

@jmarquisbq jmarquisbq commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

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 9567951 to 3d76f0f Compare December 3, 2026 14:48
@imikejackson
imikejackson merged commit 0245f6a into develop Dec 3, 2026
2 of 5 checks passed
@imikejackson
imikejackson deleted the fix/geometry-coordinates-and-units branch December 3, 2026 14:48
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