BRL-CAD
ged_private.h File Reference
#include "common.h"
#include <time.h>
#include "db.h"
#include "mater.h"
#include "rtgeom.h"
#include "ged.h"
Include dependency graph for ged_private.h:

Go to the source code of this file.

Data Structures

struct  _ged_funtab
 
struct  _ged_id_names
 
struct  _ged_id_to_names
 
struct  _ged_client_data
 
struct  ged_results
 

Macros

#define FALSE   0
 
#define TRUE   1
 
#define _GED_V4_MAXNAME   NAMESIZE
 
#define _GED_TERMINAL_WIDTH   80
 
#define _GED_COLUMNS   ((_GED_TERMINAL_WIDTH + _GED_V4_MAXNAME - 1) / _GED_V4_MAXNAME)
 
#define _GED_CPEVAL   0
 
#define _GED_LISTPATH   1
 
#define _GED_LISTEVAL   2
 
#define _GED_EVAL_ONLY   3
 
#define _GED_SHADED_MODE_UNSET   -1
 
#define _GED_WIREFRAME   0
 
#define _GED_SHADED_MODE_BOTS   1
 
#define _GED_SHADED_MODE_ALL   2
 
#define _GED_BOOL_EVAL   3
 
#define _GED_HIDDEN_LINE   4
 
#define _GED_SHADED_MODE_EVAL   5
 
#define _GED_DRAW_WIREFRAME   1
 
#define _GED_DRAW_NMG_POLY   3
 
#define _GED_TREE_AFLAG   0x01
 
#define _GED_TREE_CFLAG   0x02
 
#define _GED_FUNTAB_UNLIMITED   -1
 
#define DG_GED_MAX   2047.0
 
#define DG_GED_MIN   -2048.0
 
#define PS_COORD(_x)   ((int)((_x)+2048))
 
#define PS_COLOR(_c)   ((_c)*(1.0/255.0))
 

Enumerations

enum  otype { OTYPE_DXF = 1, OTYPE_OBJ, OTYPE_SAT, OTYPE_STL }
 

Functions

void vls_col_item (struct bu_vls *str, const char *cp)
 
void vls_col_eol (struct bu_vls *str)
 
int edarb_facedef (void *data, int argc, const char *argv[])
 
void _ged_print_node (struct ged *gedp, struct directory *dp, size_t pathpos, int indentSize, char prefix, unsigned flags, int displayDepth, int currdisplayDepth)
 
struct db_i_ged_open_dbip (const char *filename, int existing_only)
 Open/Create the database and build the in memory directory. More...
 
struct directory_ged_combadd (struct ged *gedp, struct directory *objp, char *combname, int region_flag, db_op_t relation, int ident, int air)
 
int _ged_combadd2 (struct ged *gedp, char *combname, int argc, const char *argv[], int region_flag, db_op_t relation, int ident, int air)
 
void _dl_eraseAllNamesFromDisplay (struct bu_list *hdlp, struct db_i *dbip, void(*callback)(unsigned int, int), const char *name, const int skip_first, struct solid *freesolid)
 
void _dl_eraseAllPathsFromDisplay (struct bu_list *hdlp, struct db_i *dbip, void(*callback)(unsigned int, int), const char *path, const int skip_first, struct solid *freesolid)
 
void _dl_freeDisplayListItem (struct db_i *dbip, void(*callback)(unsigned int, int), struct display_list *gdlp, struct solid *freesolid)
 
int headsolid_splitGDL (struct bu_list *hdlp, struct db_i *dbip, struct display_list *gdlp, struct db_full_path *path)
 
int dl_bounding_sph (struct bu_list *hdlp, vect_t *min, vect_t *max, int pflag)
 
struct bu_ptbldl_get_solids (struct display_list *gdlp)
 
void dl_add_path (struct display_list *gdlp, int dashflag, int transparency, int dmode, int hiddenLine, struct bu_list *vhead, const struct db_full_path *pathp, struct db_tree_state *tsp, unsigned char *wireframe_color_override, void(*callback)(struct display_list *), struct solid *freesolid)
 
int dl_redraw (struct display_list *gdlp, struct db_i *dbip, struct db_tree_state *tsp, struct bview *gvp, void(*callback)(struct display_list *))
 
union treeappend_solid_to_display_list (struct db_tree_state *tsp, const struct db_full_path *pathp, struct rt_db_internal *ip, void *client_data)
 
int dl_set_illum (struct display_list *gdlp, const char *obj, int illum)
 
void dl_set_flag (struct bu_list *hdlp, int flag)
 
void dl_set_wflag (struct bu_list *hdlp, int wflag)
 
void dl_zap (struct bu_list *hdlp, struct db_i *dbip, void(*callback)(unsigned int, int), struct solid *freesolid)
 
int dl_how (struct bu_list *hdlp, struct bu_vls *vls, struct directory **dpp, int both)
 
void dl_plot (struct bu_list *hdlp, FILE *fp, mat_t model2view, int floating, mat_t center, fastf_t scale, int Three_D, int Z_clip)
 
void dl_png (struct bu_list *hdlp, mat_t model2view, fastf_t perspective, vect_t eye_pos, size_t size, size_t half_size, unsigned char **image)
 
void dl_ps (struct bu_list *hdlp, FILE *fp, int border, char *font, char *title, char *creator, int linewidth, fastf_t scale, int xoffset, int yoffset, mat_t model2view, fastf_t perspective, vect_t eye_pos, float red, float green, float blue)
 
void dl_print_schain (struct bu_list *hdlp, struct db_i *dbip, int lvl, int vlcmds, struct bu_vls *vls)
 
void dl_bitwise_and_fullpath (struct bu_list *hdlp, int flag)
 
void dl_write_animate (struct bu_list *hdlp, FILE *fp)
 
int dl_select (struct bu_list *hdlp, mat_t model2view, struct bu_vls *vls, double vx, double vy, double vwidth, double vheight, int rflag)
 
int dl_select_partial (struct bu_list *hdlp, mat_t model2view, struct bu_vls *vls, double vx, double vy, double vwidth, double vheight, int rflag)
 
void dl_set_transparency (struct bu_list *hdlp, struct directory **dpp, double transparency, void(*callback)(struct display_list *))
 
void _ged_bot_dump (struct directory *dp, struct rt_bot_internal *bot, FILE *fp, int fd, const char *file_ext, const char *db_name)
 
