BRL-CAD
ged.h File Reference
#include "common.h"
#include "solid.h"
#include "dm/bview.h"
#include "fbserv_obj.h"
Include dependency graph for ged.h:

Go to the source code of this file.

Data Structures

struct  ged_run_rt
 
struct  ged_qray_color
 
struct  ged_qray_fmt
 
struct  vd_curve
 
struct  ged_drawable
 
struct  ged
 
struct  ged_cmd
 
struct  polygon_header
 
struct  _ged_trace_data
 

Macros

#define GED_OK   0x0000
 
#define GED_ERROR   0x0001
 
#define GED_HELP   0x0002
 
#define GED_MORE   0x0004
 
#define GED_QUIET   0x0008
 
#define GED_VMIN   -2048.0
 
#define GED_VMAX   2047.0
 
#define GED_VRANGE   4095.0
 
#define INV_GED_V   0.00048828125
 
#define INV_4096_V   0.000244140625
 
#define GED_NULL   ((struct ged *)0)
 
#define GED_DISPLAY_LIST_NULL   ((struct display_list *)0)
 
#define GED_DRAWABLE_NULL   ((struct ged_drawable *)0)
 
#define GED_VIEW_NULL   ((struct bview *)0)
 
#define GED_DM_VIEW_NULL   ((struct ged_dm_view *)0)
 
#define GED_RESULT_NULL   ((void *)0)
 
#define GED_FUNC_PTR_NULL   ((ged_func_ptr)0)
 
#define GED_REFRESH_CALLBACK_PTR_NULL   ((ged_refresh_callback_ptr)0)
 
#define GED_CREATE_VLIST_CALLBACK_PTR_NULL   ((ged_create_vlist_callback_ptr)0)
 
#define GED_FREE_VLIST_CALLBACK_PTR_NULL   ((ged_free_vlist_callback_ptr)0)
 
#define GED_SEM_WORKER   RT_SEM_LAST
 
#define GED_SEM_STATS   GED_SEM_WORKER+1
 
#define GED_SEM_LIST   GED_SEM_STATS+1
 
#define GED_SEM_LAST   GED_SEM_LIST+1
 
#define GED_INIT(_gedp, _wdbp)
 
#define GED_INITIALIZED(_gedp)   ((_gedp)->ged_wdbp != RT_WDB_NULL)
 
#define GED_LOCAL2BASE(_gedp)   ((_gedp)->ged_wdbp->dbip->dbi_local2base)
 
#define GED_BASE2LOCAL(_gedp)   ((_gedp)->ged_wdbp->dbip->dbi_base2local)
 
#define GED_CHECK_COMB(_gedp, _dp, _flags)
 
#define GED_CHECK_DATABASE_OPEN(_gedp, _flags)
 
#define GED_CHECK_DRAWABLE(_gedp, _flags)
 
#define GED_CHECK_VIEW(_gedp, _flags)
 
#define GED_CHECK_FBSERV(_gedp, _flags)
 
#define GED_CHECK_FBSERV_FBP(_gedp, _flags)
 
#define GED_CHECK_EXISTS(_gedp, _name, _noisy, _flags)
 
#define GED_CHECK_READ_ONLY(_gedp, _flags)
 
#define GED_CHECK_REGION(_gedp, _dp, _flags)
 
#define GED_CHECK_ARGC_GT_0(_gedp, _argc, _flags)
 
#define GED_DB_DIRADD(_gedp, _dp, _name, _laddr, _len, _dirflags, _ptr, _flags)
 
#define GED_DB_LOOKUP(_gedp, _dp, _name, _noisy, _flags)
 
#define GED_DB_GET_INTERNAL(_gedp, _intern, _dp, _mat, _resource, _flags)
 
#define GED_DB_PUT_INTERNAL(_gedp, _dp, _intern, _resource, _flags)
 
#define GED_MAX   2047.0
 
#define GED_MIN   -2048.0
 
#define GED_RANGE   4095.0
 
#define INV_GED   0.00048828125
 
#define INV_4096   0.000244140625
 
#define RT_VDRW_PREFIX   "_VDRW"
 
#define RT_VDRW_PREFIX_LEN   6
 
#define RT_VDRW_MAXNAME   31
 
#define RT_VDRW_DEF_COLOR   0xffff00
 
#define VD_CURVE_NULL   ((struct vd_curve *)NULL)
 
#define POLYGON_HEADER_MAGIC   0x8623bad2
 
#define _GED_MAX_LEVELS   12
 

Typedefs

typedef int(* ged_func_ptr) (struct ged *, int, const char *[])
 
typedef void(* ged_refresh_callback_ptr) (void *)
 
typedef void(* ged_create_vlist_callback_ptr) (struct display_list *)
 
typedef void(* ged_free_vlist_callback_ptr) (unsigned int, int)
 

Functions

size_t ged_results_count (struct ged_results *results)
 
const char * ged_results_get (struct ged_results *results, size_t index)
 
void ged_results_clear (struct ged_results *results)
 
void ged_results_free (struct ged_results *results)
 
void ged_calc_adc_pos (struct bview *gvp)
 
void ged_calc_adc_a1 (struct bview *gvp)
 
void ged_calc_adc_a2 (struct bview *gvp)
 
void ged_calc_adc_dst (struct bview *gvp)
 
int ged_clip (fastf_t *xp1, fastf_t *yp1, fastf_t *xp2, fastf_t *yp2)
 
int ged_vclip (vect_t a, vect_t b, fastf_t *min, fastf_t *max)
 
int ged_dbcopy (struct ged *from_gedp, struct ged *to_gedp, const char *from, const char *to, int fflag)
 
void dl_set_iflag (struct bu_list *hdlp, int iflag)
 
void dl_color_soltab (struct bu_list *hdlp)
 
void dl_erasePathFromDisplay (struct bu_list *hdlp, struct db_i *dbip, void(*callback)(unsigned int, int), const char *path, int allow_split, struct solid *freesolid)
 
struct display_listdl_addToDisplay (struct bu_list *hdlp, struct db_i *dbip, const char *name)
 
void dl_polybinout (struct bu_list *hdlp, struct polygon_header *ph, FILE *fp)
 
int invent_solid (struct bu_list *hdlp, struct db_i *dbip, void(*callback_create)(struct display_list *), void(*callback_free)(unsigned int, int), char *name, struct bu_list *vhead, long int rgb, int copy, fastf_t transparency, int dmode, struct solid *freesolid, int csoltab)
 
void ged_close (struct ged *gedp)
 
void ged_free (struct ged *gedp)
 
void ged_init (struct ged *gedp)
 
struct gedged_open (const char *dbtype, const char *filename, int existing_only)
 
void ged_view_init (struct bview *gvp)
 
void ged_snap_to_grid (struct ged *gedp, fastf_t *vx, fastf_t *vy)
 
int ged_inside_internal (struct ged *gedp, struct rt_db_internal *ip, int argc, const char *argv[], int arg, char *o_name)
 
int ged_build_tops (struct ged *gedp, char **start, char **end)
 
size_t ged_count_tops (struct ged *gedp)
 
void ged_persp_mat (fastf_t *m, fastf_t fovy, fastf_t aspect, fastf_t near1, fastf_t far1, fastf_t backoff)
 
void ged_mike_persp_mat (fastf_t *pmat, const fastf_t *eye)
 
void ged_deering_persp_mat (fastf_t *m, const fastf_t *l, const fastf_t *h, const fastf_t *eye)
 
void ged_view_update (struct bview *gvp)
 
int ged_3ptarb (struct ged *gedp, int argc, const char *argv[])
 
int ged_adc (struct ged *gedp, int argc, const char *argv[])
 
int ged_adjust (struct ged *gedp, int argc, const char *argv[])
 
int ged_arb (struct ged *gedp, int argc, const char *argv[])
 
int ged_ae2dir (struct ged *gedp, int argc, const char *argv[])
 
int ged_aet (struct ged *gedp, int argc, const char *argv[])
 
int ged_analyze (struct ged *gedp, int argc, const char *argv[])
 
int ged_annotate (struct ged *gedp, int argc, const char *argv[])
 
int ged_append_pipept (struct ged *gedp, int argc, const char *argv[])
 
int ged_arced (struct ged *gedp, int argc, const char *argv[])
 
int ged_attr (struct ged *gedp, int argc, const char *argv[])
 
int ged_arot_args (struct ged *gedp, int argc, const char *argv[], mat_t rmat)
 
int ged_arot (struct ged *gedp, int argc, const char *argv[])
 
int ged_autoview (struct ged *gedp, int argc, const char *argv[])
 
int ged_bb (struct ged *gedp, int argc, const char *argv[])
 
int ged_bev (struct ged *gedp, int argc, const char *argv[])
 
int ged_bo (struct ged *gedp, int argc, const char *argv[])
 
int ged_blast (struct ged *gedp, int argc, const char *argv[])
 
int ged_bot (struct ged *gedp, int argc, const char *argv[])
 
int ged_bot_condense (struct ged *gedp, int argc, const char *argv[])
 
int ged_bot_decimate (struct ged *gedp, int argc, const char *argv[])
 
int ged_bot_dump (struct ged *gedp, int argc, const char *argv[])
 
int ged_dbot_dump (struct ged *gedp, int argc, const char *argv[])
 
int ged_bot_edge_split (struct ged *gedp, int argc, const char *argv[])
 
int ged_bot_face_fuse (struct ged *gedp, int argc, const char *argv[])
 
int ged_bot_face_sort (struct ged *gedp, int argc, const char *argv[])
 
int ged_bot_face_split (struct ged *gedp, int argc, const char *argv[])
 
int ged_bot_flip (struct ged *gedp, int argc, const char *argv[])
 
int ged_bot_fuse (struct ged *gedp, int argc, const char *argv[])
 
int ged_bot_merge (struct ged *gedp, int argc, const char *argv[])
 
int ged_bot_smooth (struct ged *gedp, int argc, const char *argv[])
 
int ged_bot_split (struct ged *gedp, int argc, const char *argv[])
 
int ged_bot_sync (struct ged *gedp, int argc, const char *argv[])
 
int ged_bot_vertex_fuse (struct ged *gedp, int argc, const char *argv[])
 
int ged_brep (struct ged *gedp, int argc, const char *argv[])
 
int ged_cat (struct ged *gedp, int argc, const char *argv[])
 
int ged_cc (struct ged *gedp, int argc, const char *argv[])
 
int ged_center (struct ged *gedp, int argc, const char *argv[])
 
int ged_clone (struct ged *gedp, int argc, const char *argv[])
 
int ged_coil (struct ged *gedp, int argc, const char *argv[])
 
int ged_color (struct ged *gedp, int argc, const char *argv[])
 
int ged_comb_color (struct ged *gedp, int argc, const char *argv[])
 
int ged_comb (struct ged *gedp, int argc, const char *argv[])
 
int ged_comb_std (struct ged *gedp, int argc, const char *argv[])
 
int ged_combmem (struct ged *gedp, int argc, const char *argv[])
 
int ged_constraint (struct ged *gedp, int argc, const char *argv[])
 
int ged_concat (struct ged *gedp, int argc, const char *argv[])
 
int ged_copy (struct ged *gedp, int argc, const char *argv[])
 
int ged_copyeval (struct ged *gedp, int argc, const char *argv[])
 
int ged_copymat (struct ged *gedp, int argc, const char *argv[])
 
int ged_cpi (struct ged *gedp, int argc, const char *argv[])
 
int ged_dbip (struct ged *gedp, int argc, const char *argv[])
 
int ged_debugbu (struct ged *gedp, int argc, const char *argv[])
 
int ged_debugdir (struct ged *gedp, int argc, const char *argv[])
 
int ged_debuglib (struct ged *gedp, int argc, const char *argv[])
 
int ged_debugmem (struct ged *gedp, int argc, const char *argv[])
 
int ged_memprint (struct ged *gedp, int argc, const char *argv[])
 
int ged_debugnmg (struct ged *gedp, int argc, const char *argv[])
 
int ged_decompose (struct ged *gedp, int argc, const char *argv[])
 
int ged_delay (struct ged *gedp, int argc, const char *argv[])
 
int ged_delete_pipept (struct ged *gedp, int argc, const char *argv[])
 
int ged_dir2ae (struct ged *gedp, int argc, const char *argv[])
 
int ged_draw (struct ged *gedp, int argc, const char *argv[])
 
int ged_dump (struct ged *gedp, int argc, const char *argv[])
 
int ged_dup (struct ged *gedp, int argc, const char *argv[])
 
int ged_E (struct ged *gedp, int argc, const char *argv[])
 
int ged_eac (struct ged *gedp, int argc, const char *argv[])
 
int ged_echo (struct ged *gedp, int argc, const char *argv[])
 
int ged_edarb (struct ged *gedp, int argc, const char *argv[])
 
int ged_edcolor (struct ged *gedp, int argc, const char *argv[])
 
int ged_edcodes (struct ged *gedp, int argc, const char *argv[])
 
int ged_edcomb (struct ged *gedp, int argc, const char *argv[])
 
int ged_edit (struct ged *gedp, int argc, const char *argv[])
 
int ged_editit (struct ged *gedp, int argc, const char *argv[])
 
int ged_edmater (struct ged *gedp, int argc, const char *argv[])
 
int ged_erase (struct ged *gedp, int argc, const char *argv[])
 
int ged_ev (struct ged *gedp, int argc, const char *argv[])
 
int ged_eye (struct ged *gedp, int argc, const char *argv[])
 
int ged_eye_pos (struct ged *gedp, int argc, const char *argv[])
 
int ged_exists (struct ged *gedp, int argc, const char *argv[])
 
int ged_expand (struct ged *gedp, int argc, const char *argv[])
 
int ged_facetize (struct ged *gedp, int argc, const char *argv[])
 
int ged_fb2pix (struct ged *gedp, int argc, const char *argv[])
 
int ged_fbclear (struct ged *gedp, int argc, const char *argv[])
 
int ged_find (struct ged *gedp, int argc, const char *argv[])
 
int ged_find_arb_edge_nearest_pt (struct ged *gedp, int argc, const char *argv[])
 
int ged_find_bot_edge_nearest_pt (struct ged *gedp, int argc, const char *argv[])
 
int ged_find_botpt_nearest_pt (struct ged *gedp, int argc, const char *argv[])
 
int ged_add_metaballpt (struct ged *gedp, int argc, const char *argv[])
 
int ged_delete_metaballpt (struct ged *gedp, int argc, const char *argv[])
 
int ged_find_metaballpt_nearest_pt (struct ged *gedp, int argc, const char *argv[])
 
int ged_move_metaballpt (struct ged *gedp, int argc, const char *argv[])
 
int ged_find_pipept_nearest_pt (struct ged *gedp, int argc, const char *argv[])
 
int ged_form (struct ged *gedp, int argc, const char *argv[])
 
int ged_fracture (struct ged *gedp, int argc, const char *argv[])
 
int ged_gdiff (struct ged *gedp, int argc, const char *argv[])
 
int ged_get (struct ged *gedp, int argc, const char *argv[])
 
int ged_get_autoview (struct ged *gedp, int argc, const char *argv[])
 
int ged_get_bot_edges (struct ged *gedp, int argc, const char *argv[])
 
int ged_get_comb (struct ged *gedp, int argc, const char *argv[])
 
int ged_get_eyemodel (struct ged *gedp, int argc, const char *argv[])
 
int ged_get_type (struct ged *gedp, int argc, const char *argv[])
 
int ged_glob (struct ged *gedp, int argc, const char *argv[])
 
int ged_gqa (struct ged *gedp, int argc, const char *argv[])
 
int ged_graph (struct ged *gedp, int argc, const char *argv[])
 
int ged_grid (struct ged *gedp, int argc, const char *argv[])
 
int ged_grid2model_lu (struct ged *gedp, int argc, const char *argv[])
 
int ged_grid2view_lu (struct ged *gedp, int argc, const char *argv[])
 
int ged_group (struct ged *gedp, int argc, const char *argv[])
 
int ged_hide (struct ged *gedp, int argc, const char *argv[])
 
int ged_how (struct ged *gedp, int argc, const char *argv[])
 
int ged_human (struct ged *gedp, int argc, const char *argv[])
 
int ged_illum (struct ged *gedp, int argc, const char *argv[])
 
int ged_in (struct ged *gedp, int argc, const char *argv[])
 
int ged_inside (struct ged *gedp, int argc, const char *argv[])
 
int ged_instance (struct ged *gedp, int argc, const char *argv[])
 
int ged_importFg4Section (struct ged *gedp, int argc, const char *argv[])
 
int ged_isize (struct ged *gedp, int argc, const char *argv[])
 
int ged_item (struct ged *gedp, int argc, const char *argv[])
 
int ged_joint (struct ged *gedp, int argc, const char *argv[])
 
int ged_joint2 (struct ged *gedp, int argc, const char *argv[])
 
int ged_keep (struct ged *gedp, int argc, const char *argv[])
 
int ged_keypoint (struct ged *gedp, int argc, const char *argv[])
 
int ged_kill (struct ged *gedp, int argc, const char *argv[])
 
int ged_killall (struct ged *gedp, int argc, const char *argv[])
 
int ged_killrefs (struct ged *gedp, int argc, const char *argv[])
 
int ged_killtree (struct ged *gedp, int argc, const char *argv[])
 
int ged_lc (struct ged *gedp, int argc, const char *argv[])
 
int ged_list (struct ged *gedp, int argc, const char *argv[])
 
int ged_loadview (struct ged *gedp, int argc, const char *argv[])
 
int ged_lod (struct ged *gedp, int argc, const char *argv[])
 
int ged_log (struct ged *gedp, int argc, const char *argv[])
 
int ged_lookat (struct ged *gedp, int argc, const char *argv[])
 
int ged_ls (struct ged *gedp, int argc, const char *argv[])
 
int ged_lt (struct ged *gedp, int argc, const char *argv[])
 
int ged_m2v_point (struct ged *gedp, int argc, const char *argv[])
 
int ged_make (struct ged *gedp, int argc, const char *argv[])
 
int ged_make_pnts (struct ged *gedp, int argc, const char *argv[])
 
int ged_make_name (struct ged *gedp, int argc, const char *argv[])
 
int ged_match (struct ged *gedp, int argc, const char *argv[])
 
int ged_mater (struct ged *gedp, int argc, const char *argv[])
 
int ged_mirror (struct ged *gedp, int argc, const char *argv[])
 
int ged_model2grid_lu (struct ged *gedp, int argc, const char *argv[])
 
int ged_model2view (struct ged *gedp, int argc, const char *argv[])
 
int ged_model2view_lu (struct ged *gedp, int argc, const char *argv[])
 
int ged_move_arb_edge (struct ged *gedp, int argc, const char *argv[])
 
int ged_move (struct ged *gedp, int argc, const char *argv[])
 
int ged_move_all (struct ged *gedp, int argc, const char *argv[])
 
int ged_move_arb_face (struct ged *gedp, int argc, const char *argv[])
 
int ged_move_botpt (struct ged *gedp, int argc, const char *argv[])
 
int ged_move_botpts (struct ged *gedp, int argc, const char *argv[])
 
