next up previous contents index
Next: Primary Command FEMGEN Up: Primary Command EYE Previous: EYE WALK eye_point [[view_point] [[up_point] [size]]]

EYE ZOOM Control

         

This command may be used to simultaneously scale and translate the current drawing of the model.

Note that when the Open GL driver is available dynamic rotate, zoom and pan are activated with <CTRL> and the left, middle or right mouse buttons respectively.


Control Comments
IN [/CURSOR] The cursor may be used twice to define opposite corners
[ndc1 ndc2] of the zoom window (this is the default). The current
picture is then transformed so that the contents of the
zoom window expand to fit the current viewport.
Alternatively, opposite corners of the zoom window may
be specified in normalised device co-ordinates (pairs of
screen co-ordinates in the range 0-1).
OUT [/CURSOR] The cursor may be used twice to define opposite corners
[ndc1 ndc2] of the zoom window (this is the default). The current
picture is then transformed so that the contents of the
zoom window expand to fit the current viewport.
Alternatively, opposite corners of the zoom window may
be specified in normalised device co-ordinates (pairs of
screen co-ordinates in the range 0-1).
/CURSOR This is equivalent to the command
EYE ZOOM IN /CURSOR.
ndc1 ndc2 This is equivalent to the command
EYE ZOOM IN ndc1 ndc2. (ndc1 and ndc2 are pairs
of screen co-ordinates in the range 0-1).
FACTOR Factor [coords] A scale factor may be specified. In addition a shift may
be specified by giving distances in model coordinates for
translations in the screen X, Y and Z directions. Note
that if shifts are applied with this command it is the eye
that shifts, rather than the model.

Examples:

1.
EYE ZOOM FACTOR .5

A scale factor of 0.5 is applied to the current view. The centre of the zoom is the centre of the current viewport.

2.
EYE ZOOM FACTOR 4 0 100

A scale factor of 4 is applied to the current view. The centre of the zoom is the centre of the current viewport. In addition a translation is applied such that the eye moves 100 model coordinates along the screen y-axis.

3.
EYE ZOOM IN 0 0 0.5 0.5

This would have the effect of zooming in on the bottom left hand corner of the screen.

See also the following commands

'EYE FRAME'


next up previous contents index
Next: Primary Command FEMGEN Up: Primary Command EYE Previous: EYE WALK eye_point [[view_point] [[up_point] [size]]]

Femsys Limited
1st October 1999