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