Files
ohif-viewer/extensions/cornerstone-dicom-pmap/src/utils/initPMAPToolGroup.ts
T

7 lines
307 B
TypeScript

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