BRL-CAD
rt_piecestate Struct Reference

#include <raytrace.h>

Collaboration diagram for rt_piecestate:
[legend]

Data Fields

uint32_t magic
 
long ray_seqno
 res_nshootray More...
 
struct soltabstp
 
struct bu_bitvshot
 
fastf_t mindist
 dist ray enters solids bounding volume More...
 
fastf_t maxdist
 dist ray leaves solids bounding volume More...
 
struct rt_htbl htab
 accumulating hits here More...
 
const union cuttercutp
 current bounding volume More...
 

Detailed Description

Holds onto memory re-used by rt_shootray() from shot to shot. One of these for each solid which uses pieces. There is a separate array of these for each cpu. Storage for the bit vectors is pre-allocated at prep time. The array is subscripted by st_piecestate_num. The bit vector is subscripted by values found in rt_piecelist pieces[].

Definition at line 1377 of file raytrace.h.

Field Documentation

uint32_t magic

Definition at line 1378 of file raytrace.h.

Referenced by rt_res_pieces_clean(), and rt_res_pieces_init().

long ray_seqno

res_nshootray

Definition at line 1379 of file raytrace.h.

Referenced by rt_shootray().

struct soltab* stp

Definition at line 1380 of file raytrace.h.

Referenced by rt_bot_piece_hitsegs(), rt_res_pieces_init(), rt_shootray(), and XGLUE().

struct bu_bitv* shot

Definition at line 1381 of file raytrace.h.

Referenced by rt_res_pieces_clean(), rt_res_pieces_init(), rt_shootray(), and XGLUE().

fastf_t mindist

dist ray enters solids bounding volume

Definition at line 1382 of file raytrace.h.

Referenced by rt_shootray().

fastf_t maxdist

dist ray leaves solids bounding volume

Definition at line 1383 of file raytrace.h.

Referenced by rt_shootray().

struct rt_htbl htab

accumulating hits here

Definition at line 1384 of file raytrace.h.

Referenced by rt_bot_piece_hitsegs(), rt_res_pieces_clean(), rt_res_pieces_init(), rt_shootray(), and XGLUE().

const union cutter* cutp

current bounding volume

Definition at line 1385 of file raytrace.h.

Referenced by rt_res_pieces_init(), and rt_shootray().


The documentation for this struct was generated from the following file: