LT-22: Bi-directional tool (work-in-progress)
This commit is contained in:
1 parent
9027f5d107
commit
32ab6ced96
5 files changed
+456
-1
No files matched your search
@@ -9,8 +9,14 @@ Meteor.startup(function() {
|
||||
touch: cornerstoneTools.nonTargetTouch
|
||||
});
|
||||
|
||||
toolManager.addTool('biDirectional', {
|
||||
mouse: cornerstoneTools.biDirectional,
|
||||
touch: cornerstoneTools.biDirectionalTouch
|
||||
});
|
||||
|
||||
var states = toolManager.getToolDefaultStates();
|
||||
states.deactivate.push('lesion');
|
||||
states.deactivate.push('nonTarget');
|
||||
|
||||
toolManager.setToolDefaultStates(states);
|
||||
});
|
||||
@@ -67,6 +67,14 @@ 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;
|
||||
|
||||
Reference in new issue
Block a user