Skip to content

Enable en face annotations and painting across the slab - #1022

Open
PaulHax wants to merge 2 commits into
enface-segmentation-projectionfrom
enface-slice-annotations
Open

PaulHax wants to merge 2 commits into
enface-segmentation-projectionfrom
enface-slice-annotations

Conversation

@PaulHax

@PaulHax PaulHax commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

Enable painting, rulers, rectangles, and polygons on en face views.

  • Rulers, rectangles, and polygons show whenever their source slice is inside the slab. New ones are placed on the slice at the slab midpoint, which the view labels.
  • Painting and erasing fill every slice in the slab, so a stroke matches what the projection shows.
  • Painting on an en face view turns that segment's en face eye on, since en face views start with every segment hidden.
  • Revealing an annotation or painted segment moves the slab only when it lies outside the current slab.
  • Polygon rasterization still fills only the polygon's own slice.

Scene save and restore are preserved.

Stacked on #1021.

@PaulHax
PaulHax added this pull request to stack #1023 November 10, 2026 17:12
@netlify

netlify Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for volview-dev ready!

Name Link
🔨 Latest commit 925f020
🔍 Latest deploy log https://app.netlify.com/projects/volview-dev/deploys/6b00b91c6de18dc69d5c9c7e
😎 Deploy Preview https://deploy-preview-1022--volview-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@PaulHax
PaulHax force-pushed the enface-slice-annotations branch from d9e97a1 to 49e2bbe Compare November 15, 2026 03:48
@PaulHax PaulHax changed the title Enable en face annotations on the nearest source slice Enable en face annotations and painting across the slab Nov 15, 2026
@PaulHax
PaulHax force-pushed the enface-slice-annotations branch from 49e2bbe to 653af36 Compare November 17, 2026 17:15
@PaulHax
PaulHax force-pushed the enface-slice-annotations branch from 653af36 to 89c4259 Compare November 17, 2026 17:22
@PaulHax
PaulHax force-pushed the enface-slice-annotations branch from 89c4259 to dca7ecf Compare November 17, 2026 17:30
@PaulHax
PaulHax force-pushed the enface-slice-annotations branch from dca7ecf to 1a08a92 Compare November 20, 2026 13:41
@PaulHax
PaulHax force-pushed the enface-slice-annotations branch from 1a08a92 to 6aef97b Compare November 20, 2026 14:38
Rulers, rectangles and polygons show whenever their slice is inside the
slab, and new ones still land on the midpoint slice. Painting and
erasing fill every slice in the slab, and the eyedropper samples the
whole slab column. Revealing an annotation or painted segment moves the
slab only when it is outside it, keeping the slab's thickness near a
volume edge.

En face views start with every segment hidden, so a stroke painted on
one turns that segment's en face eye on for the view. Erasing leaves the
eye alone.
@PaulHax
PaulHax force-pushed the enface-slice-annotations branch from 21ea28a to 925f020 Compare November 20, 2026 21:18
@PaulHax
PaulHax marked this pull request as ready for review November 20, 2026 21:18

This branch has not been deployed

No deployments
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