void dl_botdump (struct bu_list *hdlp, struct db_i *dbip, FILE *fp, int fd, char *file_ext, int output_type, int *red, int *green, int *blue, fastf_t *alpha)
 
void _ged_cvt_vlblock_to_solids (struct ged *gedp, struct bn_vlblock *vbp, const char *name, int copy)
 
int _ged_drawtrees (struct ged *gedp, int argc, const char *argv[], int kind, struct _ged_client_data *_dgcdp)
 
void _ged_drawH_part2 (int dashflag, struct bu_list *vhead, const struct db_full_path *pathp, struct db_tree_state *tsp, struct _ged_client_data *dgcdp)
 
int _ged_select_botpts (struct ged *gedp, struct rt_bot_internal *botip, double vx, double vy, double vwidth, double vheight, double vminz, int rflag)
 
int _ged_editit (const char *editstring, const char *file)
 
void _ged_eraseobjpath (struct ged *gedp, int argc, const char *argv[], const int noisy, const int all, const int skip_first)
 
void _ged_eraseobjall (struct ged *gedp, struct directory **dpp, int skip_first)
 
void _ged_eraseobj (struct ged *gedp, struct directory **dpp, int skip_first)
 
void _ged_vls_print_matrix (struct bu_vls *vls, matp_t matrix)
 
int _ged_get_obj_bounds2 (struct ged *gedp, int argc, const char *argv[], struct _ged_trace_data *gtdp, point_t rpp_min, point_t rpp_max)
 This version works if the last member of the path is a primitive. More...
 
int _ged_get_solid_keypoint (struct ged *const gedp, fastf_t *const pt, const struct rt_db_internal *const ip, const fastf_t *const mat)
 
struct directory ** _ged_build_dpp (struct ged *gedp, const char *path)
 
void _ged_do_list (struct ged *gedp, struct directory *dp, int verbose)
 
int _ged_cm_vsize (const int argc, const char **argv)
 
int _ged_cm_eyept (const int argc, const char **argv)
 
int _ged_cm_lookat_pt (const int argc, const char **argv)
 
int _ged_cm_vrot (const int argc, const char **argv)
 
int _ged_cm_orientation (const int argc, const char **argv)
 
int _ged_cm_set (const int argc, const char **argv)
 
int _ged_cm_null (const int argc, const char **argv)
 
void _ged_vls_col_pr4v (struct bu_vls *vls, struct directory **list_of_names, size_t num_in_list, int no_decorate)
 
struct directory ** _ged_getspace (struct db_i *dbip, size_t num_entries)
 
void _ged_setup_rt (struct ged *gedp, char **vp, int printcmd)
 
void _ged_rt_set_eye_model (struct ged *gedp, vect_t eye_model)
 
int _ged_run_rt (struct ged *gdp)
 
void _ged_rt_write (struct ged *gedp, FILE *fp, vect_t eye_model)
 
void _ged_rt_output_handler (ClientData clientData, int mask)
 
void _ged_wait_status (struct bu_vls *logstr, int status)
 
int _ged_rotate_eto (struct ged *gedp, struct rt_eto_internal *eto, const char *attribute, matp_t rmat)
 
int _ged_rotate_extrude (struct ged *gedp, struct rt_extrude_internal *extrude, const char *attribute, matp_t rmat)
 
int _ged_rotate_hyp (struct ged *gedp, struct rt_hyp_internal *hyp, const char *attribute, matp_t rmat)
 
int _ged_rotate_tgc (struct ged *gedp, struct rt_tgc_internal *tgc, const char *attribute, matp_t rmat)
 
int _ged_scale_ehy (struct ged *gedp, struct rt_ehy_internal *ehy, const char *attribute, fastf_t sf, int rflag)
 
int _ged_scale_ell (struct ged *gedp, struct rt_ell_internal *ell, const char *attribute, fastf_t sf, int rflag)
 
int _ged_scale_epa (struct ged *gedp, struct rt_epa_internal *epa, const char *attribute, fastf_t sf, int rflag)
 
int _ged_scale_eto (struct ged *gedp, struct rt_eto_internal *eto, const char *attribute, fastf_t sf, int rflag)
 
int _ged_scale_extrude (struct ged *gedp, struct rt_extrude_internal *extrude, const char *attribute, fastf_t sf, int rflag)
 
int _ged_scale_hyp (struct ged *gedp, struct rt_hyp_internal *hyp, const char *attribute, fastf_t sf, int rflag)
 
int _ged_scale_metaball (struct ged *gedp, struct rt_metaball_internal *mbip, const char *attribute, fastf_t sf, int rflag)
 
int _ged_set_metaball (struct ged *gedp, struct rt_metaball_internal *mbip, const char *attribute, fastf_t sf)
 
int _ged_scale_part (struct ged *gedp, struct rt_part_internal *part, const char *attribute, fastf_t sf, int rflag)
 
int _ged_scale_pipe (struct ged *gedp, struct rt_pipe_internal *pipe_internal, const char *attribute, fastf_t sf, int rflag)
 
int _ged_scale_rhc (struct ged *gedp, struct rt_rhc_internal *rhc, const char *attribute, fastf_t sf, int rflag)
 
int _ged_scale_rpc (struct ged *gedp, struct rt_rpc_internal *rpc, const char *attribute, fastf_t sf, int rflag)
 
int _ged_scale_superell (struct ged *gedp, struct rt_superell_internal *superell, const char *attribute, fastf_t sf, int rflag)
 
int _ged_scale_tgc (struct ged *gedp, struct rt_tgc_internal *tgc, const char *attribute, fastf_t sf, int rflag)
 
int _ged_scale_tor (struct ged *gedp, struct rt_tor_internal *tor, const char *attribute, fastf_t sf, int rflag)
 
struct directory ** _ged_dir_getspace (struct db_i *dbip, int num_entries)
 
int _ged_translate_extrude (struct ged *gedp, struct rt_extrude_internal *extrude, const char *attribute, vect_t tvec, int rflag)
 
int _ged_translate_tgc (struct ged *gedp, struct rt_tgc_internal *tgc, const char *attribute, vect_t tvec, int rflag)
 
void _ged_mat_aet (struct bview *gvp)
 
int _ged_do_rot (struct ged *gedp, char coord, mat_t rmat, int(*func)())
 
int _ged_do_slew (struct ged *gedp, vect_t svec)
 
int _ged_do_tra (struct ged *gedp, char coord, vect_t tvec, int(*func)())
 
int _ged_results_init (struct ged_results *results)
 
