#include <raytrace.h>
Collaboration diagram for partition:
Data Fields | |
long | pt_magic |
sanity check | |
partition * | pt_forw |
forwards link | |
partition * | pt_back |
backwards link | |
seg * | pt_inseg |
IN seg ptr (gives stp). | |
hit * | pt_inhit |
IN hit pointer. | |
seg * | pt_outseg |
OUT seg pointer. | |
hit * | pt_outhit |
OUT hit ptr. | |
region * | pt_regionp |
ptr to containing region | |
char | pt_inflip |
flip inhit->hit_normal | |
char | pt_outflip |
flip outhit->hit_normal | |
region ** | pt_overlap_reg |
NULL-terminated array of overlapping regions. NULL if no overlap. | |
bu_ptbl | pt_seglist |
all segs in this partition |
Partitions of a ray. Passed from rt_shootray() into user's a_hit() function.
Not changed to a bu_list for backwards compatability, but you can iterate the whole list by writing: for( BU_LIST_FOR( pp, partition, (struct bu_list *)PartHeadp ) )
Definition at line 616 of file raytrace.h.
|
sanity check
Definition at line 618 of file raytrace.h. Referenced by rt_fastgen_plate_vol_overlap(), rt_partition_len(), rt_shootray(), and rt_shootray_bundle(). |
|
forwards link
Definition at line 619 of file raytrace.h. Referenced by fr_hit(), fr_miss(), rt_boolfinal(), rt_boolweave(), rt_partition_len(), rt_pr_partitions(), rt_rebuild_overlaps(), rt_shootray(), rt_shootray_bundle(), and rt_weave0seg(). |
|
backwards link
Definition at line 620 of file raytrace.h. Referenced by fr_hit(), fr_miss(), rt_boolweave(), rt_fastgen_plate_vol_overlap(), rt_shootray(), and rt_shootray_bundle(). |
|
IN seg ptr (gives stp).
Definition at line 621 of file raytrace.h. Referenced by rt_boolweave(), rt_submodel_a_hit(), and rt_weave0seg(). |
|
IN hit pointer.
Definition at line 622 of file raytrace.h. Referenced by rt_boolfinal(), rt_boolweave(), rt_fastgen_plate_vol_overlap(), rt_fastgen_vol_vol_overlap(), and rt_weave0seg(). |
|
OUT seg pointer.
Definition at line 623 of file raytrace.h. Referenced by rt_boolweave(), rt_rebuild_overlaps(), rt_submodel_a_hit(), and rt_weave0seg(). |
|
OUT hit ptr.
Definition at line 624 of file raytrace.h. Referenced by rt_boolweave(), rt_fastgen_plate_vol_overlap(), rt_fastgen_vol_vol_overlap(), rt_rebuild_overlaps(), and rt_weave0seg(). |
|
ptr to containing region
Definition at line 625 of file raytrace.h. Referenced by rt_boolfinal(), rt_fastgen_plate_vol_overlap(), and rt_rebuild_overlaps(). |
|
flip inhit->hit_normal
Definition at line 626 of file raytrace.h. Referenced by rt_boolweave(). |
|
flip outhit->hit_normal
Definition at line 627 of file raytrace.h. Referenced by rt_boolweave(), and rt_rebuild_overlaps(). |
|
NULL-terminated array of overlapping regions. NULL if no overlap.
Definition at line 628 of file raytrace.h. Referenced by rt_rebuild_overlaps(). |
|
all segs in this partition
Definition at line 629 of file raytrace.h. Referenced by rt_booleval(), rt_boolweave(), rt_get_region_seglist_for_partition(), rt_pr_tree_val(), rt_rebuild_overlaps(), and rt_weave0seg(). |