int ged_move_pipept (struct ged *gedp, int argc, const char *argv[])
 
int ged_mrot (struct ged *gedp, int argc, const char *argv[])
 
int ged_nirt (struct ged *gedp, int argc, const char *argv[])
 
int ged_vnirt (struct ged *gedp, int argc, const char *argv[])
 
int ged_nmg_collapse (struct ged *gedp, int argc, const char *argv[])
 
int ged_nmg_fix_normals (struct ged *gedp, int argc, const char *argv[])
 
int ged_nmg_simplify (struct ged *gedp, int argc, const char *argv[])
 
int ged_ocenter (struct ged *gedp, int argc, const char *argv[])
 
int ged_reopen (struct ged *gedp, int argc, const char *argv[])
 
int ged_orient (struct ged *gedp, int argc, const char *argv[])
 
int ged_orotate (struct ged *gedp, int argc, const char *argv[])
 
int ged_oscale (struct ged *gedp, int argc, const char *argv[])
 
int ged_otranslate (struct ged *gedp, int argc, const char *argv[])
 
int ged_overlay (struct ged *gedp, int argc, const char *argv[])
 
int ged_pathlist (struct ged *gedp, int argc, const char *argv[])
 
int ged_pathsum (struct ged *gedp, int argc, const char *argv[])
 
int ged_path_validate (struct ged *gedp, const struct db_full_path *const path)
 
int ged_perspective (struct ged *gedp, int argc, const char *argv[])
 
int ged_pix2fb (struct ged *gedp, int argc, const char *argv[])
 
int ged_plot (struct ged *gedp, int argc, const char *argv[])
 
int ged_pmat (struct ged *gedp, int argc, const char *argv[])
 
int ged_pmodel2view (struct ged *gedp, int argc, const char *argv[])
 
int ged_png (struct ged *gedp, int argc, const char *argv[])
 
int ged_screen_grab (struct ged *gedp, int argc, const char *argv[])
 
int ged_polybinout (struct ged *gedp, int argc, const char *argv[])
 
int ged_pov (struct ged *gedp, int argc, const char *argv[])
 
int ged_prcolor (struct ged *gedp, int argc, const char *argv[])
 
int ged_prefix (struct ged *gedp, int argc, const char *argv[])
 
int ged_prepend_pipept (struct ged *gedp, int argc, const char *argv[])
 
int ged_preview (struct ged *gedp, int argc, const char *argv[])
 
int ged_ps (struct ged *gedp, int argc, const char *argv[])
 
int ged_protate (struct ged *gedp, int argc, const char *argv[])
 
int ged_pscale (struct ged *gedp, int argc, const char *argv[])
 
int ged_pset (struct ged *gedp, int argc, const char *argv[])
 
int ged_ptranslate (struct ged *gedp, int argc, const char *argv[])
 
int ged_pull (struct ged *gedp, int argc, const char *argv[])
 
int ged_push (struct ged *gedp, int argc, const char *argv[])
 
int ged_put (struct ged *gedp, int argc, const char *argv[])
 
int ged_put_comb (struct ged *gedp, int argc, const char *argv[])
 
int ged_putmat (struct ged *gedp, int argc, const char *argv[])
 
int ged_qray (struct ged *gedp, int argc, const char *argv[])
 
int ged_quat (struct ged *gedp, int argc, const char *argv[])
 
int ged_qvrot (struct ged *gedp, int argc, const char *argv[])
 
void ged_init_qray (struct ged_drawable *gdp)
 
void ged_free_qray (struct ged_drawable *gdp)
 
int ged_rcodes (struct ged *gedp, int argc, const char *argv[])
 
int ged_rect (struct ged *gedp, int argc, const char *argv[])
 
int ged_red (struct ged *gedp, int argc, const char *argv[])
 
int ged_regdef (struct ged *gedp, int argc, const char *argv[])
 
int ged_region (struct ged *gedp, int argc, const char *argv[])
 
int ged_remove (struct ged *gedp, int argc, const char *argv[])
 
int ged_report (struct ged *gedp, int argc, const char *argv[])
 
int ged_rfarb (struct ged *gedp, int argc, const char *argv[])
 
int ged_rmap (struct ged *gedp, int argc, const char *argv[])
 
int ged_rmat (struct ged *gedp, int argc, const char *argv[])
 
int ged_rmater (struct ged *gedp, int argc, const char *argv[])
 
int ged_rot_args (struct ged *gedp, int argc, const char *argv[], char *coord, mat_t rmat)
 
int ged_rot (struct ged *gedp, int argc, const char *argv[])
 
int ged_rotate_about (struct ged *gedp, int argc, const char *argv[])
 
int ged_rotate_arb_face (struct ged *gedp, int argc, const char *argv[])
 
int ged_rot_point (struct ged *gedp, int argc, const char *argv[])
 
int ged_rrt (struct ged *gedp, int argc, const char *argv[])
 
int ged_rselect (struct ged *gedp, int argc, const char *argv[])
 
int ged_rt (struct ged *gedp, int argc, const char *argv[])
 
int ged_rtabort (struct ged *gedp, int argc, const char *argv[])
 
int ged_rtcheck (struct ged *gedp, int argc, const char *argv[])
 
int ged_rtwizard (struct ged *gedp, int argc, const char *argv[])
 
int ged_savekey (struct ged *gedp, int argc, const char *argv[])
 
int ged_saveview (struct ged *gedp, int argc, const char *argv[])
 
int ged_scale_args (struct ged *gedp, int argc, const char *argv[], fastf_t *sf1, fastf_t *sf2, fastf_t *sf3)
 
int ged_scale (struct ged *gedp, int argc, const char *argv[])
 
int ged_search (struct ged *gedp, int argc, const char *argv[])
 
int ged_select (struct ged *gedp, int argc, const char *argv[])
 
struct rt_object_selectionsged_get_object_selections (struct ged *gedp, const char *object_name)
 
struct rt_selection_setged_get_selection_set (struct ged *gedp, const char *object_name, const char *selection_name)
 
int ged_set_output_script (struct ged *gedp, int argc, const char *argv[])
 
int ged_set_uplotOutputMode (struct ged *gedp, int argc, const char *argv[])
 
int ged_set_transparency (struct ged *gedp, int argc, const char *argv[])
 
int ged_setview (struct ged *gedp, int argc, const char *argv[])
 
int ged_shaded_mode (struct ged *gedp, int argc, const char *argv[])
 
int ged_shader (struct ged *gedp, int argc, const char *argv[])
 
int ged_shells (struct ged *gedp, int argc, const char *argv[])
 
int ged_showmats (struct ged *gedp, int argc, const char *argv[])
 
int ged_size (struct ged *gedp, int argc, const char *argv[])
 
int ged_simulate (struct ged *gedp, int argc, const char *argv[])
 
int ged_solids_on_ray (struct ged *gedp, int argc, const char *argv[])
 
int ged_slew (struct ged *gedp, int argc, const char *argv[])
 
int ged_sphgroup (struct ged *gedp, int argc, const char *argv[])
 
int ged_summary (struct ged *gedp, int argc, const char *argv[])
 
int ged_sync (struct ged *gedp, int argc, const char *argv[])
 
int ged_tables (struct ged *gedp, int argc, const char *argv[])
 
int ged_tire (struct ged *gedp, int argc, const char *argv[])
 
int ged_title (struct ged *gedp, int argc, const char *argv[])
 
int ged_tol (struct ged *gedp, int argc, const char *argv[])
 
int ged_tops (struct ged *gedp, int argc, const char *argv[])
 
int ged_tra_args (struct ged *gedp, int argc, const char *argv[], char *coord, vect_t tvec)
 
int ged_tra (struct ged *gedp, int argc, const char *argv[])
 
int ged_track (struct ged *gedp, int argc, const char *argv[])
 
int ged_tracker (struct ged *gedp, int argc, const char *argv[])
 
int ged_tree (struct ged *gedp, int argc, const char *argv[])
 
int ged_unhide (struct ged *gedp, int argc, const char *argv[])
 
int ged_units (struct ged *gedp, int argc, const char *argv[])
 
int ged_redraw (struct ged *gedp, int argc, const char *argv[])
 
int ged_v2m_point (struct ged *gedp, int argc, const char *argv[])
 
int ged_vdraw (struct ged *gedp, int argc, const char *argv[])
 
int ged_version (struct ged *gedp, int argc, const char *argv[])
 
int ged_view_func (struct ged *gedp, int argc, const char *argv[])
 
int ged_view2grid_lu (struct ged *gedp, int argc, const char *argv[])
 
int ged_view2model (struct ged *gedp, int argc, const char *argv[])
 
int ged_view2model_lu (struct ged *gedp, int argc, const char *argv[])
 
int ged_view2model_vec (struct ged *gedp, int argc, const char *argv[])
 
int ged_vrot (struct ged *gedp, int argc, const char *argv[])
 
int ged_viewdir (struct ged *gedp, int argc, const char *argv[])
 
int ged_wcodes (struct ged *gedp, int argc, const char *argv[])
 
int ged_whatid (struct ged *gedp, int argc, const char *argv[])
 
int ged_which (struct ged *gedp, int argc, const char *argv[])
 
int ged_which_shader (struct ged *gedp, int argc, const char *argv[])
 
int ged_who (struct ged *gedp, int argc, const char *argv[])
 
int ged_wmater (struct ged *gedp, int argc, const char *argv[])
 
int ged_xpush (struct ged *gedp, int argc, const char *argv[])
 
int ged_ypr (struct ged *gedp, int argc, const char *argv[])
 
int ged_zap (struct ged *gedp, int argc, const char *argv[])
 
int ged_zoom (struct ged *gedp, int argc, const char *argv[])
 
int ged_voxelize (struct ged *gedp, int argc, const char *argv[])
 
bview_polygonged_clip_polygon (ClipType op, bview_polygon *subj, bview_polygon *clip, fastf_t sf, matp_t model2view, matp_t view2model)
 
bview_polygonged_clip_polygons (ClipType op, bview_polygons *subj, bview_polygons *clip, fastf_t sf, matp_t model2view, matp_t view2model)
 
int ged_export_polygon (struct ged *gedp, bview_data_polygon_state *gdpsp, size_t polygon_i, const char *sname)
 
bview_polygonged_import_polygon (struct ged *gedp, const char *sname)
 
fastf_t ged_find_polygon_area (bview_polygon *gpoly, fastf_t sf, matp_t model2view, fastf_t size)
 
int ged_polygons_overlap (struct ged *gedp, bview_polygon *polyA, bview_polygon *polyB)
 
void ged_trace (struct directory *dp, int pathpos, const mat_t old_xlate, struct _ged_trace_data *gtdp, int verbose)
 
int ged_get_obj_bounds (struct ged *gedp, int argc, const char *argv[], int use_air, point_t rpp_min, point_t rpp_max)
 
int ged_track2 (struct bu_vls *log_str, struct rt_wdb *wdbp, const char *argv[])
 
int wdb_importFg4Section_cmd (void *data, int argc, const char *argv[])
 

Detailed Description

Functions provided by the LIBGED geometry editing library. These routines are a procedural basis for the geometric editing capabilities available in BRL-CAD. The library is tightly coupled to the LIBRT library for geometric representation and analysis.

Definition in file ged.h.

Macro Definition Documentation

#define GED_OK   0x0000

all okay return code, not a maskable result

Definition at line 55 of file ged.h.

Referenced by _ged_append_pipept_common(), _ged_combadd2(), _ged_do_rot(), _ged_do_slew(), _ged_do_tra(), _ged_drawtrees(), _ged_get_obj_bounds2(), _ged_get_solid_keypoint(), _ged_results_add(), _ged_results_init(), _ged_rotate_eto(), _ged_rotate_extrude(), _ged_rotate_hyp(), _ged_rotate_tgc(), _ged_scale_ehy(), _ged_scale_ell(), _ged_scale_epa(), _ged_scale_eto(), _ged_scale_extrude(), _ged_scale_hyp(), _ged_scale_metaball(), _ged_scale_part(), _ged_scale_pipe(), _ged_scale_rhc(), _ged_scale_rpc(), _ged_scale_superell(), _ged_scale_tgc(), _ged_scale_tor(), _ged_select_botpts(), _ged_set_metaball(), _ged_translate_extrude(), _ged_translate_tgc(), add_operator(), attr_pretty_print(), build_comb(), color_shader_clear(), comb_flatten(), comb_lift_region(), comb_tree_clear(), comb_wrap(), combmem_get(), combmem_set(), combmem_set_arb_rot(), combmem_set_empty(), combmem_set_rot(), combmem_set_sca(), combmem_set_tra(), dl_select(), dl_select_partial(), edarb_facedef(), edarb_mirface(), edit(), edit_arg_expand_meta(), edit_arg_is_empty(), edit_arg_to_apparent_coord(), edit_arg_to_coord(), edit_cmd_consolidate(), edit_cmd_expand_vectors(), edit_rotate(), edit_rotate_add_cl_args(), edit_scale(), edit_scale_add_cl_args(), edit_str_to_arg(), edit_strs_to_arg(), edit_translate(), edit_translate_add_cl_args(), ged_3ptarb(), ged_adc(), ged_add_metaballpt(), ged_adjust(), ged_ae2dir(), ged_aet(), ged_analyze(), ged_annotate(), ged_arb(), ged_arced(), ged_arot(), ged_arot_args(), ged_attr(), ged_autoview(), ged_bb(), ged_bev(), ged_bo(), ged_bot(), ged_bot_condense(), ged_bot_decimate(), ged_bot_dump(), ged_bot_edge_split(), ged_bot_face_fuse(), ged_bot_face_sort(), ged_bot_face_split(), ged_bot_flip(), ged_bot_fuse(), ged_bot_merge(), ged_bot_smooth(), ged_bot_split(), ged_bot_sync(), ged_bot_vertex_fuse(), ged_brep(), ged_cat(), ged_cc(), ged_center(), ged_clone(), ged_coil(), ged_color(), ged_comb(), ged_comb_color(), ged_comb_std(), ged_concat(), ged_constraint(), ged_copy(), ged_copyeval(), ged_copymat(), ged_cpi(), ged_dbcopy(), ged_dbip(), ged_dbot_dump(), ged_debugbu(), ged_debugdir(), ged_debuglib(), ged_debugmem(), ged_debugnmg(), ged_decode_dbip(), ged_decompose(), ged_delay(), ged_delete_metaballpt(), ged_delete_pipept(), ged_dir2ae(), ged_draw_guts(), ged_dump(), ged_dup(), ged_E(), ged_eac(), ged_echo(), ged_edcodes(), ged_edcomb(), ged_edit(), ged_erase(), ged_exists(), ged_expand(), ged_export_polygon(), ged_eye(), ged_eye_pos(), ged_facetize(), ged_fb2pix(), ged_fbclear(), ged_find(), ged_find_arb_edge_nearest_pt(), ged_find_bot_edge_nearest_pt(), ged_find_botpt_nearest_pt(), ged_find_metaballpt_nearest_pt(), ged_find_pipept_nearest_pt(), ged_fracture(), ged_gdiff(), ged_get_autoview(), ged_get_bot_edges(), ged_get_comb(), ged_get_eyemodel(), ged_get_type(), ged_getmat(), ged_glob(), ged_gqa(), ged_grid(), ged_grid2model_lu(), ged_grid2view_lu(), ged_hide(), ged_how(), ged_human(), ged_illum(), ged_in(), ged_inside_internal(), ged_instance(), ged_isize(), ged_item(), ged_joint(), ged_joint2(), ged_keep(), ged_keypoint(), ged_kill(), ged_killall(), ged_killrefs(), ged_killtree(), ged_label(), ged_lc(), ged_list(), ged_loadframe(), ged_loadview(), ged_lod(), ged_log(), ged_lookat(), ged_ls(), ged_m2v_point(), ged_make(), ged_make_name(), ged_make_pnts(), ged_match(), ged_mater(), ged_memprint(), ged_mirror(), ged_model2grid_lu(), ged_model2view(), ged_model2view_lu(), ged_move(), ged_move_arb_edge(), ged_move_arb_face(), ged_move_botpt(), ged_move_botpts(), ged_move_metaballpt(), ged_move_pipept(), ged_nirt(), ged_nmg_collapse(), ged_nmg_fix_normals(), ged_nmg_simplify(), ged_ocenter(), ged_orient(), ged_orotate(), ged_oscale(), ged_otranslate(), ged_overlay(), ged_path_validate(), ged_pathlist(), ged_pathsum(), ged_perspective(), ged_pix2fb(), ged_pmat(), ged_pmodel2view(), ged_polybinout(), ged_pov(), ged_prcolor(), ged_prefix(), ged_preview(), ged_protate(), ged_ps(), ged_pscale(), ged_pset(), ged_ptranslate(), ged_pull(), ged_push(), ged_put(), ged_put_comb(), ged_putmat(), ged_qray(), ged_quat(), ged_qvrot(), ged_rcodes(), ged_rect(), ged_red(), ged_redraw(), ged_regdef(), ged_region(), ged_reopen(), ged_report(), ged_rfarb(), ged_rmap(), ged_rmat(), ged_rmater(), ged_rot(), ged_rot_args(), ged_rot_point(), ged_rotate_about(), ged_rotate_arb_face(), ged_rrt(), ged_rt(), ged_rtabort(), ged_rtcheck(), ged_rtwizard(), ged_savekey(), ged_saveview(), ged_scale(), ged_scale_args(), ged_screen_grab(), ged_search(), ged_set_output_script(), ged_set_transparency(), ged_set_uplotOutputMode(), ged_setview(), ged_shaded_mode(), ged_shader(), ged_shells(), ged_size(), ged_solids_on_ray(), ged_sphgroup(), ged_summary(), ged_sync(), ged_tables(), ged_tire(), ged_title(), ged_tol(), ged_tops(), ged_tra(), ged_tra_args(), ged_track2(), ged_tree(), ged_unhide(), ged_units(), ged_v2m_point(), ged_version(), ged_view2grid_lu(), ged_view2model(), ged_view2model_lu(), ged_view2model_vec(), ged_viewdir(), ged_voxelize(), ged_wcodes(), ged_whatid(), ged_which(), ged_which_shader(), ged_who(), ged_wmater(), ged_xpush(), ged_ypr(), ged_zap(), go_draw_dlist(), helpcomm(), joint_selection(), move_all_file(), move_all_func(), options_prep(), path_validate_recurse(), ReadArgs(), redraw_edited_path(), region_flag_clear(), region_flag_set(), str2mm(), str2type(), to_autoview(), to_autoview_func(), to_autoview_view(), to_axes(), to_base2local(), to_bg(), to_blast(), to_bot_edge_split(), to_bot_face_split(), to_bounds(), to_configure(), to_constrain_rmode(), to_constrain_tmode(), to_copy(), to_data_arrows(), to_data_axes(), to_data_labels(), to_data_lines(), to_data_move(), to_data_move_object_mode(), to_data_move_point_mode(), to_data_pick(), to_data_polygons(), to_data_scale(), to_data_scale_mode(), to_data_vZ(), to_delete_view(), to_dlist_on(), to_edit_motion_delta_callback(), to_edit_redraw(), to_extract_contours_av(), to_extract_polygons_av(), to_faceplate(), to_fontsize(), to_get_prev_mouse(), to_handle_expose(), to_handle_refresh(), to_hide_view(), to_idle_mode(), to_init_view_bindings(), to_light(), to_list_views(), to_listen(), to_local2base(), to_lod(), to_make(), to_mirror(), to_more_args_callback(), to_mouse_append_pt_common(), to_mouse_brep_selection_append(), to_mouse_brep_selection_translate(), to_mouse_constrain_rot(), to_mouse_constrain_trans(), to_mouse_find_arb_edge(), to_mouse_find_bot_edge(), to_mouse_find_botpt(), to_mouse_find_metaballpt(), to_mouse_find_pipept(), to_mouse_joint_select(), to_mouse_joint_selection_translate(), to_mouse_move_arb_edge(), to_mouse_move_arb_face(), to_mouse_move_botpt(), to_mouse_move_botpts(), to_mouse_move_pt_common(), to_mouse_orotate(), to_mouse_oscale(), to_mouse_otranslate(), to_mouse_poly_circ(), to_mouse_poly_cont(), to_mouse_poly_ell(), to_mouse_poly_rect(), to_mouse_protate(), to_mouse_pscale(), to_mouse_ptranslate(), to_mouse_ray(), to_mouse_rect(), to_mouse_rot(), to_mouse_rotate_arb_face(), to_mouse_scale(), to_mouse_trans(), to_move_arb_edge_mode(), to_move_arb_face_mode(), to_move_botpt(), to_move_botpt_mode(), to_move_botpts(), to_move_botpts_mode(), to_move_metaballpt_mode(), to_move_pipept_mode(), to_move_pt_common(), to_new_view(), to_orotate_mode(), to_oscale_mode(), to_otranslate_mode(), to_paint_rect_area(), to_pass_through_and_refresh_func(), to_poly_circ_mode(), to_poly_cont_build(), to_poly_cont_build_end(), to_poly_ell_mode(), to_poly_rect_mode(), to_prim_label(), to_protate_mode(), to_pscale_mode(), to_ptranslate_mode(), to_rect_mode(), to_refresh_all(), to_refresh_on(), to_rotate_arb_face_mode(), to_rotate_mode(), to_rt_end_callback(), to_rt_gettrees(), to_scale_mode(), to_screen2model(), to_screen2view(), to_set_coord(), to_set_fb_mode(), to_snap_view(), to_translate_mode(), to_transparency(), to_view2screen(), to_view_callback(), to_view_func_common(), to_view_win_size(), to_vmake(), to_vslew(), to_zbuffer(), to_zclip(), vdraw_delete(), vdraw_insert(), wcodes_printcodes(), write_comb(), and zoom().

