db_tree_state Struct Reference
[librt geometry, raytracing]

#include <raytrace.h>

Collaboration diagram for db_tree_state:

Collaboration graph
[legend]

Public Member Functions

int ts_region_start_func BU_ARGS ((struct db_tree_state *, struct db_full_path *, const struct rt_comb_internal *, genptr_t client_data))
tree *ts_region_end_func BU_ARGS ((struct db_tree_state *, struct db_full_path *, union tree *, genptr_t client_data))
tree *ts_leaf_func BU_ARGS ((struct db_tree_state *, struct db_full_path *, struct rt_db_internal *, genptr_t client_data))

Data Fields

long magic
db_its_dbip
int ts_sofar
 Flag bits.
int ts_regionid
 GIFT compat region ID code.
int ts_aircode
 GIFT compat air code.
int ts_gmater
 GIFT compat material code.
int ts_los
 equivalent LOS estimate ..
mater_info ts_mater
 material properties
mat_t ts_mat
 transform matrix
int ts_is_fastgen
 REGION_NON_FASTGEN/_PLATE/_VOLUME.
bu_attribute_value_set ts_attrs
 attribute/value structure
int ts_stop_at_regions
 else stop at solids
const struct rt_tess_tolts_ttol
 Tessellation tolerance.
const struct bn_tolts_tol
 Math tolerance.
model ** ts_m
 ptr to ptr to NMG "model"
rt_its_rtip
 Helper for rt_gettrees().
resourcets_resp
 Per-CPU data.

Detailed Description

D B _ T R E E _ S T A T E

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

Definition at line 981 of file raytrace.h.


Member Function Documentation

int ts_region_start_func BU_ARGS (struct db_tree_state *, struct db_full_path *, const struct rt_comb_internal *, genptr_t client_data)   ) 
 

union tree* ts_region_end_func BU_ARGS (struct db_tree_state *, struct db_full_path *, union tree *, genptr_t client_data)   ) 
 

union tree* ts_leaf_func BU_ARGS (struct db_tree_state *, struct db_full_path *, struct rt_db_internal *, genptr_t client_data)   ) 
 


Field Documentation

long magic
 

Definition at line 982 of file raytrace.h.

struct db_i* ts_dbip
 

Definition at line 983 of file raytrace.h.

Referenced by db_apply_state_from_memb(), db_apply_state_from_one_member(), db_dup_db_tree_state(), db_follow_path(), db_follow_path_for_state(), db_free_db_tree_state(), db_gettree_leaf(), db_recurse(), db_walk_subtree(), db_walk_tree(), rt_gettree_leaf(), and rt_gettrees_muves().

int ts_sofar
 

Flag bits.

Definition at line 984 of file raytrace.h.

Referenced by db_apply_state_from_comb(), db_apply_state_from_memb(), db_apply_state_from_one_member(), db_recurse(), db_recurse_subtree(), and db_walk_subtree().

int ts_regionid
 

GIFT compat region ID code.

Definition at line 986 of file raytrace.h.

Referenced by db_apply_state_from_comb(), and dgo_drawH_part2().

int ts_aircode
 

GIFT compat air code.

Definition at line 987 of file raytrace.h.

Referenced by db_apply_state_from_comb(), and rt_gettree_region_start().

int ts_gmater
 

GIFT compat material code.

Definition at line 988 of file raytrace.h.

Referenced by db_apply_state_from_comb().

int ts_los
 

equivalent LOS estimate ..

Definition at line 989 of file raytrace.h.

Referenced by db_apply_state_from_comb().

struct mater_info ts_mater
 

material properties

Definition at line 990 of file raytrace.h.

Referenced by db_apply_state_from_comb(), db_apply_state_from_memb(), db_dup_db_tree_state(), db_follow_path(), db_free_db_tree_state(), dgo_drawH_part2(), and dgo_E_cmd().

mat_t ts_mat
 

transform matrix

Definition at line 993 of file raytrace.h.

Referenced by db_apply_state_from_memb(), db_follow_path(), db_path_to_mat(), db_recurse(), rt_gettree_leaf(), and rt_tcl_import_from_path().

int ts_is_fastgen
 

REGION_NON_FASTGEN/_PLATE/_VOLUME.

Definition at line 994 of file raytrace.h.

Referenced by db_apply_state_from_comb().

struct bu_attribute_value_set ts_attrs
 

attribute/value structure

Definition at line 995 of file raytrace.h.

Referenced by db_dup_db_tree_state(), db_free_db_tree_state(), and db_recurse().

int ts_stop_at_regions
 

else stop at solids

Definition at line 997 of file raytrace.h.

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

const struct rt_tess_tol* ts_ttol
 

Tessellation tolerance.

Definition at line 1016 of file raytrace.h.

Referenced by nmg_booltree_leaf_tess(), nmg_booltree_leaf_tnurb(), rt_submodel_wireframe_leaf(), wdb_facetize_cmd(), and wdb_init_obj().

const struct bn_tol* ts_tol
 

Math tolerance.

Definition at line 1017 of file raytrace.h.

Referenced by nmg_booltree_leaf_tess(), nmg_booltree_leaf_tnurb(), rt_submodel_wireframe_leaf(), wdb_facetize_cmd(), and wdb_init_obj().

struct model** ts_m
 

ptr to ptr to NMG "model"

Definition at line 1018 of file raytrace.h.

Referenced by nmg_booltree_leaf_tess(), nmg_booltree_leaf_tnurb(), rt_submodel_wireframe_leaf(), and wdb_facetize_cmd().

struct rt_i* ts_rtip
 

Helper for rt_gettrees().

Definition at line 1019 of file raytrace.h.

Referenced by db_walk_tree(), rt_gettree_leaf(), and rt_gettree_region_start().

struct resource* ts_resp
 

Per-CPU data.

Definition at line 1020 of file raytrace.h.

Referenced by db_follow_path(), db_gettree_leaf(), db_recurse(), db_recurse_subtree(), db_walk_subtree(), db_walk_tree(), nmg_booltree_leaf_tess(), nmg_booltree_leaf_tnurb(), rt_gettree_leaf(), rt_gettree_region_start(), and rt_submodel_wireframe_leaf().


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