previous target tool is removed

biDirectional tool is changed as target tool
length and width measurements are added into lesion table
This commit is contained in:
Evren Ozkan committed 2015-12-23 17:53:44 -05:00
1 parent 9d322e7ac2
commit 91bd8cab47
9 files changed
+633 -993

No files matched your search

+1 -7
View File
@@ -9,11 +9,6 @@ Meteor.startup(function() {
touch: cornerstoneTools.nonTargetTouch
});
toolManager.addTool('biDirectional', {
mouse: cornerstoneTools.biDirectional,
touch: cornerstoneTools.biDirectionalTouch
});
toolManager.addTool('deleteLesionKeyboardTool', {
mouse: cornerstoneTools.deleteLesionKeyboardTool,
touch: cornerstoneTools.deleteLesionKeyboardTool
@@ -22,8 +17,7 @@ Meteor.startup(function() {
var states = toolManager.getToolDefaultStates();
states.deactivate.push('lesion');
states.deactivate.push('nonTarget');
states.deactivate.push('biDirectional');
states.activate.push('deleteLesionKeyboardTool');
toolManager.setToolDefaultStates(states);
});
@@ -67,14 +67,6 @@ Template.viewerMain.helpers({
iconClasses: 'fa fa-eye'
});
buttonData.push({
id: 'biDirectional',
title: 'Bi-Directional Tool',
classes: 'imageViewerTool',
iconClasses: 'fa fa-arrows-alt'
});
toolbarOptions.buttonData = buttonData;
toolbarOptions.includePlayClipButton = false;
toolbarOptions.includeLayoutButton = false;