feat(pmap): added support for parametric map (#4284)

This commit is contained in:
Leonardo Campos authored and GitHub committed 2024-07-24 16:40:28 -04:00
1 parent 9f3fc382c3
commit fc0064fd9d
22 files changed
+703 -18

No files matched your search

@@ -131,6 +131,11 @@ const OHIFCornerstoneViewport = React.memo((props: withAppTypes) => {
throw new Error('Viewport ID is required');
}
// Make sure displaySetOptions has one object per displaySet
while (displaySetOptions.length < displaySets.length) {
displaySetOptions.push({});
}
// Since we only have support for dynamic data in volume viewports, we should
// handle this case here and set the viewportType to volume if any of the
// displaySets are dynamic volumes