Files
ohif-viewer/extensions/cornerstone-dicom-seg/src/utils/initSEGToolGroup.ts
2025-05-27 11:03:57 +07:00

8 lines
306 B
TypeScript

function createSEGToolGroupAndAddTools(ToolGroupService, customizationService, toolGroupId) {
const { tools } = customizationService.get('cornerstone.overlayViewportTools') ?? {};
return ToolGroupService.createToolGroupAndAddTools(toolGroupId, tools);
}
export default createSEGToolGroupAndAddTools;