rrt.c File Reference
#include "common.h"
#include <stdlib.h>
#include "bu/cmd.h"
#include "./ged_private.h"
Include dependency graph for rrt.c:

Go to the source code of this file.


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

Detailed Description

The rrt command.

Definition in file rrt.c.

Function Documentation

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

Invoke any raytracing application with the current view.

Definition at line 37 of file rrt.c.

References _ged_current_gedp, _ged_run_rt(), bu_calloc(), bu_free(), bu_vls_trunc(), db_i::dbi_filename, rt_wdb::dbip, ged_drawable::gd_rt_cmd, ged_drawable::gd_rt_cmd_len, ged_build_tops(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_DRAWABLE, GED_CHECK_VIEW, ged_count_tops(), GED_ERROR, ged::ged_gdp, GED_OK, ged::ged_result_str, and ged::ged_wdbp.

Here is the call graph for this function: