43#define GED_CHECK_DRAWABLE(_gedp, _flags) \
44 if (_gedp->ged_gdp == GED_DRAWABLE_NULL) { \
45 int ged_check_drawable_quiet = (_flags) & GED_QUIET; \
46 if (!ged_check_drawable_quiet) { \
47 bu_vls_trunc((_gedp)->ged_result_str, 0); \
48 bu_vls_printf((_gedp)->ged_result_str, "A drawable does not exist."); \
54#define GED_CHECK_VIEW(_gedp, _flags) \
55 if (_gedp->ged_gvp == GED_VIEW_NULL) { \
56 int ged_check_view_quiet = (_flags) & GED_QUIET; \
57 if (!ged_check_view_quiet) { \
58 bu_vls_trunc((_gedp)->ged_result_str, 0); \
59 bu_vls_printf((_gedp)->ged_result_str, "A view does not exist."); \
78GED_EXPORT
extern int invent_solid(
struct ged *gedp,
char *name,
struct bu_list *vhead,
long int rgb,
int copy,
fastf_t transparency,
int dmode,
int csoltab);
83GED_EXPORT
extern int ged_grid(
struct ged *gedp,
int argc,
const char *argv[]);
98GED_EXPORT
extern int ged_overlay(
struct ged *gedp,
int argc,
const char *argv[]);
103GED_EXPORT
extern int ged_plot(
struct ged *gedp,
int argc,
const char *argv[]);
108GED_EXPORT
extern int ged_png(
struct ged *gedp,
int argc,
const char *argv[]);
114GED_EXPORT
extern int ged_ps(
struct ged *gedp,
int argc,
const char *argv[]);
130GED_EXPORT
extern int ged_tree(
struct ged *gedp,
int argc,
const char *argv[]);
136GED_EXPORT
extern int ged_vdraw(
struct ged *gedp,
int argc,
const char *argv[]);
Header file for the BRL-CAD common definitions.
int ged_vdraw(struct ged *gedp, int argc, const char *argv[])
int ged_grid2view_lu(struct ged *gedp, int argc, const char *argv[])
int ged_screen_grab(struct ged *gedp, int argc, const char *argv[])
void ged_polygon_fill_segments(struct ged *gedp, struct bg_polygon *poly, vect2d_t vfilldir, fastf_t vfilldelta)
int ged_polygons_overlap(struct ged *gedp, struct bg_polygon *polyA, struct bg_polygon *polyB)
void dl_set_iflag(struct bu_list *hdlp, int iflag)
int ged_saveview(struct ged *gedp, int argc, const char *argv[])
int ged_tree(struct ged *gedp, int argc, const char *argv[])
int invent_solid(struct ged *gedp, char *name, struct bu_list *vhead, long int rgb, int copy, fastf_t transparency, int dmode, int csoltab)
int ged_export_polygon(struct ged *gedp, bv_data_polygon_state *gdpsp, size_t polygon_i, const char *sname)
unsigned long long ged_dl_hash(struct display_list *dl)
int ged_grid2model_lu(struct ged *gedp, int argc, const char *argv[])
int ged_ps(struct ged *gedp, int argc, const char *argv[])
int ged_grid(struct ged *gedp, int argc, const char *argv[])
int ged_set_uplotOutputMode(struct ged *gedp, int argc, const char *argv[])
void dl_color_soltab(struct bu_list *hdlp)
struct display_list * dl_addToDisplay(struct bu_list *hdlp, struct db_i *dbip, const char *name)
int ged_solid_report(struct ged *gedp, int argc, const char *argv[])
struct bg_polygon * ged_import_polygon(struct ged *gedp, const char *sname)
int ged_plot(struct ged *gedp, int argc, const char *argv[])
void dl_erasePathFromDisplay(struct ged *gedp, const char *path, int allow_split)
int ged_view_func(struct ged *gedp, int argc, const char *argv[])
int ged_overlay(struct ged *gedp, int argc, const char *argv[])
int ged_png(struct ged *gedp, int argc, const char *argv[])
double fastf_t
fastest 64-bit (or larger) floating point type
fastf_t vect2d_t[ELEMENTS_PER_VECT2D]
2-tuple vector
struct db_full_path s_fullpath