BRL-CAD
region Struct Reference

#include <raytrace.h>

Collaboration diagram for region:
[legend]

Data Fields

struct bu_list l
 magic # and doubly linked list More...
 
const char * reg_name
 Identifying string. More...
 
union treereg_treetop
 Pointer to boolean tree. More...
 
int reg_bit
 constant index into Regions[] More...
 
int reg_regionid
 Region ID code. If <=0, use reg_aircode. More...
 
int reg_aircode
 Region ID AIR code. More...
 
int reg_gmater
 GIFT Material code. More...
 
int reg_los
 approximate line-of-sight thickness equivalence More...
 
struct mater_info reg_mater
 Real material information. More...
 
void * reg_mfuncs
 User appl. funcs for material. More...
 
void * reg_udata
 User appl. data for material. More...
 
int reg_transmit
 flag: material transmits light More...
 
long reg_instnum
 instance number, from d_uses More...
 
short reg_all_unions
 1=boolean tree is all unions More...
 
short reg_is_fastgen
 FASTGEN-compatibility mode? More...
 
struct bu_attribute_value_set attr_values
 Attribute/value set. More...
 

Detailed Description

The region structure.

Definition at line 537 of file raytrace.h.

Field Documentation

struct bu_list l

magic # and doubly linked list

Definition at line 538 of file raytrace.h.

Referenced by _rt_gettree_region_end(), envmap_setup(), OSLRenderer::QueryColor(), rt_clean(), rt_del_regtree(), and rt_unprep().

int reg_bit

constant index into Regions[]

Definition at line 541 of file raytrace.h.

Referenced by _rt_gettree_region_end(), BU_FORTRAN(), rt_boolfinal(), rt_defoverlap(), rt_pr_region(), rt_prep_parallel(), rt_reprep(), and rt_unprep().

int reg_regionid

Region ID code. If <=0, use reg_aircode.

Definition at line 542 of file raytrace.h.

Referenced by _rt_gettree_region_end(), rt_pr_region(), rt_region_color_map(), rt_regionfix(), and wray().

int reg_gmater

GIFT Material code.

Definition at line 544 of file raytrace.h.

Referenced by _rt_gettree_region_end(), hit(), and rt_pr_region().

int reg_los

approximate line-of-sight thickness equivalence

Definition at line 545 of file raytrace.h.

Referenced by _rt_gettree_region_end(), hit(), and rt_pr_region().

void* reg_mfuncs

User appl. funcs for material.

Definition at line 547 of file raytrace.h.

Referenced by _rt_gettree_region_end(), envmap_setup(), light_hit(), mlib_free(), mlib_setup(), osl_refraction_hit(), sh_stk_setup(), and viewshade().

int reg_transmit

flag: material transmits light

Definition at line 549 of file raytrace.h.

Referenced by cglass_setup(), cmirror_setup(), cook_setup(), glass_setup(), light_hit(), mirror_setup(), phong_setup(), stxt_setup(), and txt_setup().

long reg_instnum

instance number, from d_uses

Definition at line 550 of file raytrace.h.

Referenced by _rt_gettree_region_end(), rt_pr_region(), and rt_regionfix().

short reg_all_unions

1=boolean tree is all unions

Definition at line 551 of file raytrace.h.

Referenced by _rt_gettree_region_end(), make_hole_in_prepped_regions(), and rt_boolfinal().

short reg_is_fastgen

FASTGEN-compatibility mode?

Definition at line 552 of file raytrace.h.

Referenced by _rt_gettree_region_end(), rt_default_multioverlap(), rt_pr_region(), and rt_rebuild_overlaps().

struct bu_attribute_value_set attr_values

Attribute/value set.

Definition at line 556 of file raytrace.h.

Referenced by _rt_gettree_region_end(), rt_clean(), rt_del_regtree(), rt_load_attrs(), and rt_unprep().


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