int _ged_results_add (struct ged_results *results, const char *result_string)
 

Variables

vect_t _ged_eye_model
 
mat_t _ged_viewrot
 
struct ged_ged_current_gedp
 
char _ged_tmpfil [MAXPATHLEN]
 

Detailed Description

Private header for libged.

Definition in file ged_private.h.

Macro Definition Documentation

#define FALSE   0

Definition at line 41 of file ged_private.h.

#define TRUE   1

Definition at line 45 of file ged_private.h.

#define _GED_V4_MAXNAME   NAMESIZE

Definition at line 48 of file ged_private.h.

Referenced by ged_concat().

#define _GED_TERMINAL_WIDTH   80

Definition at line 49 of file ged_private.h.

#define _GED_COLUMNS   ((_GED_TERMINAL_WIDTH + _GED_V4_MAXNAME - 1) / _GED_V4_MAXNAME)

Definition at line 50 of file ged_private.h.

#define _GED_CPEVAL   0

Definition at line 52 of file ged_private.h.

Referenced by ged_copyeval(), ged_pathsum(), and ged_trace().

#define _GED_LISTPATH   1

Definition at line 53 of file ged_private.h.

Referenced by ged_pathsum(), and ged_trace().

#define _GED_LISTEVAL   2

Definition at line 54 of file ged_private.h.

Referenced by ged_pathsum().

#define _GED_EVAL_ONLY   3

Definition at line 55 of file ged_private.h.

Referenced by ged_trace().

#define _GED_SHADED_MODE_UNSET   -1

Definition at line 57 of file ged_private.h.

Referenced by _ged_drawtrees().

#define _GED_WIREFRAME   0

Definition at line 58 of file ged_private.h.

Referenced by _ged_drawtrees(), and redraw_solid().

#define _GED_SHADED_MODE_BOTS   1

Definition at line 59 of file ged_private.h.

Referenced by _ged_drawtrees().

#define _GED_SHADED_MODE_ALL   2

Definition at line 60 of file ged_private.h.

Referenced by _ged_drawtrees().

#define _GED_BOOL_EVAL   3

Definition at line 61 of file ged_private.h.

Referenced by _ged_drawtrees(), and ged_E().

#define _GED_HIDDEN_LINE   4

Definition at line 62 of file ged_private.h.

Referenced by dl_how().

#define _GED_SHADED_MODE_EVAL   5

Definition at line 63 of file ged_private.h.

Referenced by _ged_drawtrees().

#define _GED_DRAW_WIREFRAME   1

Definition at line 65 of file ged_private.h.

Referenced by _ged_drawtrees(), and ged_draw().

#define _GED_DRAW_NMG_POLY   3

Definition at line 66 of file ged_private.h.

Referenced by _ged_drawtrees(), and ged_ev().

#define _GED_TREE_AFLAG   0x01

Definition at line 68 of file ged_private.h.

Referenced by _ged_print_node(), and ged_tree().

#define _GED_TREE_CFLAG   0x02

Definition at line 69 of file ged_private.h.

Referenced by _ged_print_node(), and ged_tree().

#define _GED_FUNTAB_UNLIMITED   -1

Definition at line 72 of file ged_private.h.

#define DG_GED_MAX   2047.0

Definition at line 74 of file ged_private.h.

Referenced by dl_plot(), and ged_vnirt().

#define DG_GED_MIN   -2048.0

Definition at line 75 of file ged_private.h.

Referenced by dl_plot().

#define PS_COORD (   _x)    ((int)((_x)+2048))

Definition at line 199 of file ged_private.h.

#define PS_COLOR (   _c)    ((_c)*(1.0/255.0))

Definition at line 200 of file ged_private.h.

Referenced by ged_ps().

Enumeration Type Documentation

enum otype
Enumerator
OTYPE_DXF 
OTYPE_OBJ 
OTYPE_SAT 
OTYPE_STL 

Definition at line 214 of file ged_private.h.

Function Documentation

void vls_col_item ( struct bu_vls str,
const char *  cp 
)

Definition at line 45 of file columns.c.

void vls_col_eol ( struct bu_vls str)

Definition at line 73 of file columns.c.

int edarb_facedef ( void *  data,
int  argc,
const char *  argv[] 
)

Definition at line 173 of file facedef.c.

References bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), GED_DB_GET_INTERNAL, GED_DB_LOOKUP, GED_DB_PUT_INTERNAL, GED_ERROR, GED_HELP, GED_MORE, GED_OK, ged::ged_result_str, ged::ged_wdbp, ID_ARB8, rt_db_internal::idb_ptr, LOOKUP_QUIET, p_3pts, p_nupnt, p_pleqn, p_rotfb, rt_arb_calc_planes(), rt_arb_calc_points(), rt_arb_std_type(), rt_db_free_internal(), rt_uniresource, usage(), and rt_wdb::wdb_tol.

Referenced by ged_edarb().

Here is the call graph for this function:

struct db_i* _ged_open_dbip ( const char *  filename,
int  existing_only 
)

Open/Create the database and build the in memory directory.

Definition at line 420 of file ged.c.

References bu_file_exists(), bu_file_readable(), bu_log(), db_create(), db_dirbuild(), db_open(), DB_OPEN_READONLY, DB_OPEN_READWRITE, and DBI_NULL.

Referenced by ged_open(), and ged_reopen().

Here is the call graph for this function:

struct directory* _ged_combadd ( struct ged gedp,
struct directory objp,
char *  combname,
int  region_flag,
db_op_t  relation,
int  ident,
int  air 
)

Definition at line 680 of file comb.c.

References _ged_combadd2(), directory::d_namep, db_lookup(), rt_wdb::dbip, GED_ERROR, ged::ged_wdbp, LOOKUP_QUIET, and RT_DIR_NULL.

Referenced by comb_flatten(), comb_wrap(), ged_comb(), ged_instance(), ged_region(), and ged_sphgroup().

Here is the call graph for this function:

int _ged_combadd2 ( struct ged gedp,
char *  combname,
int  argc,
const char *  argv[],
int  region_flag,
db_op_t  relation,
int  ident,
int  air 
)
void _dl_eraseAllNamesFromDisplay ( struct bu_list hdlp,
struct db_i dbip,
void(*)(unsigned int, int)  callback,
const char *  name,
const int  skip_first,
struct solid *  freesolid 
)

Definition at line 332 of file display_list.c.

