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

6 lines
307 B
TypeScript
Raw Normal View History

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