#define GED_ERROR   0x0001

possible maskable return codes from ged functions. callers should not rely on the actual values but should instead test via masking.something went wrong, the action was not performed

Definition at line 61 of file ged.h.

Referenced by _ged_append_pipept_common(), _ged_combadd(), _ged_combadd2(), _ged_do_rot(), _ged_drawtrees(), _ged_get_obj_bounds2(), _ged_get_solid_keypoint(), _ged_results_add(), _ged_results_init(), _ged_rotate_eto(), _ged_rotate_extrude(), _ged_rotate_hyp(), _ged_rotate_tgc(), _ged_scale_ehy(), _ged_scale_ell(), _ged_scale_epa(), _ged_scale_eto(), _ged_scale_extrude(), _ged_scale_hyp(), _ged_scale_metaball(), _ged_scale_part(), _ged_scale_pipe(), _ged_scale_rhc(), _ged_scale_rpc(), _ged_scale_superell(), _ged_scale_tgc(), _ged_scale_tor(), _ged_select_botpts(), _ged_set_metaball(), _ged_translate_extrude(), _ged_translate_tgc(), add_operator(), attr_pretty_print(), build_comb(), color_shader_clear(), comb_flatten(), comb_lift_region(), comb_tree_clear(), comb_wrap(), combmem_get(), combmem_set(), combmem_set_arb_rot(), combmem_set_empty(), combmem_set_rot(), combmem_set_sca(), combmem_set_tra(), constraint_eval(), constraint_set(), edarb_facedef(), edarb_mirface(), edit(), edit_arg_expand_meta(), edit_arg_is_empty(), edit_arg_to_apparent_coord(), edit_arg_to_coord(), edit_cmd_consolidate(), edit_cmd_expand_vectors(), edit_str_to_arg(), edit_strs_to_arg(), edit_translate(), edit_translate_add_cl_args(), find_cmd_line_obj(), ged_3ptarb(), ged_adc(), ged_add_metaballpt(), ged_adjust(), ged_ae2dir(), ged_aet(), ged_analyze(), ged_annotate(), ged_arb(), ged_arced(), ged_arot_args(), ged_attr(), ged_autoview(), ged_bb(), ged_bev(), ged_blast(), ged_bo(), ged_bot(), ged_bot_condense(), ged_bot_decimate(), ged_bot_dump(), ged_bot_edge_split(), ged_bot_face_fuse(), ged_bot_face_sort(), ged_bot_face_split(), ged_bot_flip(), ged_bot_fuse(), ged_bot_merge(), ged_bot_smooth(), ged_bot_split(), ged_bot_sync(), ged_bot_vertex_fuse(), ged_brep(), ged_cat(), ged_cc(), ged_center(), ged_clone(), ged_coil(), ged_color(), ged_comb(), ged_comb_color(), ged_comb_std(), ged_combmem(), ged_concat(), ged_constraint(), ged_copy(), ged_copyeval(), ged_copymat(), ged_cpi(), ged_dbcopy(), ged_dbip(), ged_dbot_dump(), ged_debugbu(), ged_debugdir(), ged_debuglib(), ged_debugmem(), ged_debugnmg(), ged_decode_dbip(), ged_decompose(), ged_delay(), ged_delete_metaballpt(), ged_delete_pipept(), ged_dir2ae(), ged_draw_guts(), ged_dump(), ged_dup(), ged_E(), ged_eac(), ged_echo(), ged_edarb(), ged_edcodes(), ged_edcolor(), ged_edcomb(), ged_edit(), ged_editit(), ged_edmater(), ged_erase(), ged_exists(), ged_expand(), ged_export_polygon(), ged_eye(), ged_eye_pos(), ged_facetize(), ged_fb2pix(), ged_fbclear(), ged_find(), ged_find_arb_edge_nearest_pt(), ged_find_bot_edge_nearest_pt(), ged_find_botpt_nearest_pt(), ged_find_metaballpt_nearest_pt(), ged_find_pipept_nearest_pt(), ged_form(), ged_fracture(), ged_gdiff(), ged_get(), ged_get_autoview(), ged_get_bot_edges(), ged_get_comb(), ged_get_eyemodel(), ged_get_obj_bounds(), ged_get_type(), ged_getmat(), ged_glob(), ged_gqa(), ged_graph(), ged_grid(), ged_grid2model_lu(), ged_grid2view_lu(), ged_group(), ged_hide(), ged_how(), ged_human(), ged_illum(), ged_import_polygon(), ged_importFg4Section(), ged_in(), ged_inside(), ged_inside_internal(), ged_instance(), ged_isize(), ged_item(), ged_joint(), ged_joint2(), ged_keep(), ged_keypoint(), ged_kill(), ged_killall(), ged_killrefs(), ged_killtree(), ged_label(), ged_lc(), ged_list(), ged_loadframe(), ged_loadview(), ged_lod(), ged_log(), ged_lookat(), ged_ls(), ged_lt(), ged_m2v_point(), ged_make(), ged_make_name(), ged_make_pnts(), ged_match(), ged_mater(), ged_memprint(), ged_mirror(), ged_model2grid_lu(), ged_model2view(), ged_model2view_lu(), ged_move(), ged_move_all(), ged_move_arb_edge(), ged_move_arb_face(), ged_move_botpt(), ged_move_botpts(), ged_move_metaballpt(), ged_move_pipept(), ged_mrot(), ged_nirt(), ged_nmg_collapse(), ged_nmg_fix_normals(), ged_nmg_simplify(), ged_ocenter(), ged_orient(), ged_orotate(), ged_oscale(), ged_otranslate(), ged_overlay(), ged_path_validate(), ged_pathlist(), ged_pathsum(), ged_perspective(), ged_pix2fb(), ged_plot(), ged_pmat(), ged_pmodel2view(), ged_png(), ged_polybinout(), ged_polygons_overlap(), ged_pov(), ged_prcolor(), ged_prefix(), ged_preview(), ged_protate(), ged_ps(), ged_pscale(), ged_pset(), ged_ptranslate(), ged_pull(), ged_push(), ged_put(), ged_put_comb(), ged_putmat(), ged_qray(), ged_quat(), ged_qvrot(), ged_rcodes(), ged_rect(), ged_red(), ged_redraw(), ged_regdef(), ged_region(), ged_remove(), ged_reopen(), ged_report(), ged_rfarb(), ged_rmap(), ged_rmat(), ged_rmater(), ged_rot_args(), ged_rot_point(), ged_rotate_about(), ged_rotate_arb_face(), ged_rrt(), ged_rselect(), ged_rt(), ged_rtabort(), ged_rtcheck(), ged_rtwizard(), ged_savekey(), ged_saveview(), ged_scale(), ged_scale_args(), ged_screen_grab(), ged_search(), ged_select(), ged_set_output_script(), ged_set_transparency(), ged_set_uplotOutputMode(), ged_setview(), ged_shaded_mode(), ged_shader(), ged_shells(), ged_showmats(), ged_simulate(), ged_size(), ged_slew(), ged_solids_on_ray(), ged_sphgroup(), ged_summary(), ged_sync(), ged_tables(), ged_tire(), ged_title(), ged_tol(), ged_tops(), ged_tra_args(), ged_track(), ged_track2(), ged_tree(), ged_unhide(), ged_units(), ged_v2m_point(), ged_version(), ged_view2grid_lu(), ged_view2model(), ged_view2model_lu(), ged_view2model_vec(), ged_view_func(), ged_viewdir(), ged_vnirt(), ged_voxelize(), ged_vrot(), ged_wcodes(), ged_whatid(), ged_which(), ged_which_shader(), ged_who(), ged_wmater(), ged_xpush(), ged_ypr(), ged_zap(), ged_zoom(), get_densities_from_database(), get_densities_from_file(), helpcomm(), hit(), joint_selection(), move_all_file(), move_all_func(), options_prep(), path_validate_recurse(), ReadArgs(), region_flag_clear(), region_flag_set(), str2mm(), str2type(), to_autoview(), to_axes(), to_bg(), to_bounds(), to_cmd(), to_configure(), to_constrain_rmode(), to_constrain_tmode(), to_copy(), to_data_arrows(), to_data_axes(), to_data_labels(), to_data_lines(), to_data_move(), to_data_move_object_mode(), to_data_move_point_mode(), to_data_pick(), to_data_polygons(), to_data_scale(), to_data_scale_mode(), to_data_vZ(), to_delete_view(), to_dlist_on(), to_dm_func(), to_edit_motion_delta_callback(), to_edit_redraw(), to_extract_contours_av(), to_extract_polygons_av(), to_faceplate(), to_fontsize(), to_get_prev_mouse(), to_handle_expose(), to_handle_refresh(), to_hide_view(), to_idle_mode(), to_init_view_bindings(), to_light(), to_list_views(), to_listen(), to_model_axes(), to_more_args_func(), to_mouse_append_pt_common(), to_mouse_brep_selection_append(), to_mouse_brep_selection_translate(), to_mouse_constrain_rot(), to_mouse_constrain_trans(), to_mouse_find_arb_edge(), to_mouse_find_bot_edge(), to_mouse_find_botpt(), to_mouse_find_metaballpt(), to_mouse_find_pipept(), to_mouse_joint_select(), to_mouse_joint_selection_translate(), to_mouse_move_arb_edge(), to_mouse_move_arb_face(), to_mouse_move_botpt(), to_mouse_move_botpts(), to_mouse_move_pt_common(), to_mouse_orotate(), to_mouse_oscale(), to_mouse_otranslate(), to_mouse_poly_circ(), to_mouse_poly_cont(), to_mouse_poly_ell(), to_mouse_poly_rect(), to_mouse_protate(), to_mouse_pscale(), to_mouse_ptranslate(), to_mouse_rect(), to_mouse_rot(), to_mouse_rotate_arb_face(), to_mouse_trans(), to_move_arb_edge_mode(), to_move_arb_face_mode(), to_move_botpt_mode(), to_move_botpts_mode(), to_move_metaballpt_mode(), to_move_pipept_mode(), to_new_view(), to_orotate_mode(), to_oscale_mode(), to_otranslate_mode(), to_paint_rect_area(), to_poly_circ_mode(), to_poly_cont_build(), to_poly_cont_build_end(), to_poly_ell_mode(), to_poly_rect_mode(), to_protate_mode(), to_pscale_mode(), to_ptranslate_mode(), to_rect_mode(), to_redraw(), to_refresh(), to_refresh_all(), to_refresh_on(), to_rotate_arb_face_mode(), to_rotate_mode(), to_rt_gettrees(), to_scale_mode(), to_screen2model(), to_screen2view(), to_set_coord(), to_set_fb_mode(), to_snap_view(), to_translate_mode(), to_transparency(), to_view2screen(), to_view_axes(), to_view_callback(), to_view_func_common(), to_view_win_size(), to_vmake(), to_vslew(), to_zbuffer(), to_zclip(), vdraw_delete(), vdraw_insert(), wcodes_printcodes(), and write_comb().

#define GED_HELP   0x0002

invalid specification, result contains usage

Definition at line 62 of file ged.h.

Referenced by _ged_append_pipept_common(), edarb_facedef(), edarb_mirface(), ged_adc(), ged_add_metaballpt(), ged_adjust(), ged_ae2dir(), ged_analyze(), ged_annotate(), ged_arb(), ged_arced(), ged_arot_args(), ged_attr(), ged_bb(), ged_bev(), ged_blast(), ged_bo(), ged_bot_condense(), ged_bot_decimate(), ged_bot_dump(), ged_bot_edge_split(), ged_bot_face_fuse(), ged_bot_face_sort(), ged_bot_face_split(), ged_bot_flip(), ged_bot_fuse(), ged_bot_merge(), ged_bot_smooth(), ged_bot_split(), ged_bot_sync(), ged_bot_vertex_fuse(), ged_brep(), ged_cat(), ged_cc(), ged_clone(), ged_color(), ged_comb(), ged_comb_color(), ged_comb_std(), ged_combmem(), ged_constraint(), ged_copy(), ged_copyeval(), ged_copymat(), ged_cpi(), ged_dbot_dump(), ged_decompose(), ged_delay(), ged_delete_metaballpt(), ged_delete_pipept(), ged_dir2ae(), ged_draw_guts(), ged_dump(), ged_dup(), ged_E(), ged_eac(), ged_echo(), ged_edarb(), ged_edcodes(), ged_edcomb(), ged_edit(), ged_edmater(), ged_erase(), ged_exists(), ged_expand(), ged_facetize(), ged_fb2pix(), ged_find(), ged_find_arb_edge_nearest_pt(), ged_find_bot_edge_nearest_pt(), ged_find_botpt_nearest_pt(), ged_find_metaballpt_nearest_pt(), ged_find_pipept_nearest_pt(), ged_form(), ged_fracture(), ged_get(), ged_get_autoview(), ged_get_bot_edges(), ged_get_comb(), ged_get_type(), ged_getmat(), ged_glob(), ged_gqa(), ged_grid(), ged_group(), ged_hide(), ged_how(), ged_illum(), ged_importFg4Section(), ged_instance(), ged_item(), ged_joint2(), ged_keep(), ged_kill(), ged_killall(), ged_killrefs(), ged_killtree(), ged_lc(), ged_list(), ged_loadview(), ged_lod(), ged_log(), ged_lookat(), ged_lt(), ged_m2v_point(), ged_make(), ged_make_name(), ged_match(), ged_mater(), ged_mirror(), ged_move(), ged_move_all(), ged_move_arb_edge(), ged_move_arb_face(), ged_move_botpt(), ged_move_botpts(), ged_move_metaballpt(), ged_move_pipept(), ged_mrot(), ged_nmg_collapse(), ged_nmg_fix_normals(), ged_nmg_simplify(), ged_ocenter(), ged_orient(), ged_orotate(), ged_oscale(), ged_otranslate(), ged_overlay(), ged_pathlist(), ged_pathsum(), ged_pix2fb(), ged_plot(), ged_png(), ged_polybinout(), ged_pov(), ged_prefix(), ged_preview(), ged_protate(), ged_ps(), ged_pscale(), ged_pset(), ged_ptranslate(), ged_pull(), ged_push(), ged_put(), ged_put_comb(), ged_putmat(), ged_qray(), ged_qvrot(), ged_rcodes(), ged_rect(), ged_red(), ged_region(), ged_remove(), ged_report(), ged_rfarb(), ged_rmater(), ged_rot_args(), ged_rot_point(), ged_rotate_arb_face(), ged_savekey(), ged_saveview(), ged_scale_args(), ged_screen_grab(), ged_setview(), ged_shader(), ged_shells(), ged_showmats(), ged_slew(), ged_solids_on_ray(), ged_tables(), ged_tra_args(), ged_track(), ged_unhide(), ged_v2m_point(), ged_vnirt(), ged_voxelize(), ged_wcodes(), ged_whatid(), ged_which(), ged_which_shader(), ged_wmater(), ged_xpush(), ged_zoom(), to_bg(), to_bounds(), to_constrain_rmode(), to_constrain_tmode(), to_copy(), to_data_arrows(), to_data_axes(), to_data_labels(), to_data_lines(), to_data_move(), to_data_move_object_mode(), to_data_move_point_mode(), to_data_pick(), to_data_polygons(), to_data_scale(), to_data_scale_mode(), to_data_vZ(), to_delete_view(), to_dm_func(), to_edit_motion_delta_callback(), to_faceplate(), to_fontsize(), to_get_prev_mouse(), to_handle_expose(), to_hide_view(), to_idle_mode(), to_init_view_bindings(), to_light(), to_listen(), to_model_axes(), to_mouse_append_pt_common(), to_mouse_constrain_rot(), to_mouse_constrain_trans(), to_mouse_find_arb_edge(), to_mouse_find_bot_edge(), to_mouse_find_botpt(), to_mouse_find_metaballpt(), to_mouse_find_pipept(), to_mouse_move_arb_edge(), to_mouse_move_arb_face(), to_mouse_move_botpt(), to_mouse_move_botpts(), to_mouse_move_pt_common(), to_mouse_orotate(), to_mouse_oscale(), to_mouse_otranslate(), to_mouse_poly_circ(), to_mouse_poly_cont(), to_mouse_poly_ell(), to_mouse_poly_rect(), to_mouse_protate(), to_mouse_pscale(), to_mouse_ptranslate(), to_mouse_rect(), to_mouse_rot(), to_mouse_rotate_arb_face(), to_mouse_trans(), to_move_arb_edge_mode(), to_move_arb_face_mode(), to_move_botpt_mode(), to_move_botpts_mode(), to_move_metaballpt_mode(), to_move_pipept_mode(), to_new_view(), to_orotate_mode(), to_oscale_mode(), to_otranslate_mode(), to_paint_rect_area(), to_poly_circ_mode(), to_poly_cont_build(), to_poly_cont_build_end(), to_poly_ell_mode(), to_poly_rect_mode(), to_protate_mode(), to_pscale_mode(), to_ptranslate_mode(), to_rect_mode(), to_redraw(), to_refresh(), to_rotate_arb_face_mode(), to_rotate_mode(), to_rt_gettrees(), to_scale_mode(), to_screen2model(), to_screen2view(), to_set_coord(), to_set_fb_mode(), to_snap_view(), to_translate_mode(), to_transparency(), to_view2screen(), to_view_axes(), to_view_callback(), to_view_func_common(), to_view_win_size(), to_vmake(), to_vslew(), to_zbuffer(), to_zclip(), vdraw_delete(), and vdraw_insert().

