Difference between revisions of "Documentation/4.0/SlicerApplication/KeyboardShortcuts"
From Slicer Wiki
Line 16: | Line 16: | ||
! align="left" |Action bound to key(s) | ! align="left" |Action bound to key(s) | ||
|- | |- | ||
− | | style="width:200px" | <font color="blue"> '''Ctrl+O''' | + | | style="width:200px" | <span style="background-color: green"><font color="blue"> '''Ctrl+O''' |
| align="left" |Load a new scene (clears existing scene) | | align="left" |Load a new scene (clears existing scene) | ||
|- | |- | ||
− | | style="width:200px" | <font color="blue"> '''Ctrl+A''' | + | | style="width:200px" | <span style="background-color: orange"><font color="blue"> '''Ctrl+A''' |
− | | align="left" |Import a scene (does not clear existing scene) | + | | align="left" |Import a scene (does not clear existing scene) <span style="background-color: orange">Brings up '''Add Data panel''' instead |
|- | |- | ||
− | | style="width:200px" | <font color="blue"> '''Ctrl+W''' | + | | style="width:200px" | <span style="background-color: green"><font color="blue"> '''Ctrl+W''' |
| align="left" | Close a scene | | align="left" | Close a scene | ||
|- | |- | ||
− | | style="width:200px" | <font color="blue"> '''Ctrl+H ''' | + | | style="width:200px" | <span style="background-color: red"><font color="blue"> '''Ctrl+H ''' |
| align="left" | Set the current module to be the "home" module -- the module that's exposed when Slicer starts up. | | align="left" | Set the current module to be the "home" module -- the module that's exposed when Slicer starts up. | ||
|- | |- | ||
− | | style="width:200px" | <font color="blue"> '''Ctrl+Z ''' | + | | style="width:200px" | <span style="background-color: red"><font color="blue"> '''Ctrl+Z ''' |
| align="left" | Undo the last undoable action | | align="left" | Undo the last undoable action | ||
|- | |- | ||
− | | style="width:200px" | <font color="blue"> '''Ctrl+Y ''' | + | | style="width:200px" | <span style="background-color: red"><font color="blue"> '''Ctrl+Y ''' |
| align="left" | Redo the last redoable action | | align="left" | Redo the last redoable action | ||
|- | |- | ||
− | | style="width:200px" | <font color="blue"> '''Space-key ''' | + | | style="width:200px" | <span style="background-color: green"><font color="blue"> '''Space-key ''' |
| align="left" | Toggles the display of Slicer's Edit Box. | | align="left" | Toggles the display of Slicer's Edit Box. | ||
|- | |- | ||
− | | style="width:200px" | <font color="blue"> '''Ctrl+P ''' | + | | style="width:200px" | <span style="background-color: orange"><font color="blue"> '''Ctrl+P ''' |
− | | align="left" | Display the Python console | + | | align="left" | Display the Python console <span style="background-color: orange"> Displays the QT-real console |
|- | |- | ||
| style="width:200px" | <font color="blue"> '''Ctrl+L ''' | | style="width:200px" | <font color="blue"> '''Ctrl+L ''' | ||
Line 75: | Line 75: | ||
| align="left" | Turn on the Slice Plane reformat widget in the active Slice Viewer | | align="left" | Turn on the Slice Plane reformat widget in the active Slice Viewer | ||
|- | |- | ||
− | | style="width:200px" | <font color="blue"> '''v-key''' | + | | style="width:200px" | <span style="background-color: green"><font color="blue"> '''v-key''' |
| align="left" | Toggles the slice plane visibility in the main 3D Viewer | | align="left" | Toggles the slice plane visibility in the main 3D Viewer | ||
|- | |- | ||
− | | style="width:200px" | <font color="blue"> '''r-key''' | + | | style="width:200px" | <span style="background-color: green"><font color="blue"> '''r-key''' |
| align="left" | Fits the slice view to the volume extents in the active Slice Viewer, or in all viewers if they are linked (the first non-none volume will be used in order of Background, Foreground and Label layers) | | align="left" | Fits the slice view to the volume extents in the active Slice Viewer, or in all viewers if they are linked (the first non-none volume will be used in order of Background, Foreground and Label layers) | ||
|- | |- | ||
− | | style="width:200px" | <font color="blue"> '''b-key''' | + | | style="width:200px" | <span style="background-color: green"><font color="blue"> '''b-key''' |
| align="left" | Decrement slice in the active Slice Viewer (left or down) by one unit of background pixel spacing | | align="left" | Decrement slice in the active Slice Viewer (left or down) by one unit of background pixel spacing | ||
|- | |- | ||
− | | style="width:200px" | <font color="blue"> '''f-key''' | + | | style="width:200px" | <span style="background-color: green"><font color="blue"> '''f-key''' |
| align="left" | Increment slice in the active Slice Viewer (right or up) by one unit of backgroun dpixel spacing | | align="left" | Increment slice in the active Slice Viewer (right or up) by one unit of backgroun dpixel spacing | ||
|- | |- | ||
Line 105: | Line 105: | ||
|- | |- | ||
| Toggle Maximize current window | | Toggle Maximize current window | ||
− | | Control-m | + | | <span style="background-color: red">Control-m |
| Make the current Slice or 3D View expand to full view space or return to previous size depending on current state | | Make the current Slice or 3D View expand to full view space or return to previous size depending on current state | ||
|- | |- | ||
| Toggle Control Pane View | | Toggle Control Pane View | ||
− | | F5 (KWW default) | + | | <span style="background-color: green">F5 (KWW default) |
| Show or hide the Control Pane depending on state | | Show or hide the Control Pane depending on state | ||
|} | |} | ||
Line 123: | Line 123: | ||
|- | |- | ||
| Open Scene... | | Open Scene... | ||
− | | Control-O | + | | <span style="background-color: green">Control-O |
| Bring up file browser to locate .mrml file | | Bring up file browser to locate .mrml file | ||
|- | |- | ||
| Save Scene | | Save Scene | ||
− | | Control-S | + | | <span style="background-color: green">Control-S |
| Save current scene no browser, disabled if no current file. If no current scene, does Save As... | | Save current scene no browser, disabled if no current file. If no current scene, does Save As... | ||
|- | |- | ||
Line 156: | Line 156: | ||
| style="width:10%" | Slicer2 Key | | style="width:10%" | Slicer2 Key | ||
|- | |- | ||
− | | Toggle link | + | | <span style="background-color: red">Toggle link |
− | | l | + | | <span style="background-color: red">l |
| Toggle linking/unlinking all slices. | | Toggle linking/unlinking all slices. | ||
| None | | None | ||
|- | |- | ||
− | | Next slice for this slice viewer | + | | <span style="background-color: green">Next slice for this slice viewer |
| Right Arrow and Up Arrow and f | | Right Arrow and Up Arrow and f | ||
| Axial: move Superior, Sag: Right, Cor: Anterior | | Axial: move Superior, Sag: Right, Cor: Anterior | ||
| Right Arrow | | Right Arrow | ||
|- | |- | ||
− | | Previous slice for this slice viewer | + | | <span style="background-color: green">Previous slice for this slice viewer |
| Left Arrow and Down Arrow and b | | Left Arrow and Down Arrow and b | ||
| Axial: move Inferior, Sag: Left, Cor: Posterior | | Axial: move Inferior, Sag: Left, Cor: Posterior | ||
Line 176: | Line 176: | ||
| Same | | Same | ||
|- | |- | ||
− | | Toggle Slice Visible | + | | <span style="background-color: green">Toggle Slice Visible |
| v | | v | ||
| Make the current slice window show as a plane in the 3D view (respects linking) | | Make the current slice window show as a plane in the 3D view (respects linking) | ||
| None | | None | ||
|- | |- | ||
− | | Toggle Foreground/Background Opacity | + | | <span style="background-color: red">Toggle Foreground/Background Opacity |
− | | t | + | | <span style="background-color: red">t |
| Change opacity of foreground overlay (respects linking) (toggles between current foreground opacity and hidden) | | Change opacity of foreground overlay (respects linking) (toggles between current foreground opacity and hidden) | ||
| None | | None | ||
|- | |- | ||
− | | Toggle Label Overlay | + | | <span style="background-color: green">Toggle Label Overlay |
− | | g | + | | <span style="background-color: green">g |
| Show/Hide Label for this slice (respects linking) (toggles between current label opacity and hidden) | | Show/Hide Label for this slice (respects linking) (toggles between current label opacity and hidden) | ||
| None | | None | ||
|- | |- | ||
− | | Cycle Orientations | + | | <span style="background-color: red">Cycle Orientations |
− | | Tab | + | | <span style="background-color: red">Tab |
| Cycle through focus in Axial/Sagittal/Coronal/3D window | | Cycle through focus in Axial/Sagittal/Coronal/3D window | ||
| None | | None | ||
|- | |- | ||
− | | Cycle All Orientations | + | | <span style="background-color: green">Cycle All Orientations |
− | | Shift-Tab | + | | <span style="background-color: green">Shift-Tab |
| Cycle through focus in Axial/Sagittal/Coronal/3D window in opposite direction | | Cycle through focus in Axial/Sagittal/Coronal/3D window in opposite direction | ||
| None | | None | ||
|- | |- | ||
− | | Fit to window | + | | <span style="background-color: green">Fit to window |
− | | r | + | | <span style="background-color: green">r |
| Set the field of view to match the full extent of the foreground and background volumes (respects linking) | | Set the field of view to match the full extent of the foreground and background volumes (respects linking) | ||
| None | | None | ||
Line 217: | Line 217: | ||
| style="width:10%" | Slicer2 Key | | style="width:10%" | Slicer2 Key | ||
|- | |- | ||
− | | Wireframe | + | | <span style="background-color: green">Wireframe |
− | | w | + | | <span style="background-color: green">w |
| change render mode to wireframe | | change render mode to wireframe | ||
| Same | | Same | ||
|- | |- | ||
− | | Shaded | + | | <span style="background-color: green">Shaded |
− | | s | + | |<span style="background-color: green">s |
| change render mode to shaded | | change render mode to shaded | ||
| Same | | Same | ||
|- | |- | ||
− | | Reset View | + | | <span style="background-color: green">Reset View |
− | | r | + | | <span style="background-color: green">r |
| Set camera to see all objects | | Set camera to see all objects | ||
| None | | None | ||
Line 252: | Line 252: | ||
|- | |- | ||
| Application Menu | | Application Menu | ||
− | | Space Bar | + | | <span style="background-color: red">Space Bar |
| Brings up a popup menu with all the application operations and their key binding information | | Brings up a popup menu with all the application operations and their key binding information | ||
|- | |- | ||
− | | Module Navigation | + | | <span style="background-color: red">Module Navigation |
− | | Control-<number> | + | | <span style="background-color: red">Control-<number> |
| Jumps to the numbered module (number order is the same as the order of the shortcut icons in the toolbar at the top of the application. | | Jumps to the numbered module (number order is the same as the order of the shortcut icons in the toolbar at the top of the application. | ||
|- | |- | ||
− | | Move through module history | + | | <span style="background-color: red">Move through module history |
− | | Control-PageUp/PageDown | + | | <span style="background-color: red">Control-PageUp/PageDown |
| Short cuts for the two arrow buttons next to the module popup menu | | Short cuts for the two arrow buttons next to the module popup menu | ||
|- | |- | ||
− | | Search for Module | + | | <span style="background-color: red">Search for Module |
− | | Control-F | + | | <span style="background-color: red">Control-F |
| Starts an incremental search through the module names and descriptions, terminated by Enter to jump to the module. Probably needs a dialog box. | | Starts an incremental search through the module names and descriptions, terminated by Enter to jump to the module. Probably needs a dialog box. | ||
|} | |} | ||
Line 324: | Line 324: | ||
|- | |- | ||
| Open Editor Tool Box | | Open Editor Tool Box | ||
− | | Space Bar | + | | <span style="background-color: green">Space Bar |
| Opens the Editor Tool Box -- normally this is a pop-up window, but you can turn it into a persistent window by clicking the 'pin open' icon | | Opens the Editor Tool Box -- normally this is a pop-up window, but you can turn it into a persistent window by clicking the 'pin open' icon | ||
|- | |- | ||
− | | Open Color Selector | + | | <span style="background-color: red">Open Color Selector |
− | | c | + | | <span style="background-color: red">c |
| Opens an interface for choosing a color | | Opens an interface for choosing a color | ||
|- | |- | ||
− | | Move to Next Slice | + | | <span style="background-color: green">Move to Next Slice |
− | | f | + | | <span style="background-color: green">f |
− | | Displays the next | + | | Displays the next slicegreen |
|- | |- | ||
− | | Move to Previous Slice | + | | <span style="background-color: green">Move to Previous Slice |
− | | b | + | | <span style="background-color: green">b |
| Displays the previous slice | | Displays the previous slice | ||
|- | |- | ||
− | | Color toggle to black | + | | <span style="background-color: red">Color toggle to black |
− | | d | + | | <span style="background-color: red">d |
| Use this while painting or drawing to quickly erase the label just specified | | Use this while painting or drawing to quickly erase the label just specified | ||
|- | |- | ||
− | | Apply outline | + | | <span style="background-color: red">Apply outline |
− | | a | + | | <span style="background-color: red">a |
| Applies the current outline in Draw Effect | | Applies the current outline in Draw Effect | ||
|- | |- | ||
− | | Delete last point in Draw Effect | + | | <span style="background-color: green">Delete last point in Draw Effect |
− | | x | + | | <span style="background-color: green">x |
| Deletes the last point in Draw Effect | | Deletes the last point in Draw Effect | ||
|- | |- |
Revision as of 17:06, 12 July 2011
Home < Documentation < 4.0 < SlicerApplication < KeyboardShortcutsThis page is currently a cut and paste from 3.6. It will be updated
Contents
Application Hot-keys (keyboard accelerators)
Developers: Please note the following reserved key combinations!
- Alt-Left mouse button should always be available as a substitute for the middle mouse button to support two button mice. On Mac, you can also use the command key with a mouse click to get middle mouse events.
- Contrl-Left mouse button should always be available as a substitute for the right mouse button to support one button mice (on Mac).
Key(s) | Action bound to key(s) |
---|---|
Ctrl+O | Load a new scene (clears existing scene) |
Ctrl+A | Import a scene (does not clear existing scene) Brings up Add Data panel instead |
Ctrl+W | Close a scene |
Ctrl+H | Set the current module to be the "home" module -- the module that's exposed when Slicer starts up. |
Ctrl+Z | Undo the last undoable action |
Ctrl+Y | Redo the last redoable action |
Space-key | Toggles the display of Slicer's Edit Box. |
Ctrl+P | Display the Python console Displays the QT-real console |
Ctrl+L | Create a new fiducial list. |
Ctrl+I | Toggle between "Persistent Place" and "Transform View" interaction modes. |
Ctrl+M | Create a new Ruler measurement between the last two placed fiducials. |
Slice Viewer Hot-keys (keyboard accelerators)
Key(s) | Action bound to key(s) |
---|---|
` (back-tick key) | Navigate to next fiducial in the active Slice Viewer, or in all viewers if they are linked (back-tick is the left single-quote on the key with the tilde (~) character in the upper left side of the keyboard) |
Ctrl+` (back-tick key) | Navigate to next fiducial in all Slice Viewers, independent of their linked state |
Shift+` (back-tick key) | Navigate to the previous fiducial in the active Slice Viewer, or in all viewers if they are linked |
Ctrl+Shift+` (back-tick key) | Navigate to the previous fiducial in all Slice Viewers, independent of their linked state |
p-key | Place a new fiducial in the active Slice Viewer(adds to the current fiducial list, or creates a list if there are none) |
o-key | Turn on the Slice Plane reformat widget in the active Slice Viewer |
v-key | Toggles the slice plane visibility in the main 3D Viewer |
r-key | Fits the slice view to the volume extents in the active Slice Viewer, or in all viewers if they are linked (the first non-none volume will be used in order of Background, Foreground and Label layers) |
b-key | Decrement slice in the active Slice Viewer (left or down) by one unit of background pixel spacing |
f-key | Increment slice in the active Slice Viewer (right or up) by one unit of backgroun dpixel spacing |
Backspace-key | When the mouse is hovering over a fiducial in the Slice Viewer (turning it yellow), delete that fiducial |
Delete-key | When the mouse is hovering over a fiducial in the Slice Viewer (turning it yellow), delete that fiducial |
Global "hot-keys"
Window Behavior
Action | Slicer3 Key | Meaning |
Toggle Maximize current window | Control-m | Make the current Slice or 3D View expand to full view space or return to previous size depending on current state |
Toggle Control Pane View | F5 (KWW default) | Show or hide the Control Pane depending on state |
MRML
Action | Slicer3 Key | Meaning |
Open Scene... | Control-O | Bring up file browser to locate .mrml file |
Save Scene | Control-S | Save current scene no browser, disabled if no current file. If no current scene, does Save As... |
Save Scene As... | None | Bring up file browser to locate .mrml file |
Undo | Control-Z | Revert to last undo point |
Redo | Control-Y | Revert to last redo point |
Other Menu Items | Alt-<letter> | Bring up or invoke menu or menu item corresponding to letter |
Slice Manipulation
Action | Slicer3 Key | Meaning | Slicer2 Key |
Toggle link | l | Toggle linking/unlinking all slices. | None |
Next slice for this slice viewer | Right Arrow and Up Arrow and f | Axial: move Superior, Sag: Right, Cor: Anterior | Right Arrow |
Previous slice for this slice viewer | Left Arrow and Down Arrow and b | Axial: move Inferior, Sag: Left, Cor: Posterior | Left Arrow |
Linked Motion | Shift Key | Cause all other slice windows to scroll to RAS point at current cursor location | Same |
Toggle Slice Visible | v | Make the current slice window show as a plane in the 3D view (respects linking) | None |
Toggle Foreground/Background Opacity | t | Change opacity of foreground overlay (respects linking) (toggles between current foreground opacity and hidden) | None |
Toggle Label Overlay | g | Show/Hide Label for this slice (respects linking) (toggles between current label opacity and hidden) | None |
Cycle Orientations | Tab | Cycle through focus in Axial/Sagittal/Coronal/3D window | None |
Cycle All Orientations | Shift-Tab | Cycle through focus in Axial/Sagittal/Coronal/3D window in opposite direction | None |
Fit to window | r | Set the field of view to match the full extent of the foreground and background volumes (respects linking) | None |
3D Manipulation
Action | Slicer3 Key | Meaning | Slicer2 Key |
Wireframe | w | change render mode to wireframe | Same |
Shaded | s | change render mode to shaded | Same |
Reset View | r | Set camera to see all objects | None |
Toggle Rock Mode | TBD | Toggle rock mode | None |
Toggle Spin Mode | TBD | Toggle spin mode | None |
Action | Slicer3 Key | Meaning |
Application Menu | Space Bar | Brings up a popup menu with all the application operations and their key binding information |
Module Navigation | Control-<number> | Jumps to the numbered module (number order is the same as the order of the shortcut icons in the toolbar at the top of the application. |
Move through module history | Control-PageUp/PageDown | Short cuts for the two arrow buttons next to the module popup menu |
Search for Module | Control-F | Starts an incremental search through the module names and descriptions, terminated by Enter to jump to the module. Probably needs a dialog box. |
Module-specific hot-keys
Fiducials
Action | Slicer2 Key | Meaning | Slicer3 Key |
Add Fiducial | Control-p | Adds fiducial at current pointer position | p |
Delete Fiducial | Control-d | Deletes the fiducial picked from current mouse position (ignored if no fiducial is under mouse) in 2D slice window | backspace or delete key |
Select Fiducial | Control-q | Selects/Deselects the fiducial under the mouse | q |
To align slices with fiducials | Hold down the Control key while moving the fiducial | ||
Jump to the slices aligned to the next fiducial in the list | ` | ||
Jump to the slices aligned to the previous fiducial in the list | Control-` | ||
Create a new Measurements Ruler between the last two selected fiducials | Control-m |
Editor
Action | Slicer3 Key | Meaning |
Open Editor Tool Box | Space Bar | Opens the Editor Tool Box -- normally this is a pop-up window, but you can turn it into a persistent window by clicking the 'pin open' icon |
Open Color Selector | c | Opens an interface for choosing a color |
Move to Next Slice | f | Displays the next slicegreen |
Move to Previous Slice | b | Displays the previous slice |
Color toggle to black | d | Use this while painting or drawing to quickly erase the label just specified |
Apply outline | a | Applies the current outline in Draw Effect |
Delete last point in Draw Effect | x | Deletes the last point in Draw Effect |
Fiducial cycle forward | ` | Cycles through fiducials in a fiducial list (this is the backtick key, usually between tab and escape). |
Fiducial cycle backward | Control-` | Cycles in reverse direction through a fiducial list. |
Platform-specific hot-keys
Action | Slicer3 Key | Meaning |
Middle-mouse equivalent | shift + left click on the track pad | running either os X or windows in bootcamp on a macbook pro |