### 3.10 Keyboard Shortcuts

Most actions that you can do through Geomview's panels have equivalent teclas de atalho so that you can do the same action by typing a sequence of keys on the keyboard. This is useful for advanced users who are familiar with Geomview's capabilities and want to work quickly without having to have lots of panels cluttering up the screen. Keyboard shortcuts usually are indicated in square brackets ([ ]) near the corresponding item in a panel. For example, the tecla de atalho for Rotate mode is 'r'; this is indicated by "[r]" appearing before the word "Rotate" in the MOTION MODE browser. To use this tecla de atalho just hit the `r` key while the mouse cursor is in any Geomview window. You don't need to press the `<Enter>` or `<SPACE>` keys.

Some teclas de atalho consist of more than one key. In these cases just type the keys one after the other, with no `<Enter>` afterwards. Keyboard shortcuts are case sensitive. You can cancel a multi-key tecla de atalho that you have started by typing any invalid key, for example the space bar.

Keyboard commands apply while the cursor is in any janela de câmera and most control panels.

Many teclas de atalho allow numeric arguments which you type as a prefix to the command key(s). For example, the shortcut for Near clip in the câmera panel is `v n`. To set the near clip plane to ``0.5`', type `0.5vn`. Commands that don't take a numeric prefix toggle or reset the current value.

Most commands allow one of the following selection prefixes. If none is provided the command applies to the objeto alvo.

`g`
  world geom
`g#`
  #'th geom
`g*`
  All geoms
`c`
  current camera
`c#`
  #'th camera
`c*`
  All câmeras

For example, `g4af` means toggle the face drawing of objeto g4.

Simply typing a selection prefix, like `g4`, doesn't yet select an objeto; that only happens when a command, like `ae`, follows the prefix. To select an objeto as the target without doing anything else to it, use the `p` command. So `g3p` selects objeto g3.

The text field in the upper left corner of the Main panel shows the state of the current tecla de atalho.

In addition to the teclas de atalho for the panel commands, there is also a shortcut for picking a objeto alvo: type the short name of the objeto followed by `p`. For example, to select objeto g3, type `g 3 p`. This only works with the short names — the ones that appear in square brackets ([ ]) in the Targets browser of the Main panel.

Below is a summary of all teclas de atalho.

Draw
  `af`
    Faces
  `ae`
    Edges
  `an`
    Normals
  `ab`
    Bounding Boxes
  `aV`
    Vectors
Shading
  `0as`
    Constant
  `1as`
    Flat
  `2as`
    Smooth
  `3as`
    Smooth, non-lighted
  `aT`
    allow transparency
  `at`
    texture mapping
Other
  `av`
    eVert normals: always face viewer
  `#aw`
    Line Width (pixels)
  `aC`
    handle concave polygons
  `#vc`
    edges Closer than faces (try 5-100)
Color
  `Cf`
    faces
  `Ce`
    edges
  `Cn`
    normals
  `Cb`
    bounding boxes
  `CB`
    background
Motions
  `r`
    rotate
  `t`
    translate
  `z`
    zoom FOV
  `f`
    fly
  `o`
    orbit
  `s`
    scale
  `w`
    recenter target
  `W`
    recenter all
  `h`
    halt
  `H`
    halt all
  `@`
    select center of movimento (e.g. `g 3 @`)
  `L`
    Look At objeto
Viewing
  `0vp`
    Orthographic view
  `1vp`
    Perspective view
  `vd`
    Draw other views' câmeras
  `#vv`
    field of View
  `#vn`
    near clip distance
  `#vf`
    far clip distance
  `v+`
    add new camera
  `vx`
    cursor on/off
  `vb`
    backfacing poly cull on/off
  `#vl`
    focal length
  `v~`
    Software shading on/off
Panels
  `Pm`
    Main
  `Pa`
    Appearance
  `Pl`
    Lighting
  `Po`
    Obscure
  `Pt`
    Tools
  `Pc`
    Câmeras
  `PC`
    Commands
  `Pf`
    Files
  `Ps`
    Save
  `P-`
    read commands from tty
  `PA`
    Credits ("about")
Lights
  `ls`
    show lights
  `le`
    edit lights
Space
  `me`
    Euclidean
  `mh`
    Hyperbolic
  `ms`
    Spherical
Model
  `mv`
    Virtual
  `mp`
    Projective
  `mc`
    Conformal
Other
  `0N`
    normalizaton: none
  `1N`
    normalization: each
  `2N all`
    normalization: all
  `ui`
    movimento: Inertia
  `uc`
    movimento: Constrain to axis
  `uo`
    movimento: objeto's Own coordinates
  `<`
  `Pf`
    load geometry/command file
  `dd`
    delete objeto alvo
  `>`
  `Ps`
    save state to file
  `TV`
    NTSC mode toggle
  `p`
    pick as objeto alvo (e.g. `g 3 p`) With no prefix, selects the objeto under the mouse cursor (like double-clicando the right mouse)