fix(segmentation): restrict overlay segmentation menu to same frame of reference as viewport background display set (#5900)
- Add FrameOfReferenceUID to SEG and RTSTRUCT displaySet in SOP Class Handlers so the FOR is available for filtering - Sync optimisticOverlayDisplaySets when background display set changes so the overlay menu reflects the correct state after a background switch - Add FOR matching guard to the hydrate segmentation synchronizer to prevent the hydration synchronizer from blindly mirroring segmentations from a source viewport to a target viewport if their primary Frames of Reference do not align. - fix segmentation overlay order reversal on viewport re-render
This commit is contained in:
1 parent
a875d7de1f
commit
b9029ef6f8
15 files changed
+223
-56
No files matched your search
@@ -230,7 +230,7 @@ async function _load(
|
||||
|
||||
function _measurementBelongsToDisplaySet({ measurement, displaySet }) {
|
||||
return (
|
||||
measurement.coords[0].ReferencedFrameOfReferenceSequence === displaySet.FrameOfReferenceUID
|
||||
measurement.coords[0].ReferencedFrameOfReferenceSequence === displaySet.frameOfReferenceUID
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user