WIP reorganization
This commit is contained in:
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);
|
||||
};
|
||||
Reference in new issue
Block a user