This commit is contained in:
James A. Petts committed 2020-06-10 10:09:33 +02:00
1 parent 83497795ca
commit c8b3e130d0
7 files changed
+366 -204

No files matched your search

+4
View File
@@ -1,5 +1,7 @@
import cornerstoneTools from 'cornerstone-tools';
import DICOMSRDisplayTool from './tools/DICOMSRDisplayTool';
import dicomSRModule from './tools/modules/dicomSRModule';
import id from './id';
import TOOL_NAMES from './constants/toolNames';
@@ -17,5 +19,7 @@ export default function init({ configuration = {} }) {
TOOL_NAMES.DICOM_SR_DISPLAY_TOOL = conifg.TOOL_NAMES.DICOM_SR_DISPLAY_TOOL;
cornerstoneTools.register('module', id, dicomSRModule);
cornerstoneTools.addTool(DICOMSRDisplayTool);
cornerstoneTools.setToolEnabled(TOOL_NAMES.DICOM_SR_DISPLAY_TOOL);
}