fix(contour): set renderFill to false for contour (#4186)

This commit is contained in:
Ibrahim authored and Alireza committed 2024-05-31 11:41:19 -04:00
1 parent 2f811470a8
commit 471e6a1559
1 file changed
+5
+5
View File
@@ -141,6 +141,7 @@ export default async function init({
});
const labelmapRepresentation = cornerstoneTools.Enums.SegmentationRepresentations.Labelmap;
const contourRepresentation = cornerstoneTools.Enums.SegmentationRepresentations.Contour;
cornerstoneTools.segmentation.config.setGlobalRepresentationConfig(labelmapRepresentation, {
fillAlpha: 0.5,
@@ -149,6 +150,10 @@ export default async function init({
outlineOpacityInactive: 0.65,
});
cornerstoneTools.segmentation.config.setGlobalRepresentationConfig(contourRepresentation, {
renderFill: false,
});
const metadataProvider = OHIF.classes.MetadataProvider;
volumeLoader.registerVolumeLoader(