bundle.c File Reference

#include "common.h"
#include <stdio.h>
#include <math.h>
#include "machine.h"
#include "vmath.h"
#include "bu.h"
#include "bn.h"
#include "raytrace.h"
#include "./debug.h"

Include dependency graph for bundle.c:

Go to the source code of this file.

Functions

void rt_plot_cell (const union cutter *cutp, struct rt_shootray_status *ssp, struct bu_list *waiting_segs_hd, struct rt_i *rtip)
int rt_find_nugrid (struct nugridnode *nugnp, int axis, fastf_t val)
const union cutterrt_advance_to_next_cell (register struct rt_shootray_status *ssp)
int rt_shootray_bundle (register struct application *ap, struct xray *rays, int nrays)


Detailed Description

NOTE: This is experimental code right now.

Author - Michael John Muuss

Source - SECAD/VLD Computing Consortium, Bldg 394 The U. S. Army Ballistic Research Laboratory Aberdeen Proving Ground, Maryland 21005

Definition in file bundle.c.


Function Documentation

void rt_plot_cell const union cutter cutp,
struct rt_shootray_status ssp,
struct bu_list waiting_segs_hd,
struct rt_i rtip
 

int rt_find_nugrid struct nugridnode *  nugnp,
int  axis,
fastf_t  val
 

Referenced by rt_advance_to_next_cell().

int rt_shootray_bundle register struct application ap,
struct xray rays,
int  nrays
 

Definition at line 103 of file bundle.c.

References rt_shootray_status::abs_inv_dir, rt_shootray_status::ap, BACKING_DIST, cutter::bn, cutter::boxnode::bn_len, cutter::boxnode::bn_list, rt_shootray_status::box_end, rt_shootray_status::box_start, BU_ASSERT_PTR, BU_BITSET, BU_BITTEST, bu_bitv_clear(), BU_CK_PTBL, BU_GETSTRUCT, BU_LIST_DEQUEUE, BU_LIST_FIRST, BU_LIST_INIT, BU_LIST_IS_EMPTY, BU_LIST_UNINITIALIZED, bu_log(), bu_log_indent_delta(), BU_PTBL_GET, bu_ptbl_init(), rt_shootray_status::curcut, rt_shootray_status::curmax, rt_shootray_status::curmin, CUT_BOXNODE, CUT_CUTNODE, CUT_NUGRIDNODE, cutter::cut_type, CUTTER_NULL, DEBUG_ALLHITS, DEBUG_ALLRAYS, DEBUG_PARTITION, DEBUG_SHOOT, rt_shootray_status::dist_corr, FAST, get_solidbitv(), INFINITY, rt_shootray_status::inv_dir, bu_ptbl::l, seg::l, rt_shootray_status::lastcell, rt_shootray_status::lastcut, MAGSQ, rt_i::mdl_max, rt_i::mdl_min, rt_shootray_status::model_end, rt_shootray_status::model_start, NEAR_ZERO, rt_i::needprep, rt_shootray_status::newray, rt_i::nsolids, cutter::nugridnode::nu_axis, cutter::nugridnode::nu_cells_per_axis, cutter::nugn, NULL, rt_shootray_status::obox_end, rt_shootray_status::obox_start, rt_shootray_status::odist_corr, rt_shootray_status::old_status, partition::pt_back, partition::pt_forw, PT_HD_MAGIC, partition::pt_magic, xray::r_dir, xray::r_max, xray::r_pt, resource::re_cpu, resource::re_magic, resource::re_ndup, resource::re_nempty_cells, resource::re_nmiss_model, resource::re_parthead, resource::re_prune_solrpp, resource::re_region_ptbl, resource::re_shot_miss, resource::re_shots, RESOURCE_MAGIC, RESOURCE_NULL, rt_shootray_status::resp, rt_shootray_status::rstep, rt_advance_to_next_cell(), RT_AP_CHECK, RT_AP_MAGIC, RT_BADVEC, rt_bomb(), RT_CK_AP, RT_CK_RAY, RT_CK_RESOURCE, RT_CK_RTI, RT_G_DEBUG, rt_in_rpp(), rt_init_resource(), rt_pr_cut(), rt_prep(), RT_RAY_MAGIC, rt_uniresource, rt_i::rti_resources, SQRT_SMALL_FASTF, status, V3ARGS, VJOIN1, VMOVE, VPRINT, VSCALE, VSET, X, Y, and Z.

Here is the call graph for this function:


Generated on Mon Sep 18 01:25:04 2006 for BRL-CAD by  doxygen 1.4.6