#define GED_MORE   0x0004

incomplete specification, can specify again interactively

Definition at line 63 of file ged.h.

Referenced by edarb_facedef(), ged_3ptarb(), ged_in(), ged_inside(), ged_inside_internal(), ged_make_pnts(), ged_mater(), and to_more_args_func().

#define GED_QUIET   0x0008
#define GED_VMIN   -2048.0

Definition at line 66 of file ged.h.

Referenced by ged_solids_on_ray().

#define GED_VMAX   2047.0

Definition at line 67 of file ged.h.

Referenced by ged_solids_on_ray().

#define GED_VRANGE   4095.0

Definition at line 68 of file ged.h.

#define INV_GED_V   0.00048828125

Definition at line 69 of file ged.h.

Referenced by ged_solids_on_ray().

#define INV_4096_V   0.000244140625

Definition at line 70 of file ged.h.

#define GED_NULL   ((struct ged *)0)

Definition at line 72 of file ged.h.

Referenced by ged_close(), ged_free(), ged_glob(), ged_init(), ged_open(), to_copy(), and to_open_tcl().

#define GED_DISPLAY_LIST_NULL   ((struct display_list *)0)

Definition at line 73 of file ged.h.

Referenced by _ged_drawtrees(), and dl_addToDisplay().

#define GED_DRAWABLE_NULL   ((struct ged_drawable *)0)

Definition at line 74 of file ged.h.

Referenced by ged_free().

#define GED_VIEW_NULL   ((struct bview *)0)

Definition at line 75 of file ged.h.

Referenced by ged_snap_to_grid(), and ged_view_init().

#define GED_DM_VIEW_NULL   ((struct ged_dm_view *)0)

Definition at line 76 of file ged.h.

#define GED_RESULT_NULL   ((void *)0)

Definition at line 78 of file ged.h.

#define GED_FUNC_PTR_NULL   ((ged_func_ptr)0)

Definition at line 80 of file ged.h.

#define GED_REFRESH_CALLBACK_PTR_NULL   ((ged_refresh_callback_ptr)0)

Definition at line 81 of file ged.h.

Referenced by ged_cm_end().

#define GED_CREATE_VLIST_CALLBACK_PTR_NULL   ((ged_create_vlist_callback_ptr)0)

Definition at line 82 of file ged.h.

Referenced by dl_add_path(), dl_redraw(), dl_set_transparency(), and invent_solid().

#define GED_FREE_VLIST_CALLBACK_PTR_NULL   ((ged_free_vlist_callback_ptr)0)
#define GED_SEM_WORKER   RT_SEM_LAST

Definition of global parallel-processing semaphores.

Definition at line 89 of file ged.h.

Referenced by get_next_row(), hit(), overlap(), and plane_worker().

#define GED_SEM_STATS   GED_SEM_WORKER+1

Definition at line 90 of file ged.h.

Referenced by hit(), and plane_worker().

#define GED_SEM_LIST   GED_SEM_STATS+1

Definition at line 91 of file ged.h.

Referenced by add_unique_pair().

#define GED_SEM_LAST   GED_SEM_LIST+1

Definition at line 92 of file ged.h.

#define GED_INIT (   _gedp,
  _wdbp 
)
Value:
{ \
ged_init((_gedp)); \
(_gedp)->ged_wdbp = (_wdbp); \
}
void ged_init(struct ged *gedp)
Definition: ged.c:182

Definition at line 94 of file ged.h.

Referenced by ged_open().

#define GED_INITIALIZED (   _gedp)    ((_gedp)->ged_wdbp != RT_WDB_NULL)

Definition at line 99 of file ged.h.

#define GED_LOCAL2BASE (   _gedp)    ((_gedp)->ged_wdbp->dbip->dbi_local2base)

Definition at line 100 of file ged.h.

#define GED_BASE2LOCAL (   _gedp)    ((_gedp)->ged_wdbp->dbip->dbi_base2local)

Definition at line 101 of file ged.h.

#define GED_CHECK_COMB (   _gedp,
  _dp,
  _flags 
)
Value:
if (((_dp)->d_flags & RT_DIR_COMB) == 0) { \
int ged_check_comb_quiet = (_flags) & GED_QUIET; \
if (!ged_check_comb_quiet) { \
bu_vls_printf((_gedp)->ged_result_str, "%s is not a combination", (_dp)->d_namep); \
} \
return (_flags); \
}
if(share_geom)
Definition: nmg_mod.c:3829
#define GED_QUIET
Definition: ged.h:64
#define RT_DIR_COMB
combination
Definition: raytrace.h:884
void bu_vls_printf(struct bu_vls *vls, const char *fmt,...) _BU_ATTR_PRINTF23
Definition: vls.c:694

Check if the object is a combination

Definition at line 104 of file ged.h.

Referenced by ged_comb_color(), ged_edcomb(), ged_item(), ged_mater(), and ged_shader().

#define GED_CHECK_DATABASE_OPEN (   _gedp,
  _flags 
)
Value:
if ((_gedp) == GED_NULL || (_gedp)->ged_wdbp == RT_WDB_NULL || (_gedp)->ged_wdbp->dbip == DBI_NULL) { \
int ged_check_database_open_quiet = (_flags) & GED_QUIET; \
if (!ged_check_database_open_quiet) { \
if ((_gedp) != GED_NULL) { \
bu_vls_trunc((_gedp)->ged_result_str, 0); \
bu_vls_printf((_gedp)->ged_result_str, "A database is not open!"); \
} else {\
bu_log("A database is not open!\n"); \
} \
} \
return (_flags); \
}
void bu_log(const char *,...) _BU_ATTR_PRINTF12
Definition: log.c:176
void bu_vls_trunc(struct bu_vls *vp, int len)
Definition: vls.c:198
if(share_geom)
Definition: nmg_mod.c:3829
#define GED_QUIET
Definition: ged.h:64
#define GED_NULL
Definition: ged.h:72
#define DBI_NULL
Definition: raytrace.h:827
void bu_vls_printf(struct bu_vls *vls, const char *fmt,...) _BU_ATTR_PRINTF23
Definition: vls.c:694
#define RT_WDB_NULL
Definition: raytrace.h:1294

Check if a database is open

Definition at line 114 of file ged.h.

Referenced by _ged_append_pipept_common(), _ged_select_botpts(), ged_3ptarb(), ged_adc(), ged_add_metaballpt(), ged_adjust(), ged_ae2dir(), ged_aet(), ged_analyze(), ged_annotate(), ged_arb(), ged_arced(), ged_arot_args(), ged_attr(), ged_autoview(), ged_bb(), ged_bev(), ged_blast(), ged_bo(), ged_bot(), ged_bot_condense(), ged_bot_decimate(), ged_bot_dump(), ged_bot_edge_split(), ged_bot_face_fuse(), ged_bot_face_sort(), ged_bot_face_split(), ged_bot_flip(), ged_bot_fuse(), ged_bot_merge(), ged_bot_smooth(), ged_bot_split(), ged_bot_sync(), ged_bot_vertex_fuse(), ged_brep(), ged_cat(), ged_cc(), ged_center(), ged_clone(), ged_coil(), ged_color(), ged_comb(), ged_comb_color(), ged_comb_std(), ged_concat(), ged_constraint(), ged_copy(), ged_copyeval(), ged_copymat(), ged_cpi(), ged_dbcopy(), ged_dbip(), ged_dbot_dump(), ged_debugbu(), ged_debugdir(), ged_debuglib(), ged_debugmem(), ged_debugnmg(), ged_decompose(), ged_delay(), ged_delete_metaballpt(), ged_delete_pipept(), ged_dir2ae(), ged_draw_guts(), ged_dump(), ged_dup(), ged_E(), ged_eac(), ged_echo(), ged_edarb(), ged_edcodes(), ged_edcolor(), ged_edcomb(), ged_edit(), ged_editit(), ged_edmater(), ged_erase(), ged_exists(), ged_expand(), ged_eye(), ged_eye_pos(), ged_facetize(), ged_fb2pix(), ged_fbclear(), ged_find(), ged_find_arb_edge_nearest_pt(), ged_find_bot_edge_nearest_pt(), ged_find_botpt_nearest_pt(), ged_find_metaballpt_nearest_pt(), ged_find_pipept_nearest_pt(), ged_form(), ged_fracture(), ged_gdiff(), ged_get(), ged_get_autoview(), ged_get_bot_edges(), ged_get_comb(), ged_get_eyemodel(), ged_get_type(), ged_getmat(), ged_gqa(), ged_graph(), ged_grid(), ged_grid2model_lu(), ged_grid2view_lu(), ged_group(), ged_hide(), ged_how(), ged_human(), ged_illum(), ged_importFg4Section(), ged_in(), ged_inside(), ged_instance(), ged_isize(), ged_item(), ged_joint(), ged_joint2(), ged_keep(), ged_keypoint(), ged_kill(), ged_killall(), ged_killrefs(), ged_killtree(), ged_label(), ged_lc(), ged_list(), ged_loadview(), ged_lod(), ged_log(), ged_lookat(), ged_ls(), ged_lt(), ged_m2v_point(), ged_make(), ged_make_name(), ged_make_pnts(), ged_match(), ged_mater(), ged_memprint(), ged_mirror(), ged_model2grid_lu(), ged_model2view(), ged_model2view_lu(), ged_move(), ged_move_all(), ged_move_arb_edge(), ged_move_arb_face(), ged_move_botpt(), ged_move_botpts(), ged_move_metaballpt(), ged_move_pipept(), ged_mrot(), ged_nirt(), ged_nmg_collapse(), ged_nmg_fix_normals(), ged_nmg_simplify(), ged_ocenter(), ged_orient(), ged_orotate(), ged_oscale(), ged_otranslate(), ged_overlay(), ged_pathlist(), ged_pathsum(), ged_perspective(), ged_pix2fb(), ged_plot(), ged_pmat(), ged_pmodel2view(), ged_png(), ged_polybinout(), ged_polygons_overlap(), ged_pov(), ged_prcolor(), ged_prefix(), ged_preview(), ged_protate(), ged_ps(), ged_pscale(), ged_pset(), ged_ptranslate(), ged_pull(), ged_push(), ged_put(), ged_put_comb(), ged_putmat(), ged_qray(), ged_quat(), ged_qvrot(), ged_rcodes(), ged_rect(), ged_red(), ged_redraw(), ged_regdef(), ged_region(), ged_remove(), ged_reopen(), ged_report(), ged_rfarb(), ged_rmap(), ged_rmat(), ged_rmater(), ged_rot_args(), ged_rot_point(), ged_rotate_about(), ged_rotate_arb_face(), ged_rrt(), ged_rselect(), ged_rt(), ged_rtabort(), ged_rtcheck(), ged_rtwizard(), ged_savekey(), ged_saveview(), ged_scale_args(), ged_screen_grab(), ged_select(), ged_set_output_script(), ged_set_transparency(), ged_set_uplotOutputMode(), ged_setview(), ged_shaded_mode(), ged_shader(), ged_shells(), ged_showmats(), ged_simulate(), ged_size(), ged_slew(), ged_solids_on_ray(), ged_sphgroup(), ged_summary(), ged_sync(), ged_tables(), ged_tire(), ged_title(), ged_tol(), ged_tops(), ged_tra_args(), ged_track(), ged_tree(), ged_unhide(), ged_units(), ged_v2m_point(), ged_version(), ged_view2grid_lu(), ged_view2model(), ged_view2model_lu(), ged_view2model_vec(), ged_view_func(), ged_viewdir(), ged_vnirt(), ged_voxelize(), ged_vrot(), ged_wcodes(), ged_whatid(), ged_which(), ged_which_shader(), ged_who(), ged_wmater(), ged_xpush(), ged_ypr(), ged_zap(), and to_new_view().

#define GED_CHECK_DRAWABLE (   _gedp,
  _flags 
)
Value:
if (_gedp->ged_gdp == GED_DRAWABLE_NULL) { \
int ged_check_drawable_quiet = (_flags) & GED_QUIET; \
if (!ged_check_drawable_quiet) { \
bu_vls_trunc((_gedp)->ged_result_str, 0); \
bu_vls_printf((_gedp)->ged_result_str, "A drawable does not exist."); \
} \
return (_flags); \
}
#define GED_DRAWABLE_NULL
Definition: ged.h:74
void bu_vls_trunc(struct bu_vls *vp, int len)
Definition: vls.c:198
if(share_geom)
Definition: nmg_mod.c:3829
#define GED_QUIET
Definition: ged.h:64
void bu_vls_printf(struct bu_vls *vls, const char *fmt,...) _BU_ATTR_PRINTF23
Definition: vls.c:694

Check if a drawable exists

Definition at line 129 of file ged.h.

Referenced by ged_autoview(), ged_blast(), ged_brep(), ged_dbot_dump(), ged_draw_guts(), ged_E(), ged_eac(), ged_edarb(), ged_erase(), ged_get_autoview(), ged_get_eyemodel(), ged_how(), ged_illum(), ged_joint2(), ged_kill(), ged_killall(), ged_killrefs(), ged_label(), ged_nirt(), ged_overlay(), ged_plot(), ged_png(), ged_preview(), ged_ps(), ged_redraw(), ged_remove(), ged_report(), ged_rrt(), ged_rselect(), ged_rt(), ged_rtabort(), ged_rtcheck(), ged_rtwizard(), ged_screen_grab(), ged_select(), ged_set_transparency(), ged_set_uplotOutputMode(), ged_shaded_mode(), ged_solids_on_ray(), ged_tree(), ged_vnirt(), ged_who(), and ged_zap().

#define GED_CHECK_VIEW (   _gedp,
  _flags 
)
Value:
if (_gedp->ged_gvp == GED_VIEW_NULL) { \
int ged_check_view_quiet = (_flags) & GED_QUIET; \
if (!ged_check_view_quiet) { \
bu_vls_trunc((_gedp)->ged_result_str, 0); \
bu_vls_printf((_gedp)->ged_result_str, "A view does not exist."); \
} \
return (_flags); \
}
void bu_vls_trunc(struct bu_vls *vp, int len)
Definition: vls.c:198
if(share_geom)
Definition: nmg_mod.c:3829
#define GED_QUIET
Definition: ged.h:64
#define GED_VIEW_NULL
Definition: ged.h:75
void bu_vls_printf(struct bu_vls *vls, const char *fmt,...) _BU_ATTR_PRINTF23
Definition: vls.c:694

Check if a view exists

Definition at line 140 of file ged.h.

Referenced by _ged_append_pipept_common(), _ged_select_botpts(), ged_adc(), ged_add_metaballpt(), ged_aet(), ged_arot_args(), ged_autoview(), ged_center(), ged_dbot_dump(), ged_eye(), ged_eye_pos(), ged_find_arb_edge_nearest_pt(), ged_find_bot_edge_nearest_pt(), ged_find_botpt_nearest_pt(), ged_find_metaballpt_nearest_pt(), ged_find_pipept_nearest_pt(), ged_get_eyemodel(), ged_grid(), ged_grid2model_lu(), ged_grid2view_lu(), ged_isize(), ged_keypoint(), ged_loadview(), ged_lookat(), ged_m2v_point(), ged_model2grid_lu(), ged_model2view(), ged_model2view_lu(), ged_mrot(), ged_nirt(), ged_orient(), ged_perspective(), ged_plot(), ged_pmat(), ged_pmodel2view(), ged_png(), ged_polygons_overlap(), ged_pov(), ged_preview(), ged_ps(), ged_quat(), ged_qvrot(), ged_rect(), ged_rmat(), ged_rot_args(), ged_rot_point(), ged_rotate_about(), ged_rrt(), ged_rselect(), ged_rt(), ged_rtcheck(), ged_rtwizard(), ged_savekey(), ged_saveview(), ged_scale_args(), ged_screen_grab(), ged_select(), ged_setview(), ged_size(), ged_slew(), ged_solids_on_ray(), ged_tra_args(), ged_v2m_point(), ged_view2grid_lu(), ged_view2model(), ged_view2model_lu(), ged_view2model_vec(), ged_view_func(), ged_viewdir(), ged_vnirt(), ged_vrot(), ged_ypr(), and ged_zoom().

#define GED_CHECK_FBSERV (   _gedp,
  _flags 
)
Value:
if (_gedp->ged_fbsp == FBSERV_OBJ_NULL) { \
int ged_check_view_quiet = (_flags) & GED_QUIET; \
if (!ged_check_view_quiet) { \
bu_vls_trunc((_gedp)->ged_result_str, 0); \
bu_vls_printf((_gedp)->ged_result_str, "A framebuffer server object does not exist."); \
} \
return (_flags); \
}
void bu_vls_trunc(struct bu_vls *vp, int len)
Definition: vls.c:198
if(share_geom)
Definition: nmg_mod.c:3829
#define GED_QUIET
Definition: ged.h:64
void bu_vls_printf(struct bu_vls *vls, const char *fmt,...) _BU_ATTR_PRINTF23
Definition: vls.c:694

Definition at line 150 of file ged.h.

Referenced by ged_fb2pix(), ged_fbclear(), and ged_pix2fb().

#define GED_CHECK_FBSERV_FBP (   _gedp,
  _flags 
)
Value:
if (_gedp->ged_fbsp->fbs_fbp == FB_NULL) { \
int ged_check_view_quiet = (_flags) & GED_QUIET; \
if (!ged_check_view_quiet) { \
bu_vls_trunc((_gedp)->ged_result_str, 0); \
bu_vls_printf((_gedp)->ged_result_str, "A framebuffer IO structure does not exist."); \
} \
return (_flags); \
}
void bu_vls_trunc(struct bu_vls *vp, int len)
Definition: vls.c:198
if(share_geom)
Definition: nmg_mod.c:3829
#define FB_NULL
Definition: fb.h:95
#define GED_QUIET
Definition: ged.h:64
void bu_vls_printf(struct bu_vls *vls, const char *fmt,...) _BU_ATTR_PRINTF23
Definition: vls.c:694

Definition at line 160 of file ged.h.

Referenced by ged_fb2pix(), ged_fbclear(), and ged_pix2fb().

