- Rename lesion tool as bidirectional tool

- Remove measurementType property and use toolType property in the parts that uses measurementType
- Add toolType in syncMeasurementAndToolData method
- Hide Convert to Non-Target option in lesionLocationDialog for CRUNEX tools
This commit is contained in:
Aysel Afsar committed 2016-03-04 19:03:16 -05:00
1 parent 0b6776f777
commit b51628cc9f
16 files changed
+60 -45

No files matched your search

+3 -3
View File
@@ -41,9 +41,9 @@ Template.viewer.onCreated(function() {
},
toggleLesionTrackerTools: toggleLesionTrackerTools,
clearTools: clearTools,
lesion: function() {
bidirectional: function() {
// Used for hotkeys
toolManager.setActiveTool('lesion');
toolManager.setActiveTool('bidirectional');
},
nonTarget: function() {
// Used for hotkeys
@@ -54,7 +54,7 @@ Template.viewer.onCreated(function() {
// The hotkey can also be an array (e.g. ["NUMPAD0", "0"])
OHIF.viewer.defaultHotkeys = OHIF.viewer.defaultHotkeys || {};
OHIF.viewer.defaultHotkeys.toggleLesionTrackerTools = 'O';
OHIF.viewer.defaultHotkeys.lesion = 'T'; // Target
OHIF.viewer.defaultHotkeys.bidirectional = 'T'; // Target
OHIF.viewer.defaultHotkeys.nonTarget = 'N'; // Non-target
if (isTouchDevice()) {