BRL-CAD
db_tree_state Struct Reference

#include <tree.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 bg_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 56 of file tree.h.

Field Documentation

◆ magic

uint32_t magic

Definition at line 57 of file tree.h.

◆ ts_dbip

struct db_i* ts_dbip

Definition at line 58 of file tree.h.

◆ ts_sofar

int ts_sofar

Flag bits.

Definition at line 59 of file tree.h.

◆ ts_regionid

int ts_regionid

GIFT compat region ID code.

Definition at line 61 of file tree.h.

◆ ts_aircode

int ts_aircode

GIFT compat air code.

Definition at line 62 of file tree.h.

◆ ts_gmater

int ts_gmater

GIFT compat material code.

Definition at line 63 of file tree.h.

◆ ts_los

int ts_los

equivalent LOS estimate

Definition at line 64 of file tree.h.

◆ ts_mater

struct mater_info ts_mater

material properties

Definition at line 65 of file tree.h.

◆ ts_mat

mat_t ts_mat

transform matrix

Definition at line 68 of file tree.h.

◆ ts_is_fastgen

int ts_is_fastgen

REGION_NON_FASTGEN/_PLATE/_VOLUME.

Definition at line 69 of file tree.h.

◆ ts_attrs

struct bu_attribute_value_set ts_attrs

attribute/value structure

Definition at line 70 of file tree.h.

◆ ts_stop_at_regions

int ts_stop_at_regions

else stop at solids

Definition at line 72 of file tree.h.

◆ ts_region_start_func

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 73 of file tree.h.

◆ ts_region_end_func

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 73 of file tree.h.

◆ ts_leaf_func

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 73 of file tree.h.

◆ ts_ttol

const struct bg_tess_tol* ts_ttol

Tessellation tolerance.

Definition at line 88 of file tree.h.

◆ ts_tol

const struct bn_tol* ts_tol

Math tolerance.

Definition at line 89 of file tree.h.

◆ ts_m

struct model** ts_m

ptr to ptr to NMG "model"

Definition at line 90 of file tree.h.

◆ ts_rtip

struct rt_i* ts_rtip

Helper for rt_gettrees()

Definition at line 91 of file tree.h.

◆ ts_resp

struct resource* ts_resp

Per-CPU data.

Definition at line 92 of file tree.h.


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