#define GED_CHECK_EXISTS (   _gedp,
  _name,
  _noisy,
  _flags 
)
Value:
if (db_lookup((_gedp)->ged_wdbp->dbip, (_name), (_noisy)) != RT_DIR_NULL) { \
int ged_check_exists_quiet = (_flags) & GED_QUIET; \
if (!ged_check_exists_quiet) { \
bu_vls_printf((_gedp)->ged_result_str, "%s already exists.", (_name)); \
} \
return (_flags); \
}
struct directory * db_lookup(const struct db_i *, const char *name, int noisy)
Definition: db_lookup.c:153
if(share_geom)
Definition: nmg_mod.c:3829
#define GED_QUIET
Definition: ged.h:64
void bu_vls_printf(struct bu_vls *vls, const char *fmt,...) _BU_ATTR_PRINTF23
Definition: vls.c:694
#define RT_DIR_NULL
Definition: raytrace.h:875

Lookup database object

Definition at line 171 of file ged.h.

Referenced by ged_3ptarb(), ged_arb(), ged_bev(), ged_bo(), ged_bot_decimate(), ged_bot_smooth(), ged_cc(), ged_comb_std(), ged_copy(), ged_copyeval(), ged_export_polygon(), ged_human(), ged_make(), ged_make_pnts(), and ged_tire().

#define GED_CHECK_READ_ONLY (   _gedp,
  _flags 
)
Value:
if ((_gedp)->ged_wdbp->dbip->dbi_read_only) { \
int ged_check_read_only_quiet = (_flags) & GED_QUIET; \
if (!ged_check_read_only_quiet) { \
bu_vls_trunc((_gedp)->ged_result_str, 0); \
bu_vls_printf((_gedp)->ged_result_str, "Sorry, this database is READ-ONLY."); \
} \
return (_flags); \
}
void bu_vls_trunc(struct bu_vls *vp, int len)
Definition: vls.c:198
if(share_geom)
Definition: nmg_mod.c:3829
#define GED_QUIET
Definition: ged.h:64
void bu_vls_printf(struct bu_vls *vls, const char *fmt,...) _BU_ATTR_PRINTF23
Definition: vls.c:694

Check if the database is read only

Definition at line 181 of file ged.h.

Referenced by constraint_eval(), constraint_set(), ged_3ptarb(), ged_adjust(), ged_annotate(), ged_arb(), ged_arced(), ged_attr(), ged_bb(), ged_bev(), ged_bo(), ged_bot(), ged_bot_condense(), ged_bot_decimate(), ged_bot_face_fuse(), ged_bot_face_sort(), ged_bot_flip(), ged_bot_fuse(), ged_bot_merge(), ged_bot_smooth(), ged_bot_split(), ged_bot_sync(), ged_bot_vertex_fuse(), ged_cc(), ged_clone(), ged_coil(), ged_color(), ged_comb(), ged_comb_color(), ged_comb_std(), ged_concat(), ged_copy(), ged_copyeval(), ged_copymat(), ged_cpi(), ged_dbcopy(), ged_decompose(), ged_edcodes(), ged_edcolor(), ged_edcomb(), ged_edit(), ged_edmater(), ged_facetize(), ged_fracture(), ged_get_comb(), ged_getmat(), ged_group(), ged_hide(), ged_human(), ged_importFg4Section(), ged_in(), ged_inside(), ged_instance(), ged_item(), ged_kill(), ged_killall(), ged_killrefs(), ged_killtree(), ged_lod(), ged_log(), ged_make(), ged_make_name(), ged_make_pnts(), ged_mater(), ged_mirror(), ged_move(), ged_move_all(), ged_move_arb_edge(), ged_move_arb_face(), ged_nmg_collapse(), ged_nmg_fix_normals(), ged_nmg_simplify(), ged_ocenter(), ged_orotate(), ged_oscale(), ged_otranslate(), ged_prcolor(), ged_prefix(), ged_protate(), ged_pscale(), ged_pset(), ged_ptranslate(), ged_pull(), ged_push(), ged_put(), ged_put_comb(), ged_putmat(), ged_rcodes(), ged_regdef(), ged_region(), ged_remove(), ged_rfarb(), ged_rmater(), ged_rotate_arb_face(), ged_shells(), ged_solids_on_ray(), ged_sphgroup(), ged_sync(), ged_tire(), ged_title(), ged_track(), ged_unhide(), ged_wmater(), and ged_xpush().

#define GED_CHECK_REGION (   _gedp,
  _dp,
  _flags 
)
Value:
if (((_dp)->d_flags & RT_DIR_REGION) == 0) { \
int ged_check_region_quiet = (_flags) & GED_QUIET; \
if (!ged_check_region_quiet) { \
bu_vls_printf((_gedp)->ged_result_str, "%s is not a region.", (_dp)->d_namep); \
} \
return (_flags); \
}
#define RT_DIR_REGION
region
Definition: raytrace.h:885
if(share_geom)
Definition: nmg_mod.c:3829
#define GED_QUIET
Definition: ged.h:64
void bu_vls_printf(struct bu_vls *vls, const char *fmt,...) _BU_ATTR_PRINTF23
Definition: vls.c:694

Check if the object is a region

Definition at line 192 of file ged.h.

Referenced by ged_item().

#define GED_CHECK_ARGC_GT_0 (   _gedp,
  _argc,
  _flags 
)
Value:
if ((_argc) < 1) { \
int ged_check_argc_gt_0_quiet = (_flags) & GED_QUIET; \
if (!ged_check_argc_gt_0_quiet) { \
bu_vls_trunc((_gedp)->ged_result_str, 0); \
bu_vls_printf((_gedp)->ged_result_str, "Command name not provided on (%s:%d).", __FILE__, __LINE__); \
} \
return (_flags); \
}
void bu_vls_trunc(struct bu_vls *vp, int len)
Definition: vls.c:198
if(share_geom)
Definition: nmg_mod.c:3829
#define GED_QUIET
Definition: ged.h:64
void bu_vls_printf(struct bu_vls *vls, const char *fmt,...) _BU_ATTR_PRINTF23
Definition: vls.c:694

make sure there is a command name given

Definition at line 202 of file ged.h.

Referenced by _ged_append_pipept_common(), ged_3ptarb(), ged_adc(), ged_add_metaballpt(), ged_adjust(), ged_ae2dir(), ged_aet(), ged_analyze(), ged_annotate(), ged_arb(), ged_arced(), ged_arot_args(), ged_attr(), ged_autoview(), ged_bb(), ged_bev(), ged_blast(), ged_bo(), ged_bot(), ged_bot_condense(), ged_bot_decimate(), ged_bot_dump(), ged_bot_edge_split(), ged_bot_face_fuse(), ged_bot_face_sort(), ged_bot_face_split(), ged_bot_flip(), ged_bot_fuse(), ged_bot_merge(), ged_bot_smooth(), ged_bot_split(), ged_bot_sync(), ged_bot_vertex_fuse(), ged_brep(), ged_cat(), ged_cc(), ged_center(), ged_clone(), ged_color(), ged_comb(), ged_comb_color(), ged_comb_std(), ged_concat(), ged_constraint(), ged_copy(), ged_copyeval(), ged_copymat(), ged_cpi(), ged_dbip(), ged_dbot_dump(), ged_debugbu(), ged_debugdir(), ged_debuglib(), ged_debugmem(), ged_debugnmg(), ged_decompose(), ged_delay(), ged_delete_metaballpt(), ged_delete_pipept(), ged_dir2ae(), ged_draw_guts(), ged_dump(), ged_dup(), ged_E(), ged_eac(), ged_echo(), ged_edarb(), ged_edcodes(), ged_edcolor(), ged_edcomb(), ged_edit(), ged_editit(), ged_edmater(), ged_erase(), ged_exists(), ged_expand(), ged_eye(), ged_eye_pos(), ged_facetize(), ged_fb2pix(), ged_fbclear(), ged_find(), ged_find_arb_edge_nearest_pt(), ged_find_bot_edge_nearest_pt(), ged_find_botpt_nearest_pt(), ged_find_metaballpt_nearest_pt(), ged_find_pipept_nearest_pt(), ged_form(), ged_fracture(), ged_gdiff(), ged_get(), ged_get_autoview(), ged_get_bot_edges(), ged_get_comb(), ged_get_eyemodel(), ged_get_type(), ged_getmat(), ged_gqa(), ged_graph(), ged_grid(), ged_grid2model_lu(), ged_grid2view_lu(), ged_group(), ged_hide(), ged_how(), ged_illum(), ged_importFg4Section(), ged_in(), ged_inside(), ged_instance(), ged_isize(), ged_item(), ged_joint(), ged_joint2(), ged_keep(), ged_keypoint(), ged_kill(), ged_killall(), ged_killrefs(), ged_killtree(), ged_label(), ged_lc(), ged_list(), ged_loadview(), ged_lod(), ged_log(), ged_lookat(), ged_ls(), ged_lt(), ged_m2v_point(), ged_make(), ged_make_name(), ged_make_pnts(), ged_match(), ged_mater(), ged_memprint(), ged_mirror(), ged_model2grid_lu(), ged_model2view(), ged_model2view_lu(), ged_move(), ged_move_all(), ged_move_arb_edge(), ged_move_arb_face(), ged_move_botpt(), ged_move_botpts(), ged_move_metaballpt(), ged_move_pipept(), ged_mrot(), ged_nirt(), ged_nmg_collapse(), ged_nmg_fix_normals(), ged_nmg_simplify(), ged_ocenter(), ged_orient(), ged_orotate(), ged_oscale(), ged_otranslate(), ged_overlay(), ged_pathlist(), ged_pathsum(), ged_perspective(), ged_pix2fb(), ged_plot(), ged_pmat(), ged_pmodel2view(), ged_png(), ged_polybinout(), ged_pov(), ged_prcolor(), ged_prefix(), ged_protate(), ged_ps(), ged_pscale(), ged_pset(), ged_ptranslate(), ged_pull(), ged_push(), ged_put(), ged_put_comb(), ged_putmat(), ged_qray(), ged_quat(), ged_qvrot(), ged_rcodes(), ged_rect(), ged_red(), ged_redraw(), ged_regdef(), ged_region(), ged_remove(), ged_reopen(), ged_report(), ged_rfarb(), ged_rmap(), ged_rmat(), ged_rmater(), ged_rot_args(), ged_rot_point(), ged_rotate_about(), ged_rotate_arb_face(), ged_rrt(), ged_rselect(), ged_rt(), ged_rtabort(), ged_rtcheck(), ged_rtwizard(), ged_savekey(), ged_saveview(), ged_scale_args(), ged_screen_grab(), ged_select(), ged_set_output_script(), ged_set_transparency(), ged_set_uplotOutputMode(), ged_setview(), ged_shaded_mode(), ged_shader(), ged_shells(), ged_showmats(), ged_simulate(), ged_size(), ged_slew(), ged_solids_on_ray(), ged_sphgroup(), ged_summary(), ged_tables(), ged_title(), ged_tol(), ged_tops(), ged_tra_args(), ged_track(), ged_tree(), ged_unhide(), ged_units(), ged_v2m_point(), ged_version(), ged_view2grid_lu(), ged_view2model(), ged_view2model_lu(), ged_view2model_vec(), ged_view_func(), ged_viewdir(), ged_vnirt(), ged_voxelize(), ged_vrot(), ged_wcodes(), ged_whatid(), ged_which(), ged_which_shader(), ged_who(), ged_wmater(), ged_xpush(), ged_ypr(), ged_zap(), and ged_zoom().

#define GED_DB_DIRADD (   _gedp,
  _dp,
  _name,
  _laddr,
  _len,
  _dirflags,
  _ptr,
  _flags 
)
Value:
if (((_dp) = db_diradd((_gedp)->ged_wdbp->dbip, (_name), (_laddr), (_len), (_dirflags), (_ptr))) == RT_DIR_NULL) { \
int ged_db_diradd_quiet = (_flags) & GED_QUIET; \
if (!ged_db_diradd_quiet) { \
bu_vls_printf((_gedp)->ged_result_str, "Unable to add %s to the database.", (_name)); \
} \
return (_flags); \
}
if(share_geom)
Definition: nmg_mod.c:3829
#define GED_QUIET
Definition: ged.h:64
struct directory * db_diradd(struct db_i *, const char *name, off_t laddr, size_t len, int flags, void *ptr)
Definition: db_lookup.c:190
void bu_vls_printf(struct bu_vls *vls, const char *fmt,...) _BU_ATTR_PRINTF23
Definition: vls.c:694
#define RT_DIR_NULL
Definition: raytrace.h:875

add a new directory entry to the currently open database

Definition at line 213 of file ged.h.

Referenced by _ged_combadd2(), ged_3ptarb(), ged_arb(), ged_bev(), ged_bot_condense(), ged_bot_face_fuse(), ged_bot_fuse(), ged_bot_merge(), ged_bot_smooth(), ged_bot_vertex_fuse(), ged_cc(), ged_comb_std(), ged_export_polygon(), ged_make(), ged_make_pnts(), and ged_red().

#define GED_DB_LOOKUP (   _gedp,
  _dp,
  _name,
  _noisy,
  _flags 
)
Value:
if (((_dp) = db_lookup((_gedp)->ged_wdbp->dbip, (_name), (_noisy))) == RT_DIR_NULL) { \
int ged_db_lookup_quiet = (_flags) & GED_QUIET; \
if (!ged_db_lookup_quiet) { \
bu_vls_printf((_gedp)->ged_result_str, "Unable to find %s in the database.", (_name)); \
} \
return (_flags); \
}
struct directory * db_lookup(const struct db_i *, const char *name, int noisy)
Definition: db_lookup.c:153
if(share_geom)
Definition: nmg_mod.c:3829
#define GED_QUIET
Definition: ged.h:64
void bu_vls_printf(struct bu_vls *vls, const char *fmt,...) _BU_ATTR_PRINTF23
Definition: vls.c:694
#define RT_DIR_NULL
Definition: raytrace.h:875

Lookup database object

Definition at line 223 of file ged.h.

Referenced by edarb_facedef(), edarb_mirface(), ged_adjust(), ged_bot(), ged_bot_condense(), ged_bot_decimate(), ged_bot_face_fuse(), ged_bot_fuse(), ged_bot_smooth(), ged_bot_vertex_fuse(), ged_comb_color(), ged_comb_std(), ged_copy(), ged_copyeval(), ged_dbcopy(), ged_edcomb(), ged_item(), ged_mater(), and ged_shader().

#define GED_DB_GET_INTERNAL (   _gedp,
  _intern,
  _dp,
  _mat,
  _resource,
  _flags 
)
Value:
if (rt_db_get_internal((_intern), (_dp), (_gedp)->ged_wdbp->dbip, (_mat), (_resource)) < 0) { \
int ged_db_get_internal_quiet = (_flags) & GED_QUIET; \
if (!ged_db_get_internal_quiet) { \
bu_vls_printf((_gedp)->ged_result_str, "Database read failure."); \
} \
return (_flags); \
}
int rt_db_get_internal(struct rt_db_internal *ip, const struct directory *dp, const struct db_i *dbip, const mat_t mat, struct resource *resp)
Definition: dir.c:76
if(share_geom)
Definition: nmg_mod.c:3829
#define GED_QUIET
Definition: ged.h:64
void bu_vls_printf(struct bu_vls *vls, const char *fmt,...) _BU_ATTR_PRINTF23
Definition: vls.c:694

Get internal representation

Definition at line 233 of file ged.h.

Referenced by _ged_combadd2(), _ged_get_obj_bounds2(), attr_pretty_print(), build_comb(), comb_tree_clear(), edarb_facedef(), edarb_mirface(), edit_arg_to_apparent_coord(), edit_translate(), ged_adjust(), ged_analyze(), ged_bot(), ged_bot_condense(), ged_bot_decimate(), ged_bot_face_fuse(), ged_bot_face_sort(), ged_bot_flip(), ged_bot_fuse(), ged_bot_merge(), ged_bot_smooth(), ged_bot_split(), ged_bot_sync(), ged_bot_vertex_fuse(), ged_brep(), ged_comb_color(), ged_comb_std(), ged_copyeval(), ged_edcomb(), ged_item(), ged_joint2(), ged_mater(), ged_ocenter(), ged_orotate(), ged_oscale(), ged_otranslate(), ged_protate(), ged_pscale(), ged_pset(), ged_ptranslate(), ged_red(), and ged_shader().

#define GED_DB_PUT_INTERNAL (   _gedp,
  _dp,
  _intern,
  _resource,
  _flags 
)
Value:
if (rt_db_put_internal((_dp), (_gedp)->ged_wdbp->dbip, (_intern), (_resource)) < 0) { \
int ged_db_put_internal_quiet = (_flags) & GED_QUIET; \
if (!ged_db_put_internal_quiet) { \
bu_vls_printf((_gedp)->ged_result_str, "Database write failure."); \
} \
return (_flags); \
}
int rt_db_put_internal(struct directory *dp, struct db_i *dbip, struct rt_db_internal *ip, struct resource *resp)
Definition: dir.c:136
if(share_geom)
Definition: nmg_mod.c:3829
#define GED_QUIET
Definition: ged.h:64
void bu_vls_printf(struct bu_vls *vls, const char *fmt,...) _BU_ATTR_PRINTF23
Definition: vls.c:694

Put internal representation

Definition at line 243 of file ged.h.

Referenced by _ged_append_pipept_common(), _ged_combadd2(), edarb_facedef(), edarb_mirface(), edit_translate(), ged_3ptarb(), ged_add_metaballpt(), ged_arb(), ged_bev(), ged_bot_condense(), ged_bot_edge_split(), ged_bot_face_fuse(), ged_bot_face_sort(), ged_bot_face_split(), ged_bot_flip(), ged_bot_fuse(), ged_bot_merge(), ged_bot_smooth(), ged_bot_sync(), ged_bot_vertex_fuse(), ged_brep(), ged_cc(), ged_comb_color(), ged_comb_std(), ged_delete_metaballpt(), ged_delete_pipept(), ged_edcomb(), ged_export_polygon(), ged_item(), ged_joint2(), ged_make(), ged_make_pnts(), ged_mater(), ged_move_arb_edge(), ged_move_arb_face(), ged_move_botpt(), ged_move_botpts(), ged_move_metaballpt(), ged_move_pipept(), ged_ocenter(), ged_orotate(), ged_oscale(), ged_otranslate(), ged_protate(), ged_pscale(), ged_pset(), ged_ptranslate(), ged_red(), ged_rotate_arb_face(), and ged_shader().

#define GED_MIN   -2048.0

Definition at line 254 of file ged.h.

Referenced by clip(), code(), and dm_draw_adc().

#define GED_RANGE   4095.0

Definition at line 255 of file ged.h.

#define INV_GED   0.00048828125

Definition at line 256 of file ged.h.

#define INV_4096   0.000244140625

Definition at line 257 of file ged.h.

#define RT_VDRW_PREFIX   "_VDRW"

Definition at line 292 of file ged.h.

#define RT_VDRW_PREFIX_LEN   6

Definition at line 293 of file ged.h.

