BRL-CAD
setview.c File Reference
#include "common.h"
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include "./ged_private.h"
Include dependency graph for setview.c:

Go to the source code of this file.

Functions

int ged_setview (struct ged *gedp, int argc, const char *argv[])
 

Detailed Description

The setview command.

Definition in file setview.c.

Function Documentation

int ged_setview ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Set the view orientation given the angles x, y and z in degrees.

Definition at line 36 of file setview.c.

References bn_decode_vect(), bn_mat_angles(), bu_vls_printf(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_VIEW, GED_ERROR, ged::ged_gvp, GED_HELP, GED_OK, ged::ged_result_str, ged_view_update(), bview::gv_rotation, usage(), X, Y, and Z.

Here is the call graph for this function: