BRL-CAD
db_tree_state Struct Reference

#include <raytrace.h>

Collaboration diagram for db_tree_state:
[legend]

Data Fields

uint32_t magic
 
struct db_its_dbip
 
int ts_sofar
 Flag bits. More...
 
int ts_regionid
 GIFT compat region ID code. More...
 
int ts_aircode
 GIFT compat air code. More...
 
int ts_gmater
 GIFT compat material code. More...
 
int ts_los
 equivalent LOS estimate More...
 
struct mater_info ts_mater
 material properties More...
 
mat_t ts_mat
 transform matrix More...
 
int ts_is_fastgen
 REGION_NON_FASTGEN/_PLATE/_VOLUME. More...
 
struct bu_attribute_value_set ts_attrs
 attribute/value structure More...
 
int ts_stop_at_regions
 else stop at solids More...
 
int(* ts_region_start_func )(struct db_tree_state *tsp, const struct db_full_path *pathp, const struct rt_comb_internal *comb, void *client_data)
 callback during DAG downward traversal called on region nodes More...
 
union tree *(* ts_region_end_func )(struct db_tree_state *tsp, const struct db_full_path *pathp, union tree *curtree, void *client_data)
 callback during DAG upward traversal called on region nodes More...
 
union tree *(* ts_leaf_func )(struct db_tree_state *tsp, const struct db_full_path *pathp, struct rt_db_internal *ip, void *client_data)
 callback during DAG traversal called on leaf primitive nodes More...
 
const struct rt_tess_tolts_ttol
 Tessellation tolerance. More...
 
const struct bn_tolts_tol
 Math tolerance. More...
 
struct model ** ts_m
 ptr to ptr to NMG "model" More...
 
struct rt_its_rtip
 Helper for rt_gettrees() More...
 
struct resourcets_resp
 Per-CPU data. More...
 

Detailed Description

State for database tree walker db_walk_tree() and related user-provided handler routines.

Definition at line 1038 of file raytrace.h.

Field Documentation

uint32_t magic

Definition at line 1039 of file raytrace.h.

Referenced by db_init_db_tree_state().

int ts_aircode
int ts_gmater

GIFT compat material code.

Definition at line 1045 of file raytrace.h.

Referenced by _rt_gettree_region_end(), db_apply_state_from_comb(), db_pr_tree_state(), gcv_region_end(), and gcv_region_end_mc().

int ts_los

equivalent LOS estimate

Definition at line 1046 of file raytrace.h.

Referenced by _rt_gettree_region_end(), db_apply_state_from_comb(), and db_pr_tree_state().

int ts_is_fastgen

REGION_NON_FASTGEN/_PLATE/_VOLUME.

Definition at line 1051 of file raytrace.h.

Referenced by _rt_gettree_region_end(), and db_apply_state_from_comb().

int ts_stop_at_regions

else stop at solids

Definition at line 1054 of file raytrace.h.

Referenced by _db_walk_subtree(), db_recurse(), and db_walk_tree().

int(* ts_region_start_func) (struct db_tree_state *tsp, const struct db_full_path *pathp, const struct rt_comb_internal *comb, void *client_data)

callback during DAG downward traversal called on region nodes

Definition at line 1055 of file raytrace.h.

Referenced by _db_walk_subtree(), db_recurse(), and db_walk_tree().

union tree*(* ts_region_end_func) (struct db_tree_state *tsp, const struct db_full_path *pathp, union tree *curtree, void *client_data)

callback during DAG upward traversal called on region nodes

Definition at line 1060 of file raytrace.h.

Referenced by _db_walk_subtree(), db_recurse(), and db_walk_tree().

union tree*(* ts_leaf_func) (struct db_tree_state *tsp, const struct db_full_path *pathp, struct rt_db_internal *ip, void *client_data)

callback during DAG traversal called on leaf primitive nodes

Definition at line 1065 of file raytrace.h.

Referenced by _db_walk_subtree(), db_recurse(), and db_walk_tree().


The documentation for this struct was generated from the following file: