feat: Start using group filtering to define measurements table layout (#4501)

This commit is contained in:
Bill Wallace authored and GitHub committed 2025-01-09 22:01:42 -05:00
1 parent bc73de9710
commit 82440e88d5
16 files changed
+357 -210

No files matched your search

+3 -2
View File
@@ -15,7 +15,6 @@ const ohif = {
wsiSopClassHandler:
'@ohif/extension-cornerstone.sopClassHandlerModule.DicomMicroscopySopClassHandler',
thumbnailList: '@ohif/extension-default.panelModule.seriesList',
measurements: '@ohif/extension-default.panelModule.measurements',
};
const tracked = {
@@ -46,6 +45,7 @@ const dicomSeg = {
const cornerstone = {
panel: '@ohif/extension-cornerstone.panelModule.panelSegmentation',
measurements: '@ohif/extension-cornerstone.panelModule.panelMeasurement',
};
const dicomPmap = {
@@ -150,7 +150,8 @@ function modeFactory() {
// leftPanels: [ohif.thumbnailList],
// rightPanels: [dicomSeg.panel, ohif.measurements],
leftPanels: [tracked.thumbnailList],
rightPanels: [cornerstone.panel, tracked.measurements],
// Can use cornerstone.measurements for all measurements
rightPanels: [cornerstone.panel, tracked.measurements, cornerstone.measurements],
// rightPanelClosed: true, // optional prop to start with collapse panels
viewports: [
{