References _dl_freeDisplayListItem(), BU_LIST_NEXT, BU_LIST_NOT_HEAD, BU_LIST_PNEXT, BU_STR_EQUAL, bu_vls_addr(), db_free_full_path(), db_string_to_path(), display_list::dl_path, eraseAllSubpathsFromSolidList(), strdup(), and strtok().

Referenced by ged_kill(), ged_killrefs(), and killtree_callback().

Here is the call graph for this function:

void _dl_eraseAllPathsFromDisplay ( struct bu_list hdlp,
struct db_i dbip,
void(*)(unsigned int, int)  callback,
const char *  path,
const int  skip_first,
struct solid *  freesolid 
)

Definition at line 437 of file display_list.c.

References _dl_eraseFirstSubpath(), _dl_freeDisplayListItem(), BU_LIST_NEXT, BU_LIST_NOT_HEAD, BU_LIST_PNEXT, bu_vls_addr(), db_free_full_path(), db_full_path_subset(), db_string_to_path(), display_list::dl_path, and display_list::dl_wflag.

Referenced by ged_erase(), and ged_remove().

Here is the call graph for this function:

void _dl_freeDisplayListItem ( struct db_i dbip,
void(*)(unsigned int, int)  callback,
struct display_list gdlp,
struct solid *  freesolid 
)

Definition at line 488 of file display_list.c.

References BU_LIST_DEQUEUE, BU_LIST_FIRST, BU_LIST_WHILE, bu_vls_free(), db_dirdelete(), display_list::dl_headSolid, display_list::dl_path, GED_FREE_VLIST_CALLBACK_PTR_NULL, display_list::l, RT_CK_DIR, and RT_DIR_PHONY_ADDR.

Referenced by _dl_eraseAllNamesFromDisplay(), and _dl_eraseAllPathsFromDisplay().

Here is the call graph for this function:

int headsolid_splitGDL ( struct bu_list hdlp,
struct db_i dbip,
struct display_list gdlp,
struct db_full_path path 
)

Definition at line 125 of file display_list.c.

References BU_LIST_IS_EMPTY, BU_LIST_NEXT, BU_LIST_NOT_HEAD, BU_LIST_PNEXT, BU_LIST_WHILE, db_full_path_match_top(), display_list::dl_headSolid, db_full_path::fp_len, headsolid_split(), and headsolid_splitGDL().

Referenced by _dl_eraseFirstSubpath(), dl_erasePathFromDisplay(), and headsolid_splitGDL().

Here is the call graph for this function:

int dl_bounding_sph ( struct bu_list hdlp,
vect_t *  min,
vect_t *  max,
int  pflag 
)
struct bu_ptbl* dl_get_solids ( struct display_list gdlp)
void dl_add_path ( struct display_list gdlp,
int  dashflag,
int  transparency,
int  dmode,
int  hiddenLine,
struct bu_list vhead,
const struct db_full_path pathp,
struct db_tree_state tsp,
unsigned char *  wireframe_color_override,
void(*)(struct display_list *)  callback,
struct solid *  freesolid 
)

Definition at line 670 of file display_list.c.

References bu_list::back, BU_LIST_APPEND, bu_semaphore_acquire(), bu_semaphore_release(), db_dup_full_path(), display_list::dl_headSolid, DOWN, GED_CREATE_VLIST_CALLBACK_PTR_NULL, RT_SEM_MODEL, and db_tree_state::ts_regionid.

Referenced by _ged_drawH_part2().

Here is the call graph for this function:

int dl_redraw ( struct display_list gdlp,
struct db_i dbip,
struct db_tree_state tsp,
struct bview gvp,
void(*)(struct display_list *)  callback 
)

Definition at line 933 of file display_list.c.

References BU_LIST_FOR, display_list::dl_headSolid, GED_CREATE_VLIST_CALLBACK_PTR_NULL, and redraw_solid().

Referenced by _ged_drawtrees(), and ged_redraw().

Here is the call graph for this function:

int dl_set_illum ( struct display_list gdlp,
const char *  obj,
int  illum 
)

Definition at line 1178 of file display_list.c.

References BU_STR_EQUAL, DB_FULL_PATH_GET, display_list::dl_headSolid, DOWN, and UP.

Referenced by ged_illum().

void dl_set_flag ( struct bu_list hdlp,
int  flag 
)
void dl_set_wflag ( struct bu_list hdlp,
int  wflag 
)

Definition at line 1239 of file display_list.c.

References BU_LIST_NEXT, BU_LIST_NOT_HEAD, BU_LIST_PNEXT, and display_list::dl_headSolid.

Referenced by ged_nirt().

void dl_zap ( struct bu_list hdlp,
struct db_i dbip,
void(*)(unsigned int, int)  callback,
struct solid *  freesolid 
)

Definition at line 1258 of file display_list.c.

References BU_LIST_DEQUEUE, BU_LIST_FIRST, BU_LIST_LAST, BU_LIST_NON_EMPTY, BU_LIST_WHILE, bu_log(), bu_vls_free(), db_dirdelete(), display_list::dl_headSolid, display_list::dl_path, GED_FREE_VLIST_CALLBACK_PTR_NULL, display_list::l, RT_CK_DIR, and RT_DIR_PHONY_ADDR.

Referenced by ged_zap().

Here is the call graph for this function:

int dl_how ( struct bu_list hdlp,
struct bu_vls vls,
struct directory **  dpp,
int  both 
)

Definition at line 1290 of file display_list.c.

References _GED_HIDDEN_LINE, BU_LIST_NEXT, BU_LIST_NOT_HEAD, BU_LIST_PNEXT, bu_vls_printf(), display_list::dl_headSolid, and RT_DIR_NULL.

Referenced by ged_how().

Here is the call graph for this function:

void dl_plot ( struct bu_list hdlp,
FILE *  fp,
mat_t  model2view,
int  floating,
mat_t  center,
fastf_t  scale,
int  Three_D,
int  Z_clip 
)
void dl_png ( struct bu_list hdlp,
mat_t  model2view,
fastf_t  perspective,
vect_t  eye_pos,
size_t  size,
size_t  half_size,
unsigned char **  image 
)

Definition at line 1710 of file display_list.c.

References bn_mat_mul(), BU_LIST_NEXT, BU_LIST_NOT_HEAD, BU_LIST_PNEXT, deering_persp_mat(), display_list::dl_headSolid, persp_mat(), VSET, Z, and ZERO.

Here is the call graph for this function:

