LT-115: Configuring schemas for for CR-target and UN-Target
This commit is contained in:
1 parent
0cf9163885
commit
e640f5a007
14 files changed
+179
-63
No files matched your search
@@ -1,9 +1,9 @@
|
||||
import { OHIF } from 'meteor/ohif:core';
|
||||
|
||||
var responseTypes = {
|
||||
crTool: 'CR',
|
||||
exTool: 'EX',
|
||||
unTool: 'UN'
|
||||
targetCR: 'CR',
|
||||
targetUN: 'UN',
|
||||
targetEX: 'EX'
|
||||
};
|
||||
|
||||
convertNonTarget = function(measurementApi, measurementData, newTooltype) {
|
||||
|
||||
@@ -20,7 +20,7 @@ OHIF.lesiontracker.toggleLesionTrackerTools = () => {
|
||||
activate: [], //'deleteLesionKeyboardTool'
|
||||
deactivate: [],
|
||||
enable: [],
|
||||
disable: [ 'bidirectional', 'nonTarget', 'length', 'crTool', 'unTool', 'exTool' ]
|
||||
disable: [ 'bidirectional', 'nonTarget', 'length', 'targetCR', 'targetUN', 'targetEX' ]
|
||||
};
|
||||
|
||||
toolManager.setToolDefaultStates(toolDefaultStates);
|
||||
@@ -49,7 +49,7 @@ OHIF.lesiontracker.toggleLesionTrackerToolsButtons = (isEnabled) => {
|
||||
toolStates.disabledToolButtons = [];
|
||||
OHIF.lesiontracker.toggleLesionTrackerToolsHotKeys(true);
|
||||
} else {
|
||||
toolStates.disabledToolButtons = [ 'bidirectional', 'nonTarget', 'crTool', 'unTool', 'exTool',
|
||||
toolStates.disabledToolButtons = [ 'bidirectional', 'nonTarget', 'targetCR', 'targetUN', 'targetEX',
|
||||
'toggleHUD', 'toggleTrial', 'toolbarSectionEntry', 'toggleMeasurements' ];
|
||||
OHIF.lesiontracker.toggleLesionTrackerToolsHotKeys(false);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user