'\" t
.\"     Title: VIEW
.\"    Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL-NS Stylesheets v1.76.1 <http://docbook.sf.net/>
.\"      Date: 08/28/2023
.\"    Manual: BRL-CAD MGED Commands
.\"    Source: BRL-CAD
.\"  Language: English
.\"
.TH "VIEW" "nged" "08/28/2023" "BRL\-CAD" "BRL\-CAD MGED Commands"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
view \- Gets/sets the view parameters (local units)\&.
.SH "SYNOPSIS"
.HP \w'\fBview\fR\ 'u
\fBview\fR {\fIsubcommand\fR}
.SH "DESCRIPTION"
.PP
Gets/sets view parameters (local units)\&. The
\fBview\fR
command accepts the following subcommands:
.PP
\fBcenter\fR
[\fIx y z\fR]\-\-get/set the view center of the current view\&.
.PP
\fBsize\fR
[\fIval\fR]\-\-get/set the view size of the current view\&.
.PP
\fBeye\fR
[\fIx y z\fR]\-\-get/set the eye point of the current view\&.
.PP
\fBypr\fR
[\fIy p r\fR]\-\-get/set the yaw, pitch, and roll of the current view\&.
.PP
\fBquat\fR[\fIv1 v2 v3 v4\fR]\-\-get/set the view in the form of a quaternion\&.
.PP
\fBaet\fR[\fIa e t\fR]\-\-get/set the azimuth, elevation, and twist of the current view\&.
.SH "EXAMPLES"
.PP
The two examples show the use of the
\fBview\fR
command with the subcommand
\fIcenter\fR\&.
.PP
\fBExample\ \&1.\ \&Get the view center.\fR
.PP

mged>\fBview center\fR
.PP
Gets the view center\&.
.PP
\fBExample\ \&2.\ \&Set the view center at the origin of model space.\fR
.PP

mged>\fBview center 0 0 0\fR
.PP
Sets the view center at the origin of model space\&.
.SH "AUTHOR"
.PP
BRL\-CAD Team
.SH "BUG REPORTS"
.PP
Reports of bugs or problems should be submitted via electronic mail to
devs@brlcad\&.org