void dl_ps ( struct bu_list hdlp,
FILE *  fp,
int  border,
char *  font,
char *  title,
char *  creator,
int  linewidth,
fastf_t  scale,
int  xoffset,
int  yoffset,
mat_t  model2view,
fastf_t  perspective,
vect_t  eye_pos,
float  red,
float  green,
float  blue 
)

Definition at line 2116 of file display_list.c.

Referenced by ged_ps().

void dl_print_schain ( struct bu_list hdlp,
struct db_i dbip,
int  lvl,
int  vlcmds,
struct bu_vls vls 
)

Definition at line 2128 of file display_list.c.

References BN_CK_VLIST, BU_LIST_FOR, BU_LIST_NEXT, BU_LIST_NOT_HEAD, BU_LIST_PNEXT, bu_vls_printf(), bn_vlist::cmd, db_path_to_vls(), db_i::dbi_base2local, DBI_NULL, display_list::dl_headSolid, bn_vlist::nused, bn_vlist::pt, rt_ck_vlist(), rt_vlist_get_cmd_description(), UP, V3ARGS, X, Y, and Z.

Referenced by ged_report().

Here is the call graph for this function:

void dl_bitwise_and_fullpath ( struct bu_list hdlp,
int  flag 
)
void dl_write_animate ( struct bu_list hdlp,
FILE *  fp 
)

Definition at line 2280 of file display_list.c.

References animate::an_forw, BU_LIST_NEXT, BU_LIST_NOT_HEAD, BU_LIST_PNEXT, DB_FULL_PATH_GET, db_write_anim(), display_list::dl_headSolid, and RT_DIR_USED.

Referenced by _ged_rt_write().

Here is the call graph for this function:

int dl_select ( struct bu_list hdlp,
mat_t  model2view,
struct bu_vls vls,
double  vx,
double  vy,
double  vwidth,
double  vheight,
int  rflag 
)
int dl_select_partial ( struct bu_list hdlp,
mat_t  model2view,
struct bu_vls vls,
double  vx,
double  vy,
double  vwidth,
double  vheight,
int  rflag 
)
void dl_set_transparency ( struct bu_list hdlp,
struct directory **  dpp,
double  transparency,
void(*)(struct display_list *)  callback 
)
void _ged_bot_dump ( struct directory dp,
struct rt_bot_internal *  bot,
FILE *  fp,
int  fd,
const char *  file_ext,
const char *  db_name 
)

Definition at line 598 of file bot_dump.c.

References bu_log(), bu_strlcpy, bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_putc(), bu_vls_strcat(), bu_vls_strcpy(), directory::d_namep, lswap(), memset(), OTYPE_DXF, OTYPE_OBJ, OTYPE_SAT, OTYPE_STL, and SEEK_SET.

Referenced by dl_botdump(), and ged_bot_dump().

Here is the call graph for this function:

void dl_botdump ( struct bu_list hdlp,
struct db_i dbip,
FILE *  fp,
int  fd,
char *  file_ext,
int  output_type,
int *  red,
int *  green,
int *  blue,
fastf_t alpha 
)

Definition at line 2576 of file display_list.c.

References _ged_bot_dump(), BU_LIST_FOR, bu_log(), directory::d_namep, db_i::dbi_filename, display_list::dl_headSolid, ID_BOT, rt_db_internal::idb_ptr, OTYPE_OBJ, rt_db_free_internal(), rt_db_get_internal(), and rt_uniresource.

Referenced by ged_dbot_dump().

Here is the call graph for this function:

void _ged_cvt_vlblock_to_solids ( struct ged gedp,
struct bn_vlblock vbp,
const char *  name,
int  copy 
)

Definition at line 554 of file draw.c.

References BU_LIST_IS_EMPTY, bu_strlcpy, rt_wdb::dbip, ged::freesolid, ged_drawable::gd_headDisplay, ged::ged_create_vlist_callback, ged::ged_free_vlist_callback, ged::ged_gdp, ged::ged_wdbp, bn_vlblock::head, invent_solid(), bn_vlblock::nused, and bn_vlblock::rgb.

Referenced by _ged_drawtrees(), ged_brep(), ged_gqa(), ged_nirt(), ged_overlay(), and ged_preview().

Here is the call graph for this function:

int _ged_drawtrees ( struct ged gedp,
int  argc,
const char *  argv[],
int  kind,
struct _ged_client_data _dgcdp 
)

Definition at line 581 of file draw.c.

References _GED_BOOL_EVAL, _ged_cvt_vlblock_to_solids(), _GED_DRAW_NMG_POLY, _GED_DRAW_WIREFRAME, _GED_SHADED_MODE_ALL, _GED_SHADED_MODE_BOTS, _GED_SHADED_MODE_EVAL, _GED_SHADED_MODE_UNSET, _GED_WIREFRAME, append_solid_to_display_list(), _ged_client_data::autoview, bu_free(), bu_getopt(), bu_log(), bu_malloc(), bu_optarg, bu_optind, bu_vls_printf(), db_walk_tree(), rt_wdb::dbip, dl_addToDisplay(), dl_redraw(), _ged_client_data::dmode, bview_client_data::dmode, _ged_client_data::do_not_draw_nmg_solids_during_debugging, _ged_client_data::draw_edge_uses, _ged_client_data::draw_edge_uses_vbp, _ged_client_data::draw_nmg_only, _ged_client_data::draw_no_surfaces, _ged_client_data::draw_normals, _ged_client_data::draw_solid_lines_only, bview_client_data::draw_solid_lines_only, _ged_client_data::draw_wireframes, _ged_client_data::fastpath_count, _ged_client_data::freesolid, bview_client_data::freesolid, ged::freesolid, ged_drawable::gd_headDisplay, ged_drawable::gd_shaded_mode, _ged_client_data::gdlp, bview_client_data::gdlp, ged_autoview(), ged::ged_create_vlist_callback, GED_DISPLAY_LIST_NULL, GED_ERROR, ged::ged_gdp, ged::ged_gvp, GED_OK, ged::ged_result_str, ged::ged_wdbp, _ged_client_data::gedp, bview::gv_adaptive_plot, _ged_client_data::hiddenLine, bview_client_data::hiddenLine, memset(), nmg_booltree_leaf_tess(), nmg_booltree_leaf_tnurb(), nmg_km(), nmg_mm(), _ged_client_data::nmg_triangulate, RT_CHECK_DBI, rt_vlblock_free(), rt_vlblock_init(), _ged_client_data::shade_per_vertex_normals, _ged_client_data::shaded_mode_override, _ged_client_data::transparency, bview_client_data::transparency, db_tree_state::ts_m, rt_wdb::wdb_initial_tree_state, _ged_client_data::wireframe_color, bview_client_data::wireframe_color, _ged_client_data::wireframe_color_override, and bview_client_data::wireframe_color_override.

