BRL-CAD
Loading...
Searching...
No Matches
#include "common.h"
#include "vmath.h"
#include "rt/defines.h"
#include "rt/db_instance.h"
#include "rt/application.h"
#include "rt/geom.h"
#include "rt/xray.h"
Include dependency graph for shoot.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define RT_GEN_OBJ_PNTS_SURF   0x1
 save only the first and last hit point on a ray
 
#define RT_GEN_OBJ_PNTS_GRID   0x2
 sample using an XYZ grid based on the bounding box (default if no method flags are specified)
 
#define RT_GEN_OBJ_PNTS_RAND   0x4
 sample using Marsaglia sampling on the bounding sphere with pseudo random numbers
 
#define RT_GEN_OBJ_PNTS_SOBOL   0x8
 sample using Marsaglia sampling on the bounding sphere with Sobol' low-discrepancy-sequence generation
 

Functions

int rt_shootray (struct application *ap)
 Shoot a ray.
 
int rt_shootrays (struct application_bundle *bundle)
 Shoot a bundle of rays.
 
struct partitionrt_shootray_simple (struct application *ap, point_t origin, vect_t direction)
 
int rt_shootray_bundle (struct application *ap, struct xray *rays, int nrays)
 
void rt_add_res_stats (struct rt_i *rtip, struct resource *resp)
 
void rt_zero_res_stats (struct resource *resp)
 
void rt_res_pieces_clean (struct resource *resp, struct rt_i *rtip)
 
void rt_res_pieces_init (struct resource *resp, struct rt_i *rtip)
 
void rt_vstub (struct soltab *stp[], struct xray *rp[], struct seg segp[], int n, struct application *ap)
 
int rt_gen_obj_pnts (struct rt_pnts_internal *rpnts, fastf_t *avg_thickness, struct db_i *dbip, const char *obj, struct bn_tol *tol, int flags, int max_pnts, int max_time, int verbosity)
 
int rt_sample_pnts (struct bv_scene_obj *s, struct rt_db_internal *ip)