Documentation/4.0/SlicerApplication/MouseandKeyboardShortcuts

From Slicer Wiki
Revision as of 20:06, 15 December 2011 by Kikinis (talk | contribs) (→‎General)
Jump to: navigation, search
Home < Documentation < 4.0 < SlicerApplication < MouseandKeyboardShortcuts

Warning Warning: This page is work in progress


Please populate the following TOC.

Table of Content

Mouse

Keyboard 1

Keyboard 2

Mouse Operations

Below is basic information about how to use the three-, two-, and one-button mouse (or trackpad) on Windows, Mac, and Linux platforms to perform basic interaction operations in Slicer:

Window & Level

Left-clicking and dragging the mouse in any Slice viewer is a quick way to adjust Window and Level.

  • Adjust the middle value (level) of the greyscale window by moving the mouse up (increase level) or down (decrease level), and adjust the greyscale window size by moving the mouse to the left (decrease window size) or right (increase window size).
  • Slicer's Volumes Module provides a "Display" interface for more precise adjustments.

Cross Reference

Holding down the Shift-Key while moving the mouse in any Slice Viewer will cause other Slice Viewers to interactively scroll to the same RAS position indexed by the mouse. This feature is useful when inspecting and can be combined with cross-hairs (icon)

Rotate

Win, Mac, Linux in 3D Viewers

  • Left-click & drag

Zoom In & Out

Win, Mac, Linux in either Slice or 3D Viewers

  • 3 and 2 -Button Mouse: Right-Click & vertical drag
  • 1-Button Mouse: Ctrl+Left-Click & vertical drag
  • On the Mac Trackpad: two-finger click & vertical drag

Pan (Translate)

Win, Mac, Linux in either Slice or 3D Viewers

  • 3-Button Mouse: Middle-Click & drag
  • 2 and 1 -Button Mouse: Shift+Left-Click & drag

Selecting & Manipulating

Mousing over any "pickable" object in any of Slicer's viewers will cause the cursor to change from a "pointer" into a "picking hand". When the cursor shows a picking hand, left-clicking and dragging the mouse will pick and manipulate the object. Releasing the mouse button will de-select the object.

Mouse Modes

Slicer has two mouse modes: Transform (which allows interactive rotate, translate and zoom operations), and Place (which permits objects to be interactively placed). The toolbar icons that switch between these mouse modes are shown from left to right above, respectively.

  • Transform mode is the default interaction mode. By default, Place mode persists for one "place" operation after the Place Mode icon is selected, and then the mode switches modes back to Transform. Place mode can be made persistent (useful for creating multiple fiducial points, rulers, etc.) by checking the Persistent checkbox.
  • Place Fiducial is the default place option as shown above; options to place both Ruler and Region Of Interest (ROI) Widgets are available in the Place Mode menu as well.

Application Hot-keys (keyboard accelerators)

General

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 instead
Ctrl+W Close a scene
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.
w Show triangulated surface models as wireframes.
s Show triangulated surface models as shaded surfaces.

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)
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