VIEW(nged)

NAME

view - Gets/sets the view parameters (local units).

SYNOPSIS

view {subcommand}

DESCRIPTION

Gets/sets view parameters (local units). The view command accepts the following subcommands:

center [x y z] — get/set the view center of the current view.

size [val] — get/set the view size of the current view.

eye [x y z] — get/set the eye point of the current view.

ypr [y p r] — get/set the yaw, pitch, and roll of the current view.

quat [v1 v2 v3 v4] — get/set the view in the form of a quaternion.

aet[a e t] — get/set the azimuth, elevation, and twist of the current view.

EXAMPLES

The two examples show the use of the view command with the subcommand center.

Example 1. Get the view center.

mged> view center

Gets the view center.

Example 2. Set the view center at the origin of model space.

mged> view center 0 0 0

Sets the view center at the origin of model space.

AUTHOR

BRL-CAD Team

This software is Copyright (c) 1989-2021 by the United States Government as represented by U.S. Army Research Laboratory.

BUG REPORTS

Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org