WIP reorganization

This commit is contained in:
Erik Ziegler committed 2018-12-12 09:10:39 +01:00
1 parent 6706dfe634
commit 054e37dfb7
266 files changed
+98 -620

No files matched your search

@@ -0,0 +1,15 @@
import { OHIF } from 'meteor/ohif:core';
OHIF.viewerbase.getImageDownloadDialogAnnotationTools = () => {
const { measurementTools } = OHIF.measurements.MeasurementApi.getConfiguration();
const resultSet = new Set();
Object.values(measurementTools).forEach(toolGroup => {
toolGroup.childTools.forEach(tool => {
if (tool.childTools) return;
resultSet.add(tool.cornerstoneToolType);
});
});
return Array.from(resultSet);
};