Referenced by ged_cm_end(), and ged_draw_guts().

Here is the call graph for this function:

void _ged_drawH_part2 ( int  dashflag,
struct bu_list vhead,
const struct db_full_path pathp,
struct db_tree_state tsp,
struct _ged_client_data dgcdp 
)

Once the vlist has been created, perform the common tasks in handling the drawn solid.

This routine must be prepared to run in parallel.

Definition at line 164 of file draw.c.

References dl_add_path(), _ged_client_data::dmode, _ged_client_data::freesolid, _ged_client_data::gdlp, ged::ged_create_vlist_callback, _ged_client_data::gedp, _ged_client_data::hiddenLine, _ged_client_data::transparency, _ged_client_data::wireframe_color, and _ged_client_data::wireframe_color_override.

Referenced by ged_E().

Here is the call graph for this function:

int _ged_select_botpts ( struct ged gedp,
struct rt_bot_internal *  botip,
double  vx,
double  vy,
double  vwidth,
double  vheight,
double  vminz,
int  rflag 
)

Definition at line 688 of file edbot.c.

References bu_vls_printf(), GED_CHECK_DATABASE_OPEN, GED_CHECK_VIEW, GED_ERROR, ged::ged_gvp, GED_OK, ged::ged_result_str, bview::gv_model2view, VSET, X, Y, and Z.

Referenced by ged_rselect(), and ged_select().

Here is the call graph for this function:

int _ged_editit ( const char *  editstring,
const char *  file 
)
void _ged_eraseobjpath ( struct ged gedp,
int  argc,
const char *  argv[],
const int  noisy,
const int  all,
const int  skip_first 
)
void _ged_eraseobjall ( struct ged gedp,
struct directory **  dpp,
int  skip_first 
)
void _ged_eraseobj ( struct ged gedp,
struct directory **  dpp,
int  skip_first 
)
void _ged_vls_print_matrix ( struct bu_vls vls,
matp_t  matrix 
)

Definition at line 167 of file get_comb.c.

References bn_mat_is_identity(), bu_vls_printf(), and ZERO.

Referenced by ged_get_comb().

Here is the call graph for this function:

int _ged_get_obj_bounds2 ( struct ged gedp,
int  argc,
const char *  argv[],
struct _ged_trace_data gtdp,
point_t  rpp_min,
point_t  rpp_max 
)
int _ged_get_solid_keypoint ( struct ged *const  gedp,
fastf_t *const  pt,
const struct rt_db_internal *const  ip,
const fastf_t *const  mat 
)
struct directory** _ged_build_dpp ( struct ged gedp,
const char *  path 
)

Definition at line 96 of file how.c.

References brlcad_interp, bu_calloc(), bu_free(), bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), db_lookup(), rt_wdb::dbip, ged::ged_result_str, ged::ged_wdbp, RT_DIR_NULL, strchr(), and strdup().

Referenced by ged_how(), and ged_set_transparency().

Here is the call graph for this function:

void _ged_do_list ( struct ged gedp,
struct directory dp,
int  verbose 
)
int _ged_cm_vsize ( const int  argc,
const char **  argv 
)

Definition at line 260 of file loadview.c.

References ged::ged_gvp, bview::gv_isize, bview::gv_scale, and bview::gv_size.

int _ged_cm_eyept ( const int  argc,
const char **  argv 
)

Definition at line 273 of file loadview.c.

References _ged_eye_model, X, Y, and Z.

int _ged_cm_lookat_pt ( const int  argc,
const char **  argv 
)

Definition at line 286 of file loadview.c.

References _ged_eye_model, _ged_viewrot, bn_mat_fromto(), ged::ged_wdbp, rt_wdb::wdb_tol, X, Y, and Z.

Here is the call graph for this function:

int _ged_cm_vrot ( const int  argc,
const char **  argv 
)

Definition at line 319 of file loadview.c.

References _ged_viewrot.

int _ged_cm_orientation ( const int  argc,
const char **  argv 
)

Definition at line 333 of file loadview.c.

References _ged_viewrot, and quat_quat2mat().

Here is the call graph for this function:

int _ged_cm_set ( const int  argc,
const char **  argv 
)

Definition at line 350 of file loadview.c.

int _ged_cm_null ( const int  argc,
const char **  argv 
)

any commands that are not supported or implemented may call this null routine to avoid rt_do_cmd() "command not found" error reporting

Definition at line 361 of file loadview.c.

void _ged_vls_col_pr4v ( struct bu_vls vls,
struct directory **  list_of_names,
size_t  num_in_list,
int  no_decorate 
)

Given a pointer to a list of pointers to names and the number of names in that list, sort and print that list in column order over four columns.

Definition at line 84 of file ls.c.

References bu_sort(), bu_vls_printf(), bu_vls_putc(), cmpdirname(), directory::d_flags, directory::d_namep, RT_DIR_COMB, RT_DIR_REGION, and RT_TERMINAL_WIDTH.

Referenced by ged_dup(), ged_ls(), and ged_tops().

Here is the call graph for this function:

struct directory** _ged_getspace ( struct db_i dbip,
size_t  num_entries 
)

This routine walks through the directory entry list and mallocs enough space for pointers to hold the number of entries specified by the argument if > 0.

Definition at line 49 of file ls.c.

References bu_calloc(), and db_directory_size().

Referenced by ged_dup(), and ged_ls().

Here is the call graph for this function:

void _ged_setup_rt ( struct ged gedp,
char **  vp,
int  printcmd 
)
void _ged_rt_set_eye_model ( struct ged gedp,
vect_t  eye_model 
)

Definition at line 88 of file rt.c.

References dl_bounding_sph(), ged_drawable::gd_headDisplay, ged::ged_gdp, ged::ged_gvp, bview::gv_center, bview::gv_perspective, bview::gv_rotation, bview::gv_view2model, bview::gv_zclip, NEAR_ZERO, and VSET.

Referenced by _ged_run_rt(), ged_get_eyemodel(), ged_rtcheck(), ged_rtwizard(), and ged_saveview().

Here is the call graph for this function:

