ray_data Struct Reference
[librt geometry, raytracing]

#include <raytrace.h>

Collaboration diagram for ray_data:

Collaboration graph
[legend]

Data Fields

long magic
modelrd_m
char * manifolds
 structure 1-3manifold table
vect_t rd_invdir
xrayrp
applicationap
segseghead
soltabstp
const struct bn_toltol
hitmiss ** hitmiss
 1 struct hitmiss ptr per elem.
bu_list rd_hit
 list of hit elements
bu_list rd_miss
 list of missed/sub-hit elements
point_t plane_pt
 ray/plane(face) intercept point
fastf_t ray_dist_to_plane
 ray parametric dist to plane
int face_subhit
int classifying_ray

Detailed Description

Definition at line 2298 of file raytrace.h.


Field Documentation

long magic
 

Definition at line 2299 of file raytrace.h.

Referenced by classify_seg(), nmg_class_ray_vs_shell(), rt_nmg_shot(), and shoot_and_plot().

struct model* rd_m
 

Definition at line 2300 of file raytrace.h.

Referenced by nmg_class_ray_vs_shell(), nmg_isect_ray_model(), rt_nmg_shot(), and shoot_and_plot().

char* manifolds
 

structure 1-3manifold table

Definition at line 2301 of file raytrace.h.

Referenced by nmg_class_ray_vs_shell(), and rt_nmg_shot().

vect_t rd_invdir
 

Definition at line 2302 of file raytrace.h.

Referenced by classify_seg(), nmg_class_ray_vs_shell(), nmg_isect_ray_model(), rt_nmg_shot(), and shoot_and_plot().

struct xray* rp
 

Definition at line 2303 of file raytrace.h.

Referenced by classify_seg(), isect_ray_lseg(), isect_ray_planar_face(), isect_ray_snurb_face(), nmg_class_ray_vs_shell(), nmg_isect_ray_model(), rt_nmg_shot(), and shoot_and_plot().

struct application* ap
 

Definition at line 2304 of file raytrace.h.

Referenced by classify_seg(), isect_ray_lseg(), isect_ray_snurb_face(), nmg_class_ray_vs_shell(), nmg_ray_segs(), rt_nmg_shot(), and shoot_and_plot().

struct seg* seghead
 

Definition at line 2305 of file raytrace.h.

Referenced by classify_seg(), nmg_class_ray_vs_shell(), nmg_ray_segs(), rt_nmg_shot(), and shoot_and_plot().

struct soltab* stp
 

Definition at line 2306 of file raytrace.h.

Referenced by classify_seg(), nmg_class_ray_vs_shell(), nmg_ray_segs(), rt_nmg_shot(), and shoot_and_plot().

const struct bn_tol* tol
 

Definition at line 2307 of file raytrace.h.

Referenced by classify_seg(), isect_ray_lseg(), isect_ray_planar_face(), nmg_class_ray_vs_shell(), rt_nmg_shot(), and shoot_and_plot().

struct hitmiss** hitmiss
 

1 struct hitmiss ptr per elem.

Definition at line 2308 of file raytrace.h.

Referenced by classify_seg(), isect_ray_lseg(), nmg_class_ray_vs_shell(), rt_nmg_shot(), and shoot_and_plot().

struct bu_list rd_hit
 

list of hit elements

Definition at line 2309 of file raytrace.h.

Referenced by nmg_class_ray_vs_shell(), nmg_isect_ray_model(), nmg_ray_segs(), rt_nmg_shot(), and shoot_and_plot().

struct bu_list rd_miss
 

list of missed/sub-hit elements

Definition at line 2310 of file raytrace.h.

Referenced by isect_ray_lseg(), nmg_class_ray_vs_shell(), nmg_ray_segs(), rt_nmg_shot(), and shoot_and_plot().

point_t plane_pt
 

ray/plane(face) intercept point

plane_pt is the intercept point of the ray with the plane of the face.

Definition at line 2317 of file raytrace.h.

Referenced by isect_ray_planar_face().

fastf_t ray_dist_to_plane
 

ray parametric dist to plane

ray_dist_to_plane is the parametric distance along the ray from the ray origin (rd->rp->r_pt) to the ray/plane intercept point

Definition at line 2322 of file raytrace.h.

Referenced by isect_ray_planar_face().

int face_subhit
 

the "face_subhit" element is a boolean used by isect_ray_face and [e|v]u_touch_func to record the fact that the ray/(plane/face) intercept point was within tolerance of an edge/vertex of the face. In such instances, isect_ray_face does NOT need to generate a hit point for the face, as the hit point for the edge/vertex will suffice.

Definition at line 2331 of file raytrace.h.

Referenced by isect_ray_planar_face().

int classifying_ray
 

the "classifying_ray" flag indicates that this ray is being used to classify a point, so that the "eu_touch" and "vu_touch" functions should not be called.

Definition at line 2337 of file raytrace.h.

Referenced by classify_seg(), isect_ray_planar_face(), nmg_class_ray_vs_shell(), rt_nmg_shot(), and shoot_and_plot().


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