Skip to content

Add world-coordinate scale bar to Studio (#2259)#2601

Merged
akenmorris merged 1 commit into
masterfrom
amorris/2259-scale-bar
Jul 19, 2026
Merged

Add world-coordinate scale bar to Studio (#2259)#2601
akenmorris merged 1 commit into
masterfrom
amorris/2259-scale-bar

Conversation

@akenmorris

@akenmorris akenmorris commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Adds a "Show scale bar" option to Studio that overlays a labeled world-coordinate ruler around the shape, so the physical size of the data is readable directly in the 3D view.

Fixes #2259

Add a 'Show scale bar' toggle (in the surface/isosurface popup menu, next to the
bounding-box toggle) that draws a vtkCubeAxesActor: labeled tick marks in world
(physical) units along the edges of the shape's bounding box. Unlike a 2D legend
scale bar, ruled axes read correctly in a perspective view. The bounds are shared
with the bounding-box computation and the setting persists via Preferences.
@akenmorris
akenmorris force-pushed the amorris/2259-scale-bar branch from a7784d4 to b4240f7 Compare July 19, 2026 02:38
@akenmorris
akenmorris merged commit 4a63ae6 into master Jul 19, 2026
5 checks passed
@akenmorris
akenmorris deleted the amorris/2259-scale-bar branch July 19, 2026 02:39
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.

Scale bar showing world coordinates

1 participant