int _ged_run_rt ( struct ged gdp)
void _ged_rt_write ( struct ged gedp,
FILE *  fp,
vect_t  eye_model 
)

Definition at line 54 of file rt.c.

References dl_bitwise_and_fullpath(), dl_write_animate(), ged_drawable::gd_headDisplay, ged::ged_gdp, ged::ged_gvp, bview::gv_rotation, bview::gv_size, quat_mat2quat(), RT_DIR_USED, X, Y, and Z.

Referenced by _ged_run_rt(), ged_rtcheck(), and ged_saveview().

Here is the call graph for this function:

void _ged_rt_output_handler ( ClientData  clientData,
int  mask 
)

Definition at line 132 of file rt.c.

References ged_run_rt::aborted, brlcad_interp, BU_LIST_DEQUEUE, bu_log(), BU_PUT, bu_vls_printf(), ged_run_rt::fd, ged::ged_output_handler, ged::ged_result_str, _ged_rt_client_data::gedp, ged_run_rt::l, ged_run_rt::pid, _ged_rt_client_data::rrtp, and RT_MAXLINE.

Referenced by _ged_run_rt(), and _ged_run_rtwizard().

Here is the call graph for this function:

void _ged_wait_status ( struct bu_vls logstr,
int  status 
)

Definition at line 80 of file rtcheck.c.

References bu_vls_printf().

Referenced by ged_nirt().

Here is the call graph for this function:

int _ged_rotate_eto ( struct ged gedp,
struct rt_eto_internal *  eto,
const char *  attribute,
matp_t  rmat 
)

Definition at line 38 of file rotate_eto.c.

References bu_vls_printf(), GED_ERROR, GED_OK, and ged::ged_result_str.

Referenced by ged_protate().

Here is the call graph for this function:

int _ged_rotate_extrude ( struct ged gedp,
struct rt_extrude_internal *  extrude,
const char *  attribute,
matp_t  rmat 
)

Definition at line 38 of file rotate_extrude.c.

References bu_vls_printf(), GED_ERROR, GED_OK, and ged::ged_result_str.

Referenced by ged_protate().

Here is the call graph for this function:

int _ged_rotate_hyp ( struct ged gedp,
struct rt_hyp_internal *  hyp,
const char *  attribute,
matp_t  rmat 
)

Definition at line 38 of file rotate_hyp.c.

References bu_vls_printf(), GED_ERROR, GED_OK, and ged::ged_result_str.

Referenced by ged_protate().

Here is the call graph for this function:

int _ged_rotate_tgc ( struct ged gedp,
struct rt_tgc_internal *  tgc,
const char *  attribute,
matp_t  rmat 
)

Definition at line 38 of file rotate_tgc.c.

References bu_vls_printf(), GED_ERROR, GED_OK, and ged::ged_result_str.

Referenced by ged_protate().

Here is the call graph for this function:

int _ged_scale_ehy ( struct ged gedp,
struct rt_ehy_internal *  ehy,
const char *  attribute,
fastf_t  sf,
int  rflag 
)

Definition at line 36 of file scale_ehy.c.

References bu_vls_printf(), GED_ERROR, GED_OK, and ged::ged_result_str.

Referenced by ged_pscale().

Here is the call graph for this function:

int _ged_scale_ell ( struct ged gedp,
struct rt_ell_internal *  ell,
const char *  attribute,
fastf_t  sf,
int  rflag 
)

Definition at line 36 of file scale_ell.c.

References bu_vls_printf(), GED_ERROR, GED_OK, and ged::ged_result_str.

Referenced by ged_pscale().

Here is the call graph for this function:

int _ged_scale_epa ( struct ged gedp,
struct rt_epa_internal *  epa,
const char *  attribute,
fastf_t  sf,
int  rflag 
)

Definition at line 36 of file scale_epa.c.

References bu_vls_printf(), GED_ERROR, GED_OK, and ged::ged_result_str.

Referenced by ged_pscale().

Here is the call graph for this function:

int _ged_scale_eto ( struct ged gedp,
struct rt_eto_internal *  eto,
const char *  attribute,
fastf_t  sf,
int  rflag 
)

Definition at line 38 of file scale_eto.c.

References bu_vls_printf(), GED_ERROR, GED_OK, ged::ged_result_str, and SMALL.

Referenced by ged_pscale().

Here is the call graph for this function:

int _ged_scale_extrude ( struct ged gedp,
struct rt_extrude_internal *  extrude,
const char *  attribute,
fastf_t  sf,
int  rflag 
)

Definition at line 38 of file scale_extrude.c.

References bu_vls_printf(), GED_ERROR, GED_OK, ged::ged_result_str, and SQRT_SMALL_FASTF.

Referenced by ged_pscale().

Here is the call graph for this function:

int _ged_scale_hyp ( struct ged gedp,
struct rt_hyp_internal *  hyp,
const char *  attribute,
fastf_t  sf,
int  rflag 
)

Definition at line 38 of file scale_hyp.c.

References bu_vls_printf(), GED_ERROR, GED_OK, and ged::ged_result_str.

Referenced by ged_pscale().

Here is the call graph for this function:

int _ged_scale_metaball ( struct ged gedp,
struct rt_metaball_internal *  mbip,
const char *  attribute,
fastf_t  sf,
int  rflag 
)

Definition at line 120 of file edit_metaball.c.

References _ged_get_metaball_pt_i(), BU_CKMAG, bu_vls_printf(), GED_ERROR, GED_METABALL_SCALE, GED_OK, ged::ged_result_str, and WDB_METABALLPT_MAGIC.

Referenced by ged_pscale().

Here is the call graph for this function:

int _ged_set_metaball ( struct ged gedp,
struct rt_metaball_internal *  mbip,
const char *  attribute,
fastf_t  sf 
)

Definition at line 87 of file edit_metaball.c.

References bu_vls_printf(), GED_ERROR, GED_OK, and ged::ged_result_str.

Referenced by ged_pset().

Here is the call graph for this function:

int _ged_scale_part ( struct ged gedp,
struct rt_part_internal *  part,
const char *  attribute,
fastf_t  sf,
int  rflag 
)

Definition at line 36 of file scale_part.c.

References bu_vls_printf(), GED_ERROR, GED_OK, and ged::ged_result_str.

Referenced by ged_pscale().

Here is the call graph for this function:

int _ged_scale_pipe ( struct ged gedp,
struct rt_pipe_internal *  pipe_internal,
const char *  attribute,
fastf_t  sf,
int  rflag 
)

