persp { <window> }
Display a perspective view of the model corresponding to the current perspective viewing parameters.
<window>
A window identifier.
The window must be a graphic window. If omitted, the current graphic window
is used.
-dbt=<num>
A transition style to be invoked at the end of the contents repaint. This
feature is used only when double buffering is active for the window and
facilitates presentation-type effects. See here
for a description of all available transition styles. If this switch is
omitted, the transition style of the window is used (see window.double_buffering).
-draw
Draw the model. This is the default. Using -no_draw will suppress the
draw.
-el=<angle>
The angle of elevation (negative angles look down on the model). <angle>
should be in the range -89.5 to +89.5 degrees.
-eye=<point>
The eye position. This is computed relative to the current eye position.
-fit
Use the dimensions of the orthogonal box to fit the model into the window,
using the current viewing view. This redefines the eye position.
-foc=<point>
The focus position. This is computed relative to the current focus position.
-lens=<angle>
The
lens angle. <angle>
should be in the range 4 to 120 degrees. For new views the default value
is 60 degrees.
-pl=<angle>
The plan angle of view.
-siz=<point>
The screen size. This indicates the dimensions of the frame when plotted.
For screen viewing, this parameter is not relevant.
-yon=<num>
The depth of view. This indicates the far cutoff distance measured from the eye.
A value of 0 (the default) will set it to infinity.
-z=<num>
Zoom in or out of the model by a distance. A plus value zooms in, a negative value
zooms out. This redefines the eye position.
-zf=<num>
Zoom in or out of the model by a percentage of the distance between the eye and
focus. A plus value zooms in, a negative value zooms out. This redefines
the eye position.
If the window is not currently in use, or is not a graphic window, no action is taken.
Using this command without parameters will just redraw the model using the current perspective parameters.
Draw a perspective view in the current graphic window.
persp -fit
Change the eye and focus positions.
persp win2, -eye=(-5000,-5000,5000), -foc=p0
Zoom in by 200 modeling units.
persp -z=200
Commands: |
|
Identifiers: |
angle_mode (string) |
Structures: |
window (graphic) |