#include <raytrace.h>
Collaboration diagram for db_i:
Data Fields | |
long | dbi_magic |
magic number | |
char * | dbi_filename |
file name | |
int | dbi_read_only |
!0 => read only file | |
double | dbi_local2base |
local2mm | |
double | dbi_base2local |
unit conversion factors | |
char * | dbi_title |
title from IDENT rec | |
char *const * | dbi_filepath |
search path for aux file opens (convenience var) | |
directory * | dbi_Head [RT_DBNHASH] |
int | dbi_fd |
UNIX file descriptor. | |
FILE * | dbi_fp |
STDIO file descriptor. | |
long | dbi_eof |
End+1 pos after db_scan(). | |
long | dbi_nrec |
# records after db_scan() | |
int | dbi_uses |
# of uses of this struct | |
mem_map * | dbi_freep |
map of free granules | |
genptr_t | dbi_inmem |
ptr to in-memory copy | |
animate * | dbi_anroot |
heads list of anim at root lvl | |
bu_mapped_file * | dbi_mf |
Only in read-only mode. | |
bu_ptbl | dbi_clients |
List of rtip's using this db_i. | |
int | dbi_version |
4 or 5 | |
rt_wdb * | dbi_wdbp |
ptr back to containing rt_wdb |
One of these structures is used to describe each separate instance of a BRL-CAD model database ".g" file.
dbi_filepath is a C-style argv array of places to search when opening related files (such as data files for EBM solids or texture-maps). The array and strings are all dynamically allocated.
Definition at line 784 of file raytrace.h.
|
magic number
Definition at line 785 of file raytrace.h. Referenced by db_open(). |
|
file name
Definition at line 787 of file raytrace.h. Referenced by db5_replace_attributes(), db5_scan(), db5_update_attributes(), db_dirbuild(), db_get_version(), db_open(), db_put(), db_put_external(), db_put_external5(), db_read(), db_write(), dgo_nirt_cmd(), dgo_rtcheck_cmd(), rt_regionfix(), rt_submodel_prep(), wdb_concat_cmd(), wdb_dbopen(), wdb_dup_cmd(), wdb_get_obj_bounds(), wdb_get_obj_bounds2(), and wdb_reopen_cmd(). |
|
!0 => read only file
Definition at line 788 of file raytrace.h. Referenced by db5_realloc(), db5_replace_attributes(), db5_update_attributes(), db_open(), db_open_inmem(), db_put(), db_put_external(), db_put_external5(), db_update_ident(), db_write(), db_zapper(), wdb_comb_std_cmd(), wdb_dbopen(), and wdb_export_external(). |
|
local2mm
Definition at line 789 of file raytrace.h. Referenced by db_conversions(), db_create_inmem(), db_dirbuild(), db_open(), dgo_nirt_cmd(), dgo_qray_data_to_vlist(), wdb_bot_decimate_cmd(), wdb_nmg_collapse_cmd(), wdb_ocenter_cmd(), wdb_orotate_cmd(), wdb_oscale_cmd(), wdb_otranslate_cmd(), wdb_track_cmd(), and wdb_units_cmd(). |
|
unit conversion factors
Definition at line 790 of file raytrace.h. Referenced by db_conversions(), db_dirbuild(), db_open(), dgo_get_autoview_cmd(), dgo_nirt_cmd(), wdb_do_list(), wdb_ocenter_cmd(), wdb_title_cmd(), and wdb_units_cmd(). |
|
title from IDENT rec
Definition at line 791 of file raytrace.h. Referenced by db5_update_ident(), db_create_inmem(), db_dirbuild(), db_open(), db_update_ident(), rt_dirbuild(), wdb_title_cmd(), and wdb_units_cmd(). |
|
search path for aux file opens (convenience var)
Definition at line 792 of file raytrace.h. Referenced by db_open(), rt_ebm_import(), and rt_ebm_import5(). |
|
Definition at line 794 of file raytrace.h. Referenced by db_ck_directory(), db_dircheck(), db_dump(), db_get_directory_size(), db_is_directory_non_empty(), db_lookup(), db_open(), db_open_inmem(), db_regexp_match_all(), db_update_nref(), wdb_find_cmd(), wdb_keep_cmd(), wdb_killall_cmd(), wdb_move_all_cmd(), wdb_rmap_cmd(), wdb_tops_cmd(), and wdb_xpush_cmd(). |
|
UNIX file descriptor.
Definition at line 795 of file raytrace.h. Referenced by db_open(), db_open_inmem(), db_read(), db_sync(), and db_write(). |
|
STDIO file descriptor.
Definition at line 796 of file raytrace.h. Referenced by db5_scan(), db_dirbuild(), db_get_version(), db_open(), db_open_inmem(), db_read(), db_sync(), and db_write(). |
|
End+1 pos after db_scan().
Definition at line 797 of file raytrace.h. Referenced by db5_realloc(), db5_scan(), db_open(), db_open_inmem(), and db_read(). |
|
# records after db_scan()
Definition at line 798 of file raytrace.h. |
|
# of uses of this struct
Definition at line 799 of file raytrace.h. Referenced by db_clone_dbi(), and db_open(). |
|
map of free granules
Definition at line 800 of file raytrace.h. Referenced by db5_diradd_handler(), db5_realloc(), db_delete(), wdb_concat_cmd(), and wdb_dup_cmd(). |
|
ptr to in-memory copy
Definition at line 801 of file raytrace.h. Referenced by db5_scan(), db_open(), db_read(), and db_write(). |
|
heads list of anim at root lvl
Definition at line 802 of file raytrace.h. Referenced by db_add_anim(), and db_follow_path(). |
|
Only in read-only mode.
Definition at line 803 of file raytrace.h. Referenced by db5_scan(), db_open(), db_open_inmem(), and rt_submodel_prep(). |
|
List of rtip's using this db_i.
Definition at line 804 of file raytrace.h. Referenced by db_clone_dbi(), db_close_client(), db_open(), and rt_submodel_prep(). |
|
|
ptr back to containing rt_wdb
Definition at line 806 of file raytrace.h. Referenced by db_create_inmem(), and wdb_dbopen(). |