Definition at line 516 of file edpipe.c.

References _ged_get_pipe_seg_i(), bu_vls_printf(), GED_ERROR, GED_OK, ged::ged_result_str, pipe_scale_id(), pipe_scale_od(), pipe_scale_radius(), pipe_seg_scale_id(), pipe_seg_scale_od(), and pipe_seg_scale_radius().

Referenced by ged_pscale().

Here is the call graph for this function:

int _ged_scale_rhc ( struct ged gedp,
struct rt_rhc_internal *  rhc,
const char *  attribute,
fastf_t  sf,
int  rflag 
)

Definition at line 36 of file scale_rhc.c.

References bu_vls_printf(), GED_ERROR, GED_OK, and ged::ged_result_str.

Referenced by ged_pscale().

Here is the call graph for this function:

int _ged_scale_rpc ( struct ged gedp,
struct rt_rpc_internal *  rpc,
const char *  attribute,
fastf_t  sf,
int  rflag 
)

Definition at line 36 of file scale_rpc.c.

References bu_vls_printf(), GED_ERROR, GED_OK, and ged::ged_result_str.

Referenced by ged_pscale().

Here is the call graph for this function:

int _ged_scale_superell ( struct ged gedp,
struct rt_superell_internal *  superell,
const char *  attribute,
fastf_t  sf,
int  rflag 
)

Definition at line 36 of file scale_superell.c.

References bu_vls_printf(), GED_ERROR, GED_OK, and ged::ged_result_str.

Referenced by ged_pscale().

Here is the call graph for this function:

int _ged_scale_tgc ( struct ged gedp,
struct rt_tgc_internal *  tgc,
const char *  attribute,
fastf_t  sf,
int  rflag 
)

Definition at line 38 of file scale_tgc.c.

References bu_vls_printf(), GED_ERROR, GED_OK, ged::ged_result_str, and ZERO.

Referenced by ged_pscale().

Here is the call graph for this function:

int _ged_scale_tor ( struct ged gedp,
struct rt_tor_internal *  tor,
const char *  attribute,
fastf_t  sf,
int  rflag 
)

Definition at line 38 of file scale_tor.c.

References bu_vls_printf(), GED_ERROR, GED_OK, ged::ged_result_str, and SMALL.

Referenced by ged_pscale().

Here is the call graph for this function:

struct directory** _ged_dir_getspace ( struct db_i dbip,
int  num_entries 
)

Definition at line 140 of file tops.c.

References bu_log(), bu_malloc(), directory::d_forw, db_i::dbi_Head, RT_DBNHASH, and RT_DIR_NULL.

Referenced by ged_tops().

Here is the call graph for this function:

int _ged_translate_extrude ( struct ged gedp,
struct rt_extrude_internal *  extrude,
const char *  attribute,
vect_t  tvec,
int  rflag 
)

Definition at line 38 of file translate_extrude.c.

References bu_vls_printf(), db_i::dbi_local2base, rt_wdb::dbip, GED_ERROR, GED_OK, ged::ged_result_str, ged::ged_wdbp, and SQRT_SMALL_FASTF.

Referenced by ged_ptranslate().

Here is the call graph for this function:

int _ged_translate_tgc ( struct ged gedp,
struct rt_tgc_internal *  tgc,
const char *  attribute,
vect_t  tvec,
int  rflag 
)

Definition at line 38 of file translate_tgc.c.

References bu_vls_printf(), db_i::dbi_local2base, rt_wdb::dbip, GED_ERROR, GED_OK, ged::ged_result_str, ged::ged_wdbp, and SQRT_SMALL_FASTF.

Referenced by ged_ptranslate().

Here is the call graph for this function:

void _ged_mat_aet ( struct bview gvp)

FIXME: this routine is suspect and needs investigating. if run during view initialization, the shaders regression test fails.

Definition at line 82 of file vutil.c.

References bn_mat_angles(), bn_mat_mul2(), bn_mat_zrot(), bview::gv_aet, and bview::gv_rotation.

Referenced by ged_aet(), and ged_lookat().

Here is the call graph for this function:

int _ged_do_rot ( struct ged gedp,
char  coord,
mat_t  rmat,
int(*)()  func 
)

Definition at line 103 of file vutil.c.

References bn_mat_inv(), bn_mat_mul(), bn_mat_mul2(), bn_mat_xform_about_pt(), GED_ERROR, ged::ged_gvp, GED_OK, ged_view_update(), bview::gv_center, bview::gv_keypoint, bview::gv_model2view, bview::gv_rotate_about, bview::gv_rotation, bview::gv_view2model, and VSET.

Referenced by ged_arot(), and ged_rot().

Here is the call graph for this function:

int _ged_do_slew ( struct ged gedp,
vect_t  svec 
)

Definition at line 168 of file vutil.c.

References ged::ged_gvp, GED_OK, ged_view_update(), bview::gv_center, and bview::gv_view2model.

Referenced by ged_slew().

Here is the call graph for this function:

int _ged_do_tra ( struct ged gedp,
char  coord,
vect_t  tvec,
int(*)()  func 
)

Definition at line 181 of file vutil.c.

References db_i::dbi_base2local, rt_wdb::dbip, delta, ged::ged_gvp, GED_OK, ged_view_update(), ged::ged_wdbp, bview::gv_center, bview::gv_isize, and bview::gv_view2model.

Referenced by ged_tra().

Here is the call graph for this function:

int _ged_results_init ( struct ged_results results)

Definition at line 36 of file ged_util.c.

References BU_ALLOC, BU_PTBL_INIT, GED_ERROR, GED_OK, ged_results::results_tbl, and UNLIKELY.

Referenced by ged_init().

int _ged_results_add ( struct ged_results results,
const char *  result_string 
)

Definition at line 47 of file ged_util.c.

References bu_ptbl_ins(), BU_PTBL_IS_INITIALIZED, bu_strdup, GED_ERROR, GED_OK, ged_results::results_tbl, and UNLIKELY.

Referenced by ged_ls().

Here is the call graph for this function:

Variable Documentation

vect_t _ged_eye_model

Definition at line 35 of file loadview.c.

Referenced by _ged_cm_eyept(), _ged_cm_lookat_pt(), ged_cm_end(), ged_loadview(), and ged_preview().

mat_t _ged_viewrot
char _ged_tmpfil[MAXPATHLEN]

Definition at line 40 of file red.c.

Referenced by build_comb(), ged_put_comb(), ged_red(), and write_comb().