Updated hotkey presets to the specified defaults. Closes LT-21
This commit is contained in:
parent
646ffb2b46
commit
37fa29cce4
@ -51,11 +51,19 @@ Template.viewer.onCreated(function() {
|
|||||||
Session.set('UpdateCINE', Random.id());
|
Session.set('UpdateCINE', Random.id());
|
||||||
},
|
},
|
||||||
toggleLesionTrackerTools: toggleLesionTrackerTools,
|
toggleLesionTrackerTools: toggleLesionTrackerTools,
|
||||||
clearTools: clearTools
|
clearTools: clearTools,
|
||||||
|
lesion: function() {
|
||||||
|
toolManager.setActiveTool("lesion");
|
||||||
|
},
|
||||||
|
nonTarget: function() {
|
||||||
|
toolManager.setActiveTool("nonTarget");
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
// The hotkey can also be an array (e.g. ["NUMPAD0", "0"])
|
// The hotkey can also be an array (e.g. ["NUMPAD0", "0"])
|
||||||
OHIF.viewer.defaultHotkeys.toggleLesionTrackerTools = "Y";
|
OHIF.viewer.defaultHotkeys.toggleLesionTrackerTools = "O";
|
||||||
|
OHIF.viewer.defaultHotkeys.lesion = "T"; // Target
|
||||||
|
OHIF.viewer.defaultHotkeys.nonTarget = "N"; // Non-target
|
||||||
|
|
||||||
// Enable hotkeys
|
// Enable hotkeys
|
||||||
enableHotkeys();
|
enableHotkeys();
|
||||||
|
|||||||
@ -10,10 +10,8 @@ Meteor.startup(function() {
|
|||||||
defaultTool: "ESC",
|
defaultTool: "ESC",
|
||||||
angle: "A",
|
angle: "A",
|
||||||
stackScroll: "S",
|
stackScroll: "S",
|
||||||
wwwcRegion: "R",
|
|
||||||
pan: "P",
|
pan: "P",
|
||||||
magnify: "M",
|
magnify: "M",
|
||||||
length: "L",
|
|
||||||
scrollDown: "DOWN",
|
scrollDown: "DOWN",
|
||||||
scrollUp: "UP",
|
scrollUp: "UP",
|
||||||
nextPanel: "RIGHT",
|
nextPanel: "RIGHT",
|
||||||
@ -22,11 +20,10 @@ Meteor.startup(function() {
|
|||||||
flipV: "V",
|
flipV: "V",
|
||||||
flipH: "H",
|
flipH: "H",
|
||||||
wwwc: "W",
|
wwwc: "W",
|
||||||
annotate: "T",
|
zoom: "Z",
|
||||||
cinePlay: "SPACE",
|
cinePlay: "SPACE",
|
||||||
rotateR: "F",
|
rotateR: "R",
|
||||||
rotateL: "G",
|
rotateL: "L",
|
||||||
toggleTools: 'TAB',
|
|
||||||
toggleOverlayTags: 'SHIFT',
|
toggleOverlayTags: 'SHIFT',
|
||||||
WLPresetSoftTissue: ["NUMPAD1", "1"],
|
WLPresetSoftTissue: ["NUMPAD1", "1"],
|
||||||
WLPresetLung: ["NUMPAD2", "2"],
|
WLPresetLung: ["NUMPAD2", "2"],
|
||||||
@ -53,6 +50,9 @@ Meteor.startup(function() {
|
|||||||
wwwc: function() {
|
wwwc: function() {
|
||||||
toolManager.setActiveTool("wwwc");
|
toolManager.setActiveTool("wwwc");
|
||||||
},
|
},
|
||||||
|
zoom: function() {
|
||||||
|
toolManager.setActiveTool("zoom");
|
||||||
|
},
|
||||||
angle: function() {
|
angle: function() {
|
||||||
toolManager.setActiveTool("angle");
|
toolManager.setActiveTool("angle");
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user