BRL-CAD
get_autoview.c File Reference
#include "bu/getopt.h"
#include "ged.h"
#include "./ged_private.h"
Include dependency graph for get_autoview.c:

Go to the source code of this file.

Functions

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

Detailed Description

The get_autoview command.

Definition in file get_autoview.c.

Function Documentation

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

Get view size and center such that all displayed solids would be in view

Definition at line 40 of file get_autoview.c.

References bu_getopt(), bu_optind, bu_vls_printf(), bu_vls_trunc(), db_i::dbi_base2local, rt_wdb::dbip, dl_bounding_sph(), ged_drawable::gd_headDisplay, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_DRAWABLE, GED_ERROR, ged::ged_gdp, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, SQRT_SMALL_FASTF, V3ARGS, VSETALL, X, Y, and Z.

Here is the call graph for this function: