rt_bot_internal Struct Reference
[Primitives]

#include <rtgeom.h>

Collaboration diagram for rt_bot_internal:

Collaboration graph
[legend]

Data Fields

long magic
unsigned char mode
unsigned char orientation
unsigned char bot_flags
 flags, (indicates surface normals available, for example)
int num_vertices
int num_faces
int * faces
 array of ints for faces [num_faces*3]
fastf_tvertices
 array of floats for vertices [num_vertices*3]
fastf_tthickness
 array of plate mode thicknesses (corresponds to array of faces) NULL for modes RT_BOT_SURFACE and RT_BOT_SOLID.
bu_bitvface_mode
 a flag for each face indicating thickness is appended to hit point in ray direction (if bit is set), otherwise thickness is centered about hit point (NULL for modes RT_BOT_SURFACE and RT_BOT_SOLID).
int num_normals
fastf_tnormals
 array of unit surface normals [num_normals*3]
int num_face_normals
 current size of the face_normals array below (number of faces in the array)
int * face_normals
 array of indices into the "normals" array, one per face vertex [num_face_normals*3]

Detailed Description

Definition at line 521 of file rtgeom.h.


Field Documentation

long magic
 

Definition at line 523 of file rtgeom.h.

Referenced by make_bot_object(), nmg_bot(), rt_bot_ifree(), rt_bot_import(), rt_bot_import5(), rt_bot_xform(), and rt_pg_to_bot().

unsigned char mode
 

Definition at line 524 of file rtgeom.h.

Referenced by add_solid(), nmg_bot(), rt_bot_export5(), rt_bot_ifree(), rt_bot_import(), rt_bot_import5(), rt_bot_tess(), rt_bot_xform(), rt_pg_to_bot(), rt_smooth_bot(), and XGLUE().

unsigned char orientation
 

Definition at line 525 of file rtgeom.h.

Referenced by nmg_bot(), rt_bot_describe(), rt_bot_export5(), rt_bot_import(), rt_bot_import5(), rt_bot_tess(), rt_bot_xform(), rt_pg_to_bot(), rt_smooth_bot(), and XGLUE().

unsigned char bot_flags
 

flags, (indicates surface normals available, for example)

Definition at line 526 of file rtgeom.h.

Referenced by nmg_bot(), rt_bot_export5(), rt_bot_import(), rt_bot_import5(), rt_bot_plot_poly(), rt_bot_prep(), rt_bot_sort_faces(), rt_bot_xform(), rt_pg_to_bot(), rt_smooth_bot(), and XGLUE().

int num_vertices
 

Definition at line 527 of file rtgeom.h.

Referenced by nmg_bot(), rt_bot_condense(), rt_bot_export5(), rt_bot_find_v_nearest_pt2(), rt_bot_import(), rt_bot_import5(), rt_bot_tess(), rt_bot_vertex_fuse(), rt_bot_xform(), and rt_pg_to_bot().

int num_faces
 

Definition at line 528 of file rtgeom.h.

Referenced by nmg_bot(), rt_bot_condense(), rt_bot_decimate(), rt_bot_export5(), rt_bot_face_fuse(), rt_bot_find_e_nearest_pt2(), rt_bot_import(), rt_bot_import5(), rt_bot_plot(), rt_bot_plot_poly(), rt_bot_sort_faces(), rt_bot_tcladjust(), rt_bot_tess(), rt_bot_vertex_fuse(), rt_bot_xform(), rt_pg_to_bot(), rt_smooth_bot(), and XGLUE().

int* faces
 

array of ints for faces [num_faces*3]

Definition at line 529 of file rtgeom.h.

Referenced by nmg_bot(), rt_bot_condense(), rt_bot_decimate(), rt_bot_face_fuse(), rt_bot_find_e_nearest_pt2(), rt_bot_ifree(), rt_bot_import(), rt_bot_import5(), rt_bot_plot(), rt_bot_plot_poly(), rt_bot_sort_faces(), rt_bot_tess(), rt_bot_vertex_fuse(), rt_bot_xform(), rt_pg_to_bot(), rt_smooth_bot(), and XGLUE().

fastf_t* vertices
 

array of floats for vertices [num_vertices*3]

Definition at line 530 of file rtgeom.h.

Referenced by nmg_bot(), rt_bot_export5(), rt_bot_find_v_nearest_pt2(), rt_bot_ifree(), rt_bot_import(), rt_bot_import5(), rt_bot_plot(), rt_bot_plot_poly(), rt_bot_tess(), rt_bot_vertex_fuse(), rt_bot_xform(), rt_pg_to_bot(), rt_smooth_bot(), and XGLUE().

fastf_t* thickness
 

array of plate mode thicknesses (corresponds to array of faces) NULL for modes RT_BOT_SURFACE and RT_BOT_SOLID.

Definition at line 531 of file rtgeom.h.

Referenced by rt_bot_ifree(), rt_bot_xform(), rt_pg_to_bot(), and XGLUE().

struct bu_bitv* face_mode
 

a flag for each face indicating thickness is appended to hit point in ray direction (if bit is set), otherwise thickness is centered about hit point (NULL for modes RT_BOT_SURFACE and RT_BOT_SOLID).

Definition at line 534 of file rtgeom.h.

Referenced by rt_bot_export5(), rt_bot_ifree(), rt_bot_tcladjust(), rt_bot_xform(), rt_pg_to_bot(), and XGLUE().

int num_normals
 

Definition at line 538 of file rtgeom.h.

Referenced by rt_bot_export(), rt_bot_export5(), rt_bot_tcladjust(), rt_bot_xform(), rt_smooth_bot(), and XGLUE().

fastf_t* normals
 

array of unit surface normals [num_normals*3]

Definition at line 539 of file rtgeom.h.

Referenced by rt_bot_plot_poly(), rt_bot_tcladjust(), rt_bot_xform(), and rt_smooth_bot().

int num_face_normals
 

current size of the face_normals array below (number of faces in the array)

Definition at line 540 of file rtgeom.h.

Referenced by rt_bot_export5(), rt_smooth_bot(), and XGLUE().

int* face_normals
 

array of indices into the "normals" array, one per face vertex [num_face_normals*3]

Definition at line 541 of file rtgeom.h.

Referenced by rt_bot_plot_poly(), rt_bot_xform(), rt_smooth_bot(), and XGLUE().


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