rt_piecestate Struct Reference
[librt geometry, raytracing]

#include <raytrace.h>

Collaboration diagram for rt_piecestate:

Collaboration graph
[legend]

Data Fields

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

Detailed Description

R T _ P I E C E S T A T E

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 1401 of file raytrace.h.


Field Documentation

long magic
 

Definition at line 1402 of file raytrace.h.

Referenced by rt_res_pieces_clean(), and rt_res_pieces_init().

long ray_seqno
 

res_nshootray

Definition at line 1403 of file raytrace.h.

struct soltab* stp
 

Definition at line 1404 of file raytrace.h.

Referenced by rt_bot_piece_hitsegs(), and rt_res_pieces_init().

struct bu_bitv* shot
 

Definition at line 1405 of file raytrace.h.

Referenced by rt_res_pieces_clean(), and rt_res_pieces_init().

fastf_t mindist
 

dist ray enters solids bounding volume

Definition at line 1406 of file raytrace.h.

fastf_t maxdist
 

dist ray leaves solids bounding volume

Definition at line 1407 of file raytrace.h.

struct rt_htbl htab
 

accumulating hits here

Definition at line 1408 of file raytrace.h.

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

const union cutter* cutp
 

current bounding volume

Definition at line 1409 of file raytrace.h.

Referenced by rt_res_pieces_init().


The documentation for this struct was generated from the following file:
Generated on Mon Sep 18 01:25:15 2006 for BRL-CAD by  doxygen 1.4.6