partition Struct Reference
[librt geometry, raytracing]

#include <raytrace.h>

Collaboration diagram for partition:

Collaboration graph
[legend]

Data Fields

long pt_magic
 sanity check
partitionpt_forw
 forwards link
partitionpt_back
 backwards link
segpt_inseg
 IN seg ptr (gives stp).
hitpt_inhit
 IN hit pointer.
segpt_outseg
 OUT seg pointer.
hitpt_outhit
 OUT hit ptr.
regionpt_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

Detailed Description

P A R T I T I O N

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.


Field Documentation

long pt_magic
 

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().

struct partition* pt_forw
 

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().

struct partition* pt_back
 

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().

struct seg* pt_inseg
 

IN seg ptr (gives stp).

Definition at line 621 of file raytrace.h.

Referenced by rt_boolweave(), rt_submodel_a_hit(), and rt_weave0seg().

struct hit* pt_inhit
 

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().

struct seg* pt_outseg
 

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().

struct hit* pt_outhit
 

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().

struct region* pt_regionp
 

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().

char pt_inflip
 

flip inhit->hit_normal

Definition at line 626 of file raytrace.h.

Referenced by rt_boolweave().

char pt_outflip
 

flip outhit->hit_normal

Definition at line 627 of file raytrace.h.

Referenced by rt_boolweave(), and rt_rebuild_overlaps().

struct region** pt_overlap_reg
 

NULL-terminated array of overlapping regions. NULL if no overlap.

Definition at line 628 of file raytrace.h.

Referenced by rt_rebuild_overlaps().

struct bu_ptbl pt_seglist
 

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().


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