#define RT_VDRW_MAXNAME   31

Definition at line 294 of file ged.h.

#define RT_VDRW_DEF_COLOR   0xffff00

Definition at line 295 of file ged.h.

#define VD_CURVE_NULL   ((struct vd_curve *)NULL)

Definition at line 302 of file ged.h.

#define POLYGON_HEADER_MAGIC   0x8623bad2

Definition at line 464 of file ged.h.

Referenced by dl_polybinout().

#define _GED_MAX_LEVELS   12

Definition at line 1912 of file ged.h.

Referenced by ged_trace().

Typedef Documentation

typedef int(* ged_func_ptr) (struct ged *, int, const char *[])

Definition at line 390 of file ged.h.

typedef void(* ged_refresh_callback_ptr) (void *)

Definition at line 391 of file ged.h.

typedef void(* ged_create_vlist_callback_ptr) (struct display_list *)

Definition at line 392 of file ged.h.

typedef void(* ged_free_vlist_callback_ptr) (unsigned int, int)

Definition at line 393 of file ged.h.

Function Documentation

size_t ged_results_count ( struct ged_results results)

Definition at line 68 of file ged_util.c.

References BU_PTBL_LEN, ged_results::results_tbl, and UNLIKELY.

const char* ged_results_get ( struct ged_results results,
size_t  index 
)

Definition at line 76 of file ged_util.c.

References BU_PTBL_GET, and ged_results::results_tbl.

void ged_results_clear ( struct ged_results results)

Definition at line 82 of file ged_util.c.

References bu_free(), BU_PTBL_GET, BU_PTBL_LEN, bu_ptbl_reset(), ged_results::results_tbl, and UNLIKELY.

Referenced by ged_ls(), and ged_results_free().

Here is the call graph for this function:

void ged_results_free ( struct ged_results results)

Definition at line 98 of file ged_util.c.

References bu_free(), bu_ptbl_free(), ged_results_clear(), ged_results::results_tbl, and UNLIKELY.

Referenced by ged_free().

Here is the call graph for this function:

void ged_calc_adc_pos ( struct bview gvp)

Definition at line 629 of file adc.c.

References adc_grid_to_adc_view(), adc_model_to_adc_view(), adc_view_to_adc_grid(), bview_adc_state::anchor_pos, GED_MAX, bview::gv_adc, bview::gv_model2view, bview::gv_view2model, bview_adc_state::pos_model, and bview_adc_state::pos_view.

Referenced by ged_adc().

Here is the call graph for this function:

int ged_clip ( fastf_t xp1,
fastf_t yp1,
fastf_t xp2,
fastf_t yp2 
)
int ged_vclip ( vect_t  a,
vect_t  b,
fastf_t min,
fastf_t max 
)
int ged_dbcopy ( struct ged from_gedp,
struct ged to_gedp,
const char *  from,
const char *  to,
int  fflag 
)
void dl_set_iflag ( struct bu_list hdlp,
int  iflag 
)
void dl_color_soltab ( struct bu_list hdlp)
void dl_erasePathFromDisplay ( struct bu_list hdlp,
struct db_i dbip,
void(*)(unsigned int, int)  callback,
const char *  path,
int  allow_split,
struct solid *  freesolid 
)
struct display_list* dl_addToDisplay ( struct bu_list hdlp,
struct db_i dbip,
const char *  name 
)
int invent_solid ( struct bu_list hdlp,
struct db_i dbip,
void(*)(struct display_list *)  callback_create,
void(*)(unsigned int, int)  callback_free,
char *  name,
struct bu_list vhead,
long int  rgb,
int  copy,
fastf_t  transparency,
int  dmode,
struct solid *  freesolid,
int  csoltab 
)

Definition at line 1103 of file display_list.c.

References bu_list::back, BU_LIST_APPEND, BU_LIST_INIT, bu_log(), db_add_node_to_full_path(), db_diradd(), db_lookup(), DBI_NULL, dl_addToDisplay(), dl_erasePathFromDisplay(), display_list::dl_headSolid, DOWN, GED_CREATE_VLIST_CALLBACK_PTR_NULL, LOOKUP_QUIET, OSL::Strings::rgb, RT_DIR_NULL, RT_DIR_PHONY_ADDR, and RT_DIR_SOLID.

Referenced by _ged_cvt_vlblock_to_solids().

Here is the call graph for this function:

void ged_close ( struct ged gedp)

Definition at line 74 of file ged.c.

References ged_free(), GED_NULL, ged::ged_wdbp, RT_WDB_NULL, and wdb_close().

Referenced by to_deleteProc().

Here is the call graph for this function:

void ged_free ( struct ged gedp)

Definition at line 131 of file ged.c.

References bu_hash_tbl_free(), bu_hash_tbl_traverse(), BU_LIST_DEQUEUE, BU_LIST_NEXT, BU_LIST_NOT_HEAD, BU_LIST_PNEXT, BU_PUT, bu_vls_free(), ged::freesolid, ged_drawable::gd_headDisplay, ged_drawable::gd_headVDraw, GED_DRAWABLE_NULL, ged::ged_gdp, ged::ged_log, GED_NULL, ged::ged_result_str, ged::ged_results, ged_results_free(), ged::ged_selections, ged::ged_wdbp, qray_free(), and RT_WDB_NULL.

Referenced by ged_close().

Here is the call graph for this function:

struct ged* ged_open ( const char *  dbtype,
const char *  filename,
int  existing_only 
)
void ged_view_init ( struct bview gvp)

Definition at line 234 of file ged.c.

References bview_adc_state::a1, bview_adc_state::a2, bview_grid_state::anchor, bview_axes_state::axes_color, bview_axes_state::axes_pos, bview_axes_state::axes_size, bview_grid_state::color, bview_interactive_rect_state::color, bview_interactive_rect_state::dim, bview_axes_state::draw, bview_interactive_rect_state::draw, GED_VIEW_NULL, ged_view_update(), bview_other_state::gos_draw, bview_other_state::gos_line_color, bview_other_state::gos_text_color, bview::gv_adc, bview::gv_aet, bview::gv_center, bview::gv_center_dot, bview::gv_coord, bview::gv_data_vZ, bview::gv_eye_pos, bview::gv_grid, bview::gv_isize, bview::gv_keypoint, bview::gv_maxMouseDelta, bview::gv_minMouseDelta, bview::gv_model_axes, bview::gv_prim_labels, bview::gv_rect, bview::gv_rotate_about, bview::gv_rotation, bview::gv_rscale, bview::gv_scale, bview::gv_size, bview::gv_sscale, bview::gv_view_axes, bview::gv_view_params, bview::gv_view_scale, bview_axes_state::label_color, bview_adc_state::line_color, bview_axes_state::line_width, bview_interactive_rect_state::pos, bview_axes_state::pos_only, bview_grid_state::res_h, bview_grid_state::res_major_h, bview_grid_state::res_major_v, bview_grid_state::res_v, bview_adc_state::tick_color, bview_axes_state::tick_color, bview_axes_state::tick_enabled, bview_axes_state::tick_interval, bview_axes_state::tick_length, bview_axes_state::tick_major_color, bview_axes_state::tick_major_length, bview_axes_state::tick_threshold, bview_axes_state::ticks_per_major, bview_axes_state::triple_color, VSET, and VSETALL.

Referenced by to_new_view().

Here is the call graph for this function:

int ged_inside_internal ( struct ged gedp,
struct rt_db_internal ip,
int  argc,
const char *  argv[],
int  arg,
char *  o_name 
)
int ged_build_tops ( struct ged gedp,
char **  start,
char **  end 
)

Build a command line vector of the tops of all objects in view.

Definition at line 424 of file rt.c.

References BU_LIST_FOR, bu_strdup, bu_vls_addr(), bu_vls_printf(), display_list::dl_dp, display_list::dl_path, ged_drawable::gd_headDisplay, ged::ged_gdp, ged::ged_result_str, and RT_DIR_PHONY_ADDR.

Referenced by ged_nirt(), ged_preview(), ged_rrt(), ged_rt(), ged_rtcheck(), and ged_solids_on_ray().

Here is the call graph for this function:

size_t ged_count_tops ( struct ged gedp)
void ged_persp_mat ( fastf_t m,
fastf_t  fovy,
fastf_t  aspect,
fastf_t  near1,
fastf_t  far1,
fastf_t  backoff 
)
void ged_mike_persp_mat ( fastf_t pmat,
const fastf_t eye 
)
void ged_deering_persp_mat ( fastf_t m,
const fastf_t l,
const fastf_t h,
const fastf_t eye 
)
int ged_3ptarb ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Creates an arb8 given the following: 1) 3 points of one face 2) coord x, y or z and 2 coordinates of the 4th point in that face 3) thickness

Definition at line 51 of file 3ptarb.c.

References BU_ALLOC, bu_free(), bu_vls_printf(), bu_vls_trunc(), db_i::dbi_local2base, rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_EXISTS, GED_CHECK_READ_ONLY, GED_DB_DIRADD, GED_DB_PUT_INTERNAL, GED_ERROR, GED_MORE, GED_OK, ged::ged_result_str, ged::ged_wdbp, ID_ARB8, idb_type, LOOKUP_QUIET, OBJ, RT_ARB_INTERNAL_MAGIC, RT_DB_INTERNAL_INIT, RT_DIR_PHONY_ADDR, RT_DIR_SOLID, rt_uniresource, usage(), VSET, X, Y, Z, and ZERO.

Here is the call graph for this function:

int ged_adjust ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Adjust object's attribute(s)

Definition at line 36 of file adjust.c.

References bu_vls_printf(), bu_vls_trunc(), rt_functab::ft_adjust, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_READ_ONLY, GED_DB_GET_INTERNAL, GED_DB_LOOKUP, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, rt_db_internal::idb_meth, LOOKUP_QUIET, RT_CK_DB_INTERNAL, RT_CK_FUNCTAB, rt_db_free_internal(), rt_uniresource, usage(), and wdb_put_internal().

Here is the call graph for this function:

int ged_arb ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Creates an arb8 given rotation and fallback angles

Definition at line 38 of file arb.c.

