60#define REGION_NON_FASTGEN 0
61#define REGION_FASTGEN_PLATE 1
62#define REGION_FASTGEN_VOLUME 2
65#define REGION_NULL ((struct region *)0)
66#define RT_CK_REGION(_p) BU_CKMAG(_p, RT_REGION_MAGIC, "struct region")
69struct cl_bool_region {
73 cl_short reg_all_unions;
83struct cl_phong_specific {
84 cl_double wgt_specular;
85 cl_double wgt_diffuse;
96 struct cl_phong_specific phg_spec;
Header file for the BRL-CAD common definitions.
fastf_t mat_t[ELEMENTS_PER_MAT]
4x4 matrix
Global registry of recognized magic numbers.
int db_region_mat(mat_t m, struct db_i *dbip, const char *name, struct resource *resp)
void rt_pr_region(const struct region *rp)
union tree * reg_treetop
Pointer to boolean tree.
short reg_is_fastgen
FASTGEN-compatibility mode?
void * reg_mfuncs
User appl. funcs for material.
int reg_aircode
Region ID AIR code.
int reg_gmater
GIFT Material code.
int reg_bit
constant index into Regions[]
int reg_los
approximate line-of-sight thickness equivalence
void * reg_udata
User appl. data for material.
short reg_all_unions
1=boolean tree is all unions
int reg_regionid
Region ID code. If <=0, use reg_aircode.
int reg_transmit
flag: material transmits light
struct bu_list l
magic # and doubly linked list
long reg_instnum
instance number, from d_uses
struct bu_attribute_value_set attr_values
Attribute/value set.
struct mater_info reg_mater
Real material information.
const char * reg_name
Identifying string.
fundamental vector, matrix, quaternion math macros