References BU_ALLOC, bu_vls_printf(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_EXISTS, GED_CHECK_READ_ONLY, GED_DB_DIRADD, GED_DB_PUT_INTERNAL, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, ID_ARB8, idb_type, LOOKUP_QUIET, rt_functab::magic, OBJ, RT_ARB_INTERNAL_MAGIC, RT_DB_INTERNAL_INIT, RT_DIR_PHONY_ADDR, RT_DIR_SOLID, rt_uniresource, usage(), and VSET.

Here is the call graph for this function:

int ged_ae2dir ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Convert az/el to a direction vector.

Definition at line 36 of file ae2dir.c.

References bn_encode_vect(), bu_vls_printf(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, and usage().

Here is the call graph for this function:

int ged_aet ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Get or set the azimuth, elevation and twist.

Definition at line 36 of file aet.c.

References _ged_mat_aet(), bn_decode_vect(), bn_encode_vect(), bu_vls_printf(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_VIEW, GED_ERROR, ged::ged_gvp, GED_OK, ged::ged_result_str, ged_view_update(), bview::gv_aet, usage(), X, Y, and Z.

Referenced by ged_view_func().

Here is the call graph for this function:

int ged_analyze ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Returns lots of information about the specified object(s)

Definition at line 1276 of file analyze.c.

References _ged_do_list(), analyze_do(), bn_mat_identity, bu_vls_printf(), bu_vls_trunc(), db_lookup(), rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_DB_GET_INTERNAL, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, LOOKUP_NOISY, rt_db_free_internal(), RT_DIR_NULL, rt_uniresource, and usage().

Here is the call graph for this function:

int ged_annotate ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Creates an annotation.

Definition at line 122 of file annotate.c.

References annotate_help(), bu_argv_from_string(), bu_calloc(), bu_free(), bu_log(), bu_vls_addr(), bu_vls_free(), bu_vls_from_argv(), BU_VLS_INIT_ZERO, bu_vls_putc(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_READ_ONLY, GED_ERROR, GED_HELP, GED_OK, and ged::ged_result_str.

Here is the call graph for this function:

int ged_append_pipept ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Append a pipe point.

Definition at line 680 of file edpipe.c.

References _ged_add_pipept(), and _ged_append_pipept_common().

Here is the call graph for this function:

int ged_attr ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Set, get, show, remove or append to attribute values for the specified object. The arguments for "set" and "append" subcommands are attribute name/value pairs. The arguments for "get", "rm", and "show" subcommands are attribute names. The "set" subcommand sets the specified attributes for the object. The "append" subcommand appends the provided value to an existing attribute, or creates a new attribute if it does not already exist. The "get" subcommand retrieves and displays the specified attributes. The "rm" subcommand deletes the specified attributes. The "show" subcommand does a "get" and displays the results in a user readable format.

Definition at line 168 of file attr.c.

References ATTR_APPEND, attr_cmd(), attr_cmp(), attr_cmp_nocase(), attr_cmp_value(), attr_cmp_value_nocase(), ATTR_GET, ATTR_LIST, attr_pretty_print(), attr_print(), ATTR_RM, ATTR_SET, ATTR_SHOW, ATTR_SORT, bu_attribute_value_set::avp, bu_avs_add(), bu_avs_add_vls(), bu_avs_free(), bu_avs_get(), bu_avs_init_empty(), bu_avs_merge(), bu_avs_remove(), bu_sort(), BU_STR_EQUAL, BU_STR_EQUIV, bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), bu_vls_putc(), bu_vls_strcat(), bu_vls_trunc(), bu_attribute_value_set::count, directory::d_flags, directory::d_namep, db5_get_attributes(), db5_replace_attributes(), db5_standardize_avs(), db5_update_attributes(), db_ls(), DB_LS_HIDDEN, db_version(), rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_READ_ONLY, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, bu_attribute_value_pair::name, RT_DIR_REGION, usage(), and bu_attribute_value_pair::value.

Here is the call graph for this function:

int ged_arot_args ( struct ged gedp,
int  argc,
const char *  argv[],
mat_t  rmat 
)

Rotate angle degrees about the specified axis

Definition at line 35 of file arot.c.

References bn_mat_arb_rot(), bu_vls_printf(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_VIEW, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, usage(), VSETALL, X, Y, and Z.

Referenced by ged_arot().

Here is the call graph for this function:

int ged_arot ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Definition at line 91 of file arot.c.

References _ged_do_rot(), ged_arot_args(), ged::ged_gvp, GED_OK, and bview::gv_coord.

Here is the call graph for this function:

int ged_autoview ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Auto-adjust the view so that all displayed geometry is in view

Definition at line 39 of file autoview.c.

References bu_vls_printf(), bu_vls_trunc(), dl_bounding_sph(), ged_drawable::gd_headDisplay, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_DRAWABLE, GED_CHECK_VIEW, GED_ERROR, ged::ged_gdp, ged::ged_gvp, GED_OK, ged::ged_result_str, ged_view_update(), bview::gv_center, bview::gv_isize, bview::gv_scale, bview::gv_size, bu_attribute_value_set::max, SQRT_SMALL_FASTF, VSETALL, X, Y, and Z.

Referenced by _ged_drawtrees(), and to_autoview_view().

Here is the call graph for this function:

int ged_bo ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Manipulate opaque binary objects. Must specify one of -i (for creating or adjusting objects (input)) or -o for extracting objects (output). If the major type is "u" the minor type must be one of: "f" -> float "d" -> double "c" -> char (8 bit) "s" -> short (16 bit) "i" -> int (32 bit) "l" -> long (64 bit) "C" -> unsigned char (8 bit) "S" -> unsigned short (16 bit) "I" -> unsigned int (32 bit) "L" -> unsigned long (64 bit) For input, source is a file name and dest is an object name. For output source is an object name and dest is a file name. Only uniform array binary objects (major_type=u) are currently supported}}

Definition at line 38 of file bo.c.

References bu_getopt(), bu_opterr, bu_optind, bu_vls_printf(), bu_vls_trunc(), rt_binunif_internal::count, directory::d_major_type, directory::d_namep, db5_type_sizeof_h_binu(), db_lookup(), db_version(), rt_wdb::dbip, file_name, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_EXISTS, GED_CHECK_READ_ONLY, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, rt_db_internal::idb_ptr, if(), rt_binunif_internal::int8, LOOKUP_NOISY, LOOKUP_QUIET, RT_CK_DB_INTERNAL, rt_db_free_internal(), rt_db_get_internal(), RT_DIR_NULL, rt_mk_binunif(), rt_uniresource, rt_binunif_internal::type, rt_binunif_internal::u, and usage().

Here is the call graph for this function:

int ged_blast ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Erase all currently displayed geometry and draw the specified object(s)

Definition at line 36 of file blast.c.

References bu_vls_printf(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_DRAWABLE, ged_draw(), GED_ERROR, GED_HELP, ged::ged_result_str, ged_zap(), and usage().

Referenced by to_blast().

Here is the call graph for this function:

int ged_bot ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Query or manipulate properties of bot

Definition at line 39 of file bot.c.

References bn_3d_chull(), bn_mat_identity, bu_strncmp(), bu_vls_printf(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_READ_ONLY, GED_DB_GET_INTERNAL, GED_DB_LOOKUP, GED_ERROR, GED_OK, GED_QUIET, ged::ged_result_str, ged::ged_wdbp, rt_db_internal::idb_major_type, rt_db_internal::idb_minor_type, rt_db_internal::idb_ptr, LOOKUP_NOISY, mk_bot(), rt_bot_propget(), rt_uniresource, and usage().

Here is the call graph for this function:

int ged_bot_condense ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Create new_bot by condensing old_bot

Definition at line 38 of file bot_condense.c.

References bn_mat_identity, bu_vls_printf(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_READ_ONLY, GED_DB_DIRADD, GED_DB_GET_INTERNAL, GED_DB_LOOKUP, GED_DB_PUT_INTERNAL, GED_ERROR, GED_HELP, GED_OK, GED_QUIET, ged::ged_result_str, rt_db_internal::idb_major_type, rt_db_internal::idb_minor_type, rt_db_internal::idb_ptr, LOOKUP_NOISY, rt_bot_condense(), RT_DIR_PHONY_ADDR, RT_DIR_SOLID, rt_uniresource, and usage().

Here is the call graph for this function:

int ged_bot_decimate ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Uses edge decimation to reduce the number of triangles in the specified BOT while keeping within the specified constraints.

Definition at line 38 of file bot_decimate.c.

References bu_getopt(), bu_optarg, bu_opterr, bu_optind, bu_vls_printf(), bu_vls_trunc(), db_i::dbi_local2base, rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_EXISTS, GED_CHECK_READ_ONLY, GED_DB_GET_INTERNAL, GED_DB_LOOKUP, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, rt_db_internal::idb_major_type, rt_db_internal::idb_minor_type, rt_db_internal::idb_ptr, LOOKUP_QUIET, rt_bot_decimate(), rt_db_free_internal(), RT_DB_INTERNAL_INIT, usage(), wdb_put_internal(), and rt_wdb::wdb_resp.

Here is the call graph for this function:

int ged_dbot_dump ( struct ged gedp,
int  argc,
const char *  argv[] 
)
int ged_bot_edge_split ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Split the specified bot edge. This splits the triangles that share the edge.

Definition at line 38 of file edbot.c.

References bu_realloc(), bu_sscanf(), bu_vls_printf(), bu_vls_trunc(), db_lookup(), rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_DB_PUT_INTERNAL, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, rt_db_internal::idb_major_type, rt_db_internal::idb_minor_type, rt_db_internal::idb_ptr, if(), LOOKUP_QUIET, rt_db_free_internal(), RT_DIR_NULL, rt_uniresource, usage(), and wdb_import_from_path2().

Referenced by to_bot_edge_split().

Here is the call graph for this function:

int ged_bot_face_fuse ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Create new_bot by fusing faces in old_bot

Definition at line 38 of file bot_face_fuse.c.

References bn_mat_identity, bu_vls_printf(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_READ_ONLY, GED_DB_DIRADD, GED_DB_GET_INTERNAL, GED_DB_LOOKUP, GED_DB_PUT_INTERNAL, GED_ERROR, GED_HELP, GED_OK, GED_QUIET, ged::ged_result_str, ID_BOT, rt_db_internal::idb_ptr, LOOKUP_NOISY, rt_bot_face_fuse(), RT_DIR_PHONY_ADDR, RT_DIR_SOLID, rt_uniresource, and usage().

Here is the call graph for this function:

int ged_bot_face_sort ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Sort the facelist of BOT solids to optimize ray trace performance for a particular number of triangles per raytrace piece.

Definition at line 37 of file bot_face_sort.c.

References bn_mat_identity, bu_log(), bu_vls_printf(), bu_vls_trunc(), directory::d_namep, db_lookup(), rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_READ_ONLY, GED_DB_GET_INTERNAL, GED_DB_PUT_INTERNAL, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, rt_db_internal::idb_major_type, rt_db_internal::idb_minor_type, rt_db_internal::idb_ptr, LOOKUP_NOISY, rt_bot_sort_faces(), rt_db_free_internal(), RT_DIR_NULL, usage(), and rt_wdb::wdb_resp.

Here is the call graph for this function:

int ged_bot_face_split ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Split the specified bot face into three parts (i.e. by adding a point to the center)

Definition at line 182 of file edbot.c.

References bu_realloc(), bu_sscanf(), bu_vls_printf(), bu_vls_trunc(), db_lookup(), rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_DB_PUT_INTERNAL, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, rt_db_internal::idb_major_type, rt_db_internal::idb_minor_type, rt_db_internal::idb_ptr, if(), LOOKUP_QUIET, rt_db_free_internal(), RT_DIR_NULL, rt_uniresource, usage(), and wdb_import_from_path2().

Referenced by to_bot_face_split().

Here is the call graph for this function:

int ged_bot_flip ( struct ged gedp,
int  argc,
const char *  argv[] 
)
int ged_bot_fuse ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Fuse bot

int ged_bot_merge ( struct ged gedp,
int  argc,
const char *  argv[] 
)
int ged_bot_smooth ( struct ged gedp,
int  argc,
const char *  argv[] 
)
int ged_bot_sync ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Sync the specified bot's orientation (i.e. make sure all neighboring triangles have same orientation).

Definition at line 38 of file bot_sync.c.

References bn_mat_identity, bu_basename(), bu_calloc(), bu_free(), BU_STR_EQUAL, bu_strdup, bu_vls_printf(), bu_vls_trunc(), db_lookup(), rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_READ_ONLY, GED_DB_GET_INTERNAL, GED_DB_PUT_INTERNAL, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, rt_db_internal::idb_major_type, rt_db_internal::idb_minor_type, rt_db_internal::idb_ptr, LOOKUP_QUIET, rt_bot_sync(), rt_db_free_internal(), RT_DIR_NULL, rt_uniresource, usage(), and rt_wdb::wdb_resp.

Here is the call graph for this function:

int ged_bot_vertex_fuse ( struct ged gedp,
int  argc,
const char *  argv[] 
)
int ged_cat ( struct ged gedp,
int  argc,
const char *  argv[] 
)

List attributes (brief).

Definition at line 36 of file cat.c.

References _ged_do_list(), bu_vls_printf(), bu_vls_trunc(), db_lookup(), rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, LOOKUP_NOISY, RT_DIR_NULL, and usage().

Here is the call graph for this function:

int ged_cc ( struct ged gedp,
int  argc,
const char *  argv[] 
)
int ged_center ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Get or set the view center.

Definition at line 36 of file center.c.

References bn_decode_vect(), bn_encode_vect(), bu_vls_printf(), bu_vls_trunc(), db_i::dbi_base2local, db_i::dbi_local2base, rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_VIEW, GED_ERROR, ged::ged_gvp, GED_OK, ged::ged_result_str, ged_view_update(), ged::ged_wdbp, bview::gv_center, usage(), X, Y, and Z.

Referenced by ged_view_func().

Here is the call graph for this function:

int ged_clone ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Performs a deep copy of object.

Definition at line 957 of file clone.c.

References bu_vls_addr(), bu_vls_free(), bu_vls_init(), bu_vls_printf(), bu_vls_trunc(), directory::d_namep, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_READ_ONLY, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, get_args(), ged_clone_state::olist, and rt_uniresource.

Here is the call graph for this function:

int ged_coil ( struct ged gedp,
int  argc,
const char *  argv[] 
)
int ged_color ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Make color entry.

Definition at line 267 of file color.c.

References BU_ALLOC, bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), bu_vls_trunc(), color_putrec(), color_zaprec(), db5_update_attribute(), db_version(), rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_READ_ONLY, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, rt_insert_color(), rt_material_head(), rt_vls_color_map(), and usage().

Here is the call graph for this function:

int ged_comb_color ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Set combination color.

Definition at line 30 of file comb_color.c.

References bu_vls_printf(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_COMB, GED_CHECK_DATABASE_OPEN, GED_CHECK_READ_ONLY, GED_DB_GET_INTERNAL, GED_DB_LOOKUP, GED_DB_PUT_INTERNAL, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, rt_db_internal::idb_ptr, LOOKUP_NOISY, rt_comb_internal::rgb, rt_comb_internal::rgb_valid, RT_CK_COMB, rt_db_free_internal(), rt_uniresource, and usage().

Here is the call graph for this function:

int ged_comb ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Create or extend combination w/booleans.

Definition at line 466 of file comb.c.

References _ged_combadd(), bu_getopt(), bu_optind, bu_vls_printf(), bu_vls_trunc(), comb_flatten(), comb_lift_region(), comb_wrap(), directory::d_flags, directory::d_namep, db_lookup(), DB_OP_NULL, db_str2op(), rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_READ_ONLY, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, LOOKUP_NOISY, LOOKUP_QUIET, region_flag_clear(), region_flag_set(), RT_DIR_COMB, RT_DIR_NULL, and usage().

Here is the call graph for this function:

int ged_combmem ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Set/get comb's members.

Definition at line 979 of file combmem.c.

References bu_getopt(), bu_optarg, bu_optind, bu_vls_printf(), bu_vls_trunc(), combmem_get(), combmem_set(), combmem_set_arb_rot(), combmem_set_empty(), combmem_set_rot(), combmem_set_sca(), combmem_set_tra(), ETYPES_ABS, ETYPES_NULL, ETYPES_REL, ETYPES_ROT_AET, ETYPES_ROT_ARBITRARY_AXIS, ETYPES_ROT_XYZ, ETYPES_SCA, ETYPES_TRA, GED_ERROR, GED_HELP, ged::ged_result_str, and usage().

Here is the call graph for this function:

int ged_constraint ( struct ged gedp,
int  argc,
const char *  argv[] 
)

create, update, remove, and list geometric and dimensional constraints.

Definition at line 294 of file constraint.c.

References BRLCAD_OK, bu_cmd(), BU_CMD_NULL, BU_STR_EQUIV, bu_vls_printf(), bu_vls_trunc(), constraint_eval(), constraint_get(), constraint_help(), constraint_set(), constraint_show(), constraint_usage(), db_version(), rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, and ged::ged_wdbp.

Here is the call graph for this function:

int ged_copy ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Copy a database object

Definition at line 37 of file copy.c.

References bu_free_external(), bu_vls_printf(), bu_vls_trunc(), directory::d_flags, directory::d_minor_type, db_get_external(), rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_EXISTS, GED_CHECK_READ_ONLY, GED_DB_LOOKUP, GED_ERROR, GED_HELP, GED_OK, GED_QUIET, ged::ged_result_str, ged::ged_wdbp, LOOKUP_NOISY, LOOKUP_QUIET, usage(), and wdb_export_external().

Here is the call graph for this function:

int ged_cpi ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Copy cylinder and position at end of original cylinder

Definition at line 38 of file cpi.c.

References bu_vls_printf(), bu_vls_trunc(), directory::d_flags, directory::d_minor_type, db_diradd(), db_lookup(), rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_READ_ONLY, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, ID_TGC, LOOKUP_NOISY, LOOKUP_QUIET, rt_db_free_internal(), rt_db_get_internal(), rt_db_put_internal(), RT_DIR_NULL, RT_DIR_PHONY_ADDR, rt_uniresource, and usage().

Here is the call graph for this function:

int ged_dbip ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Get dbip

Definition at line 36 of file dbip.c.

References bu_vls_printf(), bu_vls_trunc(), rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_ERROR, GED_OK, ged::ged_result_str, and ged::ged_wdbp.

Here is the call graph for this function:

int ged_debugbu ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Set/get libbu's debug bit vector

Definition at line 37 of file debugbu.c.

References bu_debug, BU_DEBUG_FORMAT, bu_vls_printb(), bu_vls_printf(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_ERROR, GED_OK, ged::ged_result_str, and usage().

Here is the call graph for this function:

int ged_debugdir ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Dump of the database's directory

Definition at line 36 of file debugdir.c.

References bu_vls_printf(), bu_vls_trunc(), db_pr_dir(), rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_ERROR, GED_OK, ged::ged_result_str, and ged::ged_wdbp.

Here is the call graph for this function:

int ged_debuglib ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Set/get librt's debug bit vector

Definition at line 37 of file debuglib.c.

References bu_debug, BU_DEBUG_COREDUMP, bu_vls_printb(), bu_vls_printf(), bu_vls_trunc(), rt_g::debug, DEBUG_FORMAT, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_ERROR, GED_OK, ged::ged_result_str, RT_G_DEBUG, RTG, and usage().

Here is the call graph for this function:

int ged_debugmem ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Provides user-level access to LIBBU's bu_prmem()

Definition at line 36 of file debugmem.c.

References bu_prmem(), bu_vls_printf(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_ERROR, GED_OK, and ged::ged_result_str.

Here is the call graph for this function:

int ged_memprint ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Definition at line 56 of file debugmem.c.

References bu_log(), bu_vls_printf(), bu_vls_trunc(), db_i::dbi_freep, rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_ERROR, GED_OK, ged::ged_result_str, ged::ged_wdbp, and rt_memprint().

Here is the call graph for this function:

int ged_debugnmg ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Set/get librt's NMG debug bit vector

Definition at line 36 of file debugnmg.c.

References bu_vls_printb(), bu_vls_printf(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_ERROR, GED_OK, ged::ged_result_str, rt_g::NMG_debug, RTG, and usage().

Here is the call graph for this function:

int ged_delay ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Delay the specified amount of time

Definition at line 38 of file delay.c.

References bu_vls_printf(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, and usage().

Here is the call graph for this function:

int ged_delete_pipept ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Delete the specified pipe point.

Definition at line 687 of file edpipe.c.

References _ged_delete_pipept(), _ged_get_pipe_seg_i(), bu_vls_printf(), bu_vls_trunc(), db_lookup(), rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_DB_PUT_INTERNAL, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, rt_db_internal::idb_major_type, rt_db_internal::idb_minor_type, rt_db_internal::idb_ptr, if(), LOOKUP_QUIET, rt_db_free_internal(), rt_db_get_internal(), RT_DIR_NULL, rt_uniresource, and usage().

Here is the call graph for this function:

int ged_dir2ae ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Convert a direction vector to az/el.

Definition at line 36 of file dir2ae.c.

References bu_vls_printf(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, usage(), X, Y, and Z.

Here is the call graph for this function:

int ged_draw ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Prepare object(s) for display

Definition at line 1212 of file draw.c.

References _GED_DRAW_WIREFRAME, and ged_draw_guts().

Referenced by ged_blast(), ged_eac(), ged_loadview(), ged_mirror(), redraw_edited_path(), to_edit_redraw(), to_make(), to_mirror(), to_mouse_joint_selection_translate(), and to_vmake().

Here is the call graph for this function:

int ged_dump ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Dump a full copy of the database into file.g

Definition at line 36 of file dump.c.

References bu_vls_printf(), bu_vls_trunc(), db_dump(), rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, RT_WDB_NULL, usage(), wdb_close(), and wdb_fopen().

Here is the call graph for this function:

int ged_dup ( struct ged gedp,
int  argc,
const char *  argv[] 
)
int ged_E ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Prepare object(s) for display

Definition at line 2026 of file bigE.c.

References _GED_BOOL_EVAL, _ged_drawH_part2(), application::a_resource, application::a_rt_i, _ged_client_data::ap, BU_ALLOC, bu_debug, BU_DEBUG_MEM_CHECK, bu_free(), bu_getopt(), BU_LIST_FOR, BU_LIST_INIT, BU_LIST_IS_INITIALIZED, bu_log(), bu_mem_barriercheck(), bu_optarg, bu_optind, bu_ptbl_free(), bu_ptbl_init(), bu_ptbl_reset(), bu_vls_printf(), bu_vls_trunc(), build_etree(), db_free_full_path(), db_string_to_path(), rt_wdb::dbip, dl_addToDisplay(), dl_erasePathFromDisplay(), _ged_client_data::dmode, _ged_client_data::do_polysolids, Eplot(), _ged_client_data::etime, fix_halfs(), free_etree(), _ged_client_data::freesolid, ged::freesolid, ged_drawable::gd_headDisplay, _ged_client_data::gdlp, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_DRAWABLE, GED_ERROR, ged::ged_free_vlist_callback, ged::ged_gdp, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, _ged_client_data::gedp, rt_i::HeadRegion, _ged_client_data::leaf_list, _ged_client_data::num_halfs, _ged_client_data::nvectors, resource::re_magic, resource::re_nmgfree, region::reg_mater, region::reg_name, region::reg_treetop, RESOURCE_MAGIC, RT_APPLICATION_INIT, rt_clean(), rt_gettrees(), rt_new_rti(), rt_uniresource, rt_i::rti_tol, _ged_client_data::rtip, _ged_client_data::start_time, time(), _ged_client_data::transparency, db_tree_state::ts_mater, usage(), rt_i::useair, rt_wdb::wdb_tol, _ged_client_data::wireframe_color, and _ged_client_data::wireframe_color_override.

Here is the call graph for this function:

int ged_eac ( struct ged gedp,
int  argc,
const char *  argv[] 
)
int ged_echo ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Echo the specified arguments.

Definition at line 36 of file echo.c.

References bu_vls_printf(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, and usage().

Here is the call graph for this function:

int ged_edarb ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Arb specific edits.

Definition at line 328 of file edarb.c.

References BRLCAD_OK, bu_cmd(), BU_CMD_NULL, bu_vls_printf(), bu_vls_trunc(), edarb_facedef(), edarb_mirface(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_DRAWABLE, GED_ERROR, GED_HELP, and ged::ged_result_str.

Here is the call graph for this function:

int ged_edcolor ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Text edit the color table

Definition at line 248 of file color.c.

References bu_vls_printf(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_READ_ONLY, GED_ERROR, and ged::ged_result_str.

Here is the call graph for this function:

int ged_edcodes ( struct ged gedp,
int  argc,
const char *  argv[] 
)
int ged_edcomb ( struct ged gedp,
int  argc,
const char *  argv[] 
)
int ged_edit ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Edit objects, by using subcommands.

A command line interface to the edit commands. Will handle any new commands without modification. Validates as much as possible in a single pass, without going back over the arguments list. Further, more specific, validation is performed by edit().

Definition at line 1965 of file edit.c.

References edit_cmd_tab::add_cl_args, edit_cmd::args, BU_ALLOC, BU_ASSERT, bu_getopt(), bu_optarg, bu_opterr, bu_optind, bu_optopt, BU_STR_EQUAL, bu_vls_printf(), bu_vls_trunc(), edit_arg::cl_options, edit_cmd::cmd, edit_cmd::cmd_line, edit_arg::coords_used, edit(), EDIT_ABS_POS, edit_arg_free(), edit_arg_free_last(), edit_arg_init(), edit_arg_is_empty(), edit_arg_postfix_new(), edit_cmd_consolidate(), edit_cmd_free(), edit_cmd_init(), EDIT_COORD_X, EDIT_COORD_Y, EDIT_COORD_Z, EDIT_COORDS_ALL, EDIT_FROM, EDIT_MAX_ARG_OPTIONS, EDIT_NATURAL_ORIGIN, EDIT_REL_DIST, edit_strs_to_arg(), EDIT_TARGET_OBJ, EDIT_TO, edit_cmd_tab::enabled, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_READ_ONLY, GED_ERROR, GED_HELP, GED_OK, GED_QUIET, ged::ged_result_str, edit_cmd_tab::help, edit_cmd_tab::name, edit_arg::next, edit_arg::object, edit_arg::type, usage(), and edit_cmd_tab::usage.

Here is the call graph for this function:

int ged_editit ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Edit file.

Definition at line 254 of file editit.c.

References _ged_editit(), bu_free(), bu_strdup, bu_vls_printf(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_ERROR, and ged::ged_result_str.

Here is the call graph for this function:

int ged_edmater ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Edit combination materials.

Command relies on rmater, editit, and wmater commands.

Definition at line 38 of file edmater.c.

References _ged_editit(), bu_file_delete(), bu_free(), bu_getopt(), bu_malloc(), bu_optarg, bu_optind, bu_temp_file(), bu_vls_printf(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_READ_ONLY, GED_ERROR, GED_HELP, ged::ged_result_str, ged_rmater(), ged_wmater(), MAXPATHLEN, and usage().

Here is the call graph for this function:

int ged_ev ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Evaluate objects via NMG tessellation

Definition at line 1219 of file draw.c.

References _GED_DRAW_NMG_POLY, and ged_draw_guts().

Here is the call graph for this function:

int ged_eye ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Set/get the eye point

Definition at line 36 of file eye.c.

References bn_decode_vect(), bn_encode_vect(), bu_vls_printf(), bu_vls_trunc(), db_i::dbi_base2local, db_i::dbi_local2base, rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_VIEW, GED_ERROR, ged::ged_gvp, GED_OK, ged::ged_result_str, ged_view_update(), ged::ged_wdbp, bview::gv_center, bview::gv_view2model, usage(), VSET, X, Y, and Z.

Referenced by ged_view_func().

Here is the call graph for this function:

int ged_eye_pos ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Set/get the eye position

Definition at line 36 of file eye_pos.c.

References bn_decode_vect(), bn_encode_vect(), bu_vls_printf(), bu_vls_trunc(), db_i::dbi_base2local, db_i::dbi_local2base, rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_VIEW, GED_ERROR, ged::ged_gvp, GED_OK, ged::ged_result_str, ged_view_update(), ged::ged_wdbp, bview::gv_eye_pos, bview::gv_pmat, mike_persp_mat(), usage(), X, Y, and Z.

Here is the call graph for this function:

int ged_exists ( struct ged gedp,
int  argc,
const char *  argv_orig[] 
)

Checks to see if the specified database object exists.

Checks for the existence of a specified object.

Definition at line 444 of file exists.c.

References bu_dup_argv(), bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), bu_vls_strlen(), bu_vls_trunc(), EXISTS_DATA_INIT_ZERO, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, exists_data::gedp, exists_data::message, exists_data::t_wp, exists_data::t_wp_op, and usage().

Here is the call graph for this function:

int ged_expand ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Globs expression against database objects

Definition at line 57 of file expand.c.

References bu_fnmatch(), bu_vls_printf(), bu_vls_trunc(), directory::d_forw, directory::d_namep, db_lookup(), db_i::dbi_Head, rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, LOOKUP_QUIET, RT_DBNHASH, RT_DIR_NULL, and usage().

Here is the call graph for this function:

int ged_fb2pix ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Fb2pix writes a framebuffer image to a .pix file.

Definition at line 103 of file fb2pix.c.

References BRLCAD_OK, bu_vls_printf(), bu_vls_trunc(), fb_write_fp(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_FBSERV, GED_CHECK_FBSERV_FBP, GED_ERROR, ged::ged_fbsp, GED_HELP, GED_OK, ged::ged_result_str, get_args(), outfp, screen_height, screen_width, and usage().

Here is the call graph for this function:

int ged_fbclear ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Fclear clears a framebuffer.

Definition at line 48 of file fbclear.c.

References BLU, bu_log(), bu_vls_printf(), bu_vls_trunc(), fb_clear(), FB_CONSTRAIN, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_FBSERV, GED_CHECK_FBSERV_FBP, GED_ERROR, ged::ged_fbsp, GED_OK, ged::ged_result_str, GRN, RED, and usage().

Here is the call graph for this function:

int ged_find ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Find combinations that reference object

Definition at line 64 of file find.c.

References bu_getopt(), bu_optind, bu_vls_printf(), bu_vls_trunc(), directory::d_flags, directory::d_forw, directory::d_namep, db_tree_funcleaf(), db_i::dbi_Head, rt_wdb::dbip, find_ref(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, rt_db_internal::idb_ptr, rt_db_free_internal(), rt_db_get_internal(), RT_DBNHASH, RT_DIR_COMB, RT_DIR_HIDDEN, RT_DIR_NULL, rt_uniresource, rt_comb_internal::tree, and usage().

Here is the call graph for this function:

int ged_find_arb_edge_nearest_pt ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Find the arb edge nearest the specified point in view coordinates.

Definition at line 236 of file move_arb_edge.c.

References bu_sscanf(), bu_vls_printf(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_VIEW, GED_ERROR, ged::ged_gvp, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, bview::gv_model2view, rt_db_internal::idb_major_type, rt_db_internal::idb_minor_type, rt_arb_find_e_nearest_pt2(), rt_db_free_internal(), usage(), wdb_import_from_path2(), X, Y, and Z.

Referenced by to_mouse_find_arb_edge().

Here is the call graph for this function:

int ged_find_bot_edge_nearest_pt ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Find the bot edge nearest the specified point in view coordinates.

Definition at line 294 of file edbot.c.

References bu_sscanf(), bu_vls_printf(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_VIEW, GED_ERROR, ged::ged_gvp, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, bview::gv_model2view, rt_db_internal::idb_major_type, rt_db_internal::idb_minor_type, rt_db_internal::idb_ptr, rt_bot_find_e_nearest_pt2(), rt_db_free_internal(), usage(), wdb_import_from_path2(), X, Y, and Z.

Referenced by to_mouse_find_bot_edge().

Here is the call graph for this function:

int ged_find_botpt_nearest_pt ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Find the bot point nearest the specified point in view coordinates.

Definition at line 353 of file edbot.c.

References bu_sscanf(), bu_vls_printf(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_VIEW, GED_ERROR, ged::ged_gvp, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, bview::gv_model2view, rt_db_internal::idb_major_type, rt_db_internal::idb_minor_type, rt_db_internal::idb_ptr, rt_bot_find_v_nearest_pt2(), rt_db_free_internal(), usage(), wdb_import_from_path2(), X, Y, and Z.

Referenced by to_mouse_find_botpt().

Here is the call graph for this function:

int ged_add_metaballpt ( struct ged gedp,
int  argc,
const char *  argv[] 
)
int ged_delete_metaballpt ( struct ged gedp,
int  argc,
const char *  argv[] 
)
int ged_find_metaballpt_nearest_pt ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Find the metaball point nearest the specified point in model coordinates.

Definition at line 198 of file edit_metaball.c.

References _ged_get_metaball_i_pt(), bu_vls_printf(), bu_vls_trunc(), db_lookup(), rt_wdb::dbip, find_metaballpt_nearest_pt(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_VIEW, GED_ERROR, ged::ged_gvp, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, bview::gv_view2model, rt_db_internal::idb_ptr, LOOKUP_QUIET, rt_db_free_internal(), RT_DIR_NULL, usage(), wdb_import_from_path2(), X, Y, and Z.

Referenced by to_mouse_find_metaballpt().

Here is the call graph for this function:

int ged_move_metaballpt ( struct ged gedp,
int  argc,
const char *  argv[] 
)
int ged_find_pipept_nearest_pt ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Find the pipe point nearest the specified point in model coordinates.

Definition at line 769 of file edpipe.c.

References _ged_get_pipe_i_seg(), bu_vls_printf(), bu_vls_trunc(), db_lookup(), rt_wdb::dbip, find_pipept_nearest_pt(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_VIEW, GED_ERROR, ged::ged_gvp, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, bview::gv_view2model, rt_db_internal::idb_ptr, LOOKUP_QUIET, rt_db_free_internal(), RT_DIR_NULL, usage(), wdb_import_from_path2(), X, Y, and Z.

Referenced by to_mouse_find_pipept().

Here is the call graph for this function:

int ged_form ( struct ged gedp,
int  argc,
const char *  argv[] 
)

returns form for objects of type "type"

Definition at line 36 of file form.c.

References bu_vls_printf(), bu_vls_trunc(), rt_functab::ft_form, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_ERROR, GED_HELP, ged::ged_result_str, rt_get_functab_by_label(), and usage().

Here is the call graph for this function:

int ged_fracture ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Given an NMG solid, break it up into several NMG solids, each containing a single shell with a single sub-element.

Definition at line 87 of file fracture.c.

References bn_mat_identity, BU_LIST_FIRST, BU_LIST_FOR, bu_strlcat, bu_strlcpy, bu_vls_printf(), bu_vls_trunc(), db_lookup(), rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_READ_ONLY, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, ID_NMG, rt_db_internal::idb_ptr, LOOKUP_NOISY, memset(), NMG_CK_SHELL(), nmg_count_shell_kids(), nmg_dup_face(), nmg_mm(), nmg_mrsv(), nmg_vertex_gv(), rt_db_free_internal(), rt_db_get_internal(), RT_DIR_NULL, rt_uniresource, s, usage(), and OSL::Strings::v.

Here is the call graph for this function:

int ged_gdiff ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Calculate a geometry diff

Definition at line 42 of file gdiff.c.

References bu_getopt(), bu_log(), bu_optarg, bu_opterr, bu_optind, bu_optopt, bu_vls_addr(), BU_VLS_INIT_ZERO, bu_vls_printf(), bu_vls_sprintf(), bu_vls_trunc(), gdiff_usage(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_ERROR, GED_OK, and ged::ged_result_str.

Here is the call graph for this function:

int ged_get ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Get object attributes

Definition at line 36 of file get.c.

References bu_vls_printf(), bu_vls_trunc(), rt_wdb::dbip, rt_functab::ft_get, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_ERROR, GED_HELP, ged::ged_result_str, ged::ged_wdbp, rt_db_internal::idb_meth, rt_db_free_internal(), usage(), and wdb_import_from_path().

Referenced by to_mouse_joint_selection_translate().

Here is the call graph for this function:

int ged_get_autoview ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Get view size and center such that all displayed solids would be in view

Definition at line 40 of file get_autoview.c.

References bu_getopt(), bu_optind, bu_vls_printf(), bu_vls_trunc(), db_i::dbi_base2local, rt_wdb::dbip, dl_bounding_sph(), ged_drawable::gd_headDisplay, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_DRAWABLE, GED_ERROR, ged::ged_gdp, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, SQRT_SMALL_FASTF, V3ARGS, VSETALL, X, Y, and Z.

Here is the call graph for this function:

int ged_get_bot_edges ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Get a bot's edges

Definition at line 413 of file edbot.c.

References bu_free(), bu_vls_printf(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, rt_db_internal::idb_major_type, rt_db_internal::idb_minor_type, rt_db_internal::idb_ptr, if(), rt_bot_get_edge_list(), rt_db_free_internal(), usage(), and wdb_import_from_path2().

Here is the call graph for this function:

int ged_get_eyemodel ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Get the viewsize, orientation and eye point.

Definition at line 40 of file get_eyemodel.c.

References _ged_rt_set_eye_model(), bu_vls_printf(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_DRAWABLE, GED_CHECK_VIEW, GED_ERROR, ged::ged_gvp, GED_OK, ged::ged_result_str, bview::gv_rotation, bview::gv_size, quat_mat2quat(), X, Y, and Z.

Here is the call graph for this function:

int ged_get_type ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Get the object's type

Definition at line 36 of file get_type.c.

References bu_vls_printf(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, rt_db_internal::idb_major_type, rt_db_internal::idb_minor_type, rt_arb_std_type(), rt_db_free_internal(), usage(), wdb_import_from_path(), and rt_wdb::wdb_tol.

Here is the call graph for this function:

int ged_glob ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Globs expression against the database

Definition at line 86 of file glob.c.

References bu_fnmatch(), bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), bu_vls_putc(), bu_vls_strcat(), bu_vls_trunc(), bu_vls_vlscat(), directory::d_forw, directory::d_namep, db_i::dbi_Head, DBI_NULL, rt_wdb::dbip, GED_ERROR, GED_HELP, GED_NULL, GED_OK, ged::ged_result_str, ged::ged_wdbp, RT_DBNHASH, RT_DIR_NULL, RT_WDB_NULL, and usage().

Here is the call graph for this function:

int ged_gqa ( struct ged gedp,
int  argc,
const char *  argv[] 
)
int ged_graph ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Query or manipulate properties of a graph.

Dummy graph function in case no Adaptagrams library is found.

Definition at line 811 of file dag.cpp.

References bu_vls_printf(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_ERROR, and ged::ged_result_str.

Here is the call graph for this function:

int ged_grid ( struct ged gedp,
int  argc,
const char *  argv[] 
)
int ged_grid2model_lu ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Convert grid coordinates to model coordinates.

Definition at line 36 of file grid2model_lu.c.

References bn_encode_vect(), bu_vls_printf(), bu_vls_trunc(), db_i::dbi_base2local, rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_VIEW, GED_ERROR, ged::ged_gvp, GED_OK, ged::ged_result_str, ged::ged_wdbp, bview::gv_model2view, bview::gv_scale, bview::gv_view2model, usage(), VSETALL, X, Y, and Z.

Here is the call graph for this function:

int ged_grid2view_lu ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Convert grid coordinates to view coordinates.

Definition at line 36 of file grid2view_lu.c.

References bn_encode_vect(), bu_vls_printf(), bu_vls_trunc(), db_i::dbi_base2local, rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_VIEW, GED_ERROR, ged::ged_gvp, GED_OK, ged::ged_result_str, ged::ged_wdbp, bview::gv_model2view, bview::gv_scale, usage(), VSETALL, X, Y, and Z.

Here is the call graph for this function:

int ged_group ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Create or append objects to a group

Definition at line 37 of file group.c.

References _ged_combadd2(), bu_vls_printf(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_READ_ONLY, GED_ERROR, GED_HELP, ged::ged_result_str, usage(), and WMOP_UNION.

Here is the call graph for this function:

int ged_hide ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Set the "hidden" flag for the specified objects so they do not appear in an "ls" command output

Definition at line 36 of file hide.c.

References BU_EXTERNAL_INIT, bu_free_external(), bu_vls_printf(), bu_vls_trunc(), directory::d_flags, directory::d_namep, db5_export_object3(), db5_get_raw_internal_ptr(), db_get_external(), db_lookup(), db_put_external(), db_version(), rt_wdb::dbip, bu_external::ext_buf, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_READ_ONLY, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, LOOKUP_NOISY, RT_CK_DIR, RT_DIR_HIDDEN, RT_DIR_NULL, and usage().

Here is the call graph for this function:

int ged_how ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Returns how an object is being displayed

Definition at line 45 of file how.c.

References _ged_build_dpp(), OSL::Strings::both, bu_free(), bu_vls_printf(), bu_vls_trunc(), dl_how(), ged_drawable::gd_headDisplay, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_DRAWABLE, GED_ERROR, ged::ged_gdp, GED_HELP, GED_OK, ged::ged_result_str, and usage().

Referenced by redraw_edited_path(), and to_mouse_joint_selection_translate().

Here is the call graph for this function:

int ged_human ( struct ged gedp,
int  ac,
const char *  av[] 
)

Create a human

ged_human is the function which is called from an outside function in the /shapes directory. It's essentially a main function without main.

Make the Regions (.r's) of the body

Definition at line 2186 of file human.c.

References BU_LIST_INIT, bu_log(), bu_strlcat, bu_strlcpy, bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, DEFAULT_HEIGHT_INCHES, GED_CHECK_DATABASE_OPEN, GED_CHECK_EXISTS, GED_CHECK_READ_ONLY, GED_ERROR, GED_OK, ged::ged_wdbp, getText(), human_data_t::height, humanName, wmember::l, LOOKUP_QUIET, makeArmy(), makeBody(), MAXLENGTH, memset(), mk_addmember(), mk_id_units(), mk_lcomb, read_args(), OSL::Strings::rgb, setStance(), text(), human_data_t::textread, human_data_t::textwrite, time(), verbIn(), verbose(), human_data_t::verbread, human_data_t::verbwrite, VSET, WMOP_SUBTRACT, WMOP_UNION, X, Y, and Z.

Here is the call graph for this function:

int ged_illum ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Illuminate/highlight database object.

Definition at line 41 of file illum.c.

References BU_LIST_NEXT, BU_LIST_NOT_HEAD, BU_LIST_PNEXT, bu_vls_printf(), bu_vls_trunc(), dl_set_illum(), ged_drawable::gd_headDisplay, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_DRAWABLE, GED_ERROR, ged::ged_gdp, GED_HELP, GED_OK, ged::ged_result_str, and usage().

Here is the call graph for this function:

int ged_in ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Create a primitive via keyboard.

Definition at line 2912 of file typein.c.

References BU_STR_EQUAL, bu_strncmp(), bu_vls_printf(), bu_vls_trunc(), db_diradd(), db_lookup(), db_version(), rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_READ_ONLY, GED_ERROR, GED_MORE, GED_OK, ged::ged_result_str, ged::ged_wdbp, rt_db_internal::idb_ptr, LOOKUP_QUIET, rt_db_free_internal(), RT_DB_INTERNAL_INIT, rt_db_put_internal(), RT_DIR_NULL, RT_DIR_PHONY_ADDR, RT_DIR_SOLID, and rt_uniresource.

Here is the call graph for this function:

int ged_inside ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Finds the inside primitive per the specified thickness.

Definition at line 1157 of file inside.c.

References bn_mat_identity, bu_vls_printf(), bu_vls_trunc(), directory::d_namep, db_lookup(), rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_READ_ONLY, GED_ERROR, ged_inside_internal(), GED_MORE, ged::ged_result_str, ged::ged_wdbp, LOOKUP_QUIET, rt_db_get_internal(), RT_DB_INTERNAL_INIT, RT_DIR_NULL, and rt_uniresource.

Here is the call graph for this function:

int ged_instance ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Add instance of obj to comb

Definition at line 37 of file instance.c.

References _ged_combadd(), bu_vls_printf(), bu_vls_trunc(), db_lookup(), DB_OP_NULL, db_str2op(), rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_READ_ONLY, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, LOOKUP_NOISY, RT_DIR_NULL, usage(), and WMOP_UNION.

Here is the call graph for this function:

int ged_isize ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Returns the inverse view size.

Definition at line 36 of file isize.c.

References bu_vls_printf(), bu_vls_trunc(), db_i::dbi_base2local, rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_VIEW, GED_ERROR, ged::ged_gvp, GED_OK, ged::ged_result_str, ged::ged_wdbp, and bview::gv_isize.

Here is the call graph for this function:

int ged_item ( struct ged gedp,
int  argc,
const char *  argv[] 
)
int ged_joint ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Joint command ported to the libged library.

Definition at line 3520 of file joint.c.

References bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_ERROR, GED_OK, ged::ged_result_str, and joint_tab.

Here is the call graph for this function:

int ged_joint2 ( struct ged gedp,
int  argc,
const char *  argv[] 
)
int ged_keypoint ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Set/get the keypoint

Definition at line 36 of file keypoint.c.

References bn_decode_vect(), bn_encode_vect(), bu_vls_printf(), bu_vls_trunc(), db_i::dbi_base2local, db_i::dbi_local2base, rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_VIEW, GED_ERROR, ged::ged_gvp, GED_OK, ged::ged_result_str, ged::ged_wdbp, bview::gv_keypoint, usage(), X, Y, and Z.

Here is the call graph for this function:

int ged_kill ( struct ged gedp,
int  argc,
const char *  argv[] 
)
int ged_killall ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Kill/delete the specified objects from the database, removing all references

Definition at line 36 of file killall.c.

References bu_vls_printf(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_DRAWABLE, GED_CHECK_READ_ONLY, GED_ERROR, GED_HELP, ged::ged_internal_call, ged_kill(), ged_killrefs(), GED_OK, ged::ged_result_str, and usage().

Here is the call graph for this function:

int ged_killrefs ( struct ged gedp,
int  argc,
const char *  argv[] 
)
int ged_killtree ( struct ged gedp,
int  argc,
const char *  argv[] 
)
int ged_list ( struct ged gedp,
int  argc,
const char *  argv[] 
)
int ged_loadview ( struct ged gedp,
int  argc,
const char *  argv[] 
)
int ged_lod ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Configure Level of Detail drawing.

Definition at line 38 of file lod.c.

References BU_STR_EQUAL, bu_vls_printf(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_READ_ONLY, GED_ERROR, ged::ged_gvp, GED_HELP, GED_OK, ged::ged_result_str, bview::gv_adaptive_plot, bview::gv_curve_scale, bview::gv_point_scale, bview::gv_redraw_on_zoom, and usage().

Here is the call graph for this function:

int ged_log ( struct ged gedp,