Geometry EDiting Library specific definitions.
◆ GED_VMIN
◆ GED_VMAX
◆ GED_VRANGE
#define GED_VRANGE 4095.0 |
◆ INV_GED_V
#define INV_GED_V 0.00048828125 |
◆ INV_4096_V
#define INV_4096_V 0.000244140625 |
◆ GED_NULL
#define GED_NULL ((struct ged *)0) |
◆ GED_DISPLAY_LIST_NULL
◆ GED_DRAWABLE_NULL
◆ GED_VIEW_NULL
#define GED_VIEW_NULL ((struct bview *)0) |
◆ GED_RESULT_NULL
#define GED_RESULT_NULL ((void *)0) |
◆ GED_HELP
invalid specification, result contains usage
Definition at line 71 of file defines.h.
◆ GED_MORE
incomplete specification, can specify again interactively
Definition at line 72 of file defines.h.
◆ GED_QUIET
don't set or modify the result string
Definition at line 73 of file defines.h.
◆ GED_UNKNOWN
#define GED_UNKNOWN 0x0010 |
argv[0] was not a known command
Definition at line 74 of file defines.h.
◆ GED_EXIT
command is requesting a clean application shutdown
Definition at line 75 of file defines.h.
◆ GED_FUNC_PTR_NULL
◆ GED_SEM_WORKER
#define GED_SEM_WORKER ANALYZE_SEM_LAST |
Definition of global parallel-processing semaphores.
Definition at line 96 of file defines.h.
◆ GED_SEM_STATS
◆ GED_SEM_LIST
◆ GED_SEM_LAST
◆ GED_INIT
#define GED_INIT |
( |
|
_gedp, |
|
|
|
_wdbp |
|
) |
| |
Value: { \
ged_init((_gedp)); \
(_gedp)->dbip = NULL; \
if ((
struct rt_wdb *)(_wdbp) != NULL) {\
(_gedp)->dbip = ((
struct rt_wdb *)(_wdbp))->dbip; \
} \
}
Definition at line 101 of file defines.h.
◆ GED_INITIALIZED
#define GED_INITIALIZED |
( |
|
_gedp | ) |
((_gedp)->dbip != NULL) |
◆ GED_LOCAL2BASE
#define GED_LOCAL2BASE |
( |
|
_gedp | ) |
((_gedp)->dbip->dbi_local2base) |
◆ GED_BASE2LOCAL
#define GED_BASE2LOCAL |
( |
|
_gedp | ) |
((_gedp)->dbip->dbi_base2local) |
◆ GED_MAX
◆ GED_MIN
◆ GED_RANGE
◆ INV_GED
#define INV_GED 0.00048828125 |
◆ INV_4096
#define INV_4096 0.000244140625 |
◆ RT_VDRW_PREFIX
#define RT_VDRW_PREFIX "_VDRW" |
◆ RT_VDRW_PREFIX_LEN
#define RT_VDRW_PREFIX_LEN 6 |
◆ RT_VDRW_MAXNAME
#define RT_VDRW_MAXNAME 31 |
◆ RT_VDRW_DEF_COLOR
#define RT_VDRW_DEF_COLOR 0xffff00 |
◆ VD_CURVE_NULL
#define VD_CURVE_NULL ((struct vd_curve *)NULL) |
◆ GED_CHECK_ARGC_GT_0
#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); \
}
make sure there is a command name given
- Todo:
-
Definition at line 358 of file defines.h.
◆ ged_func_ptr
typedef int(* ged_func_ptr) (struct ged *, int, const char *[]) |
◆ ged_io_func_t
typedef void(* ged_io_func_t) (void *, int) |
◆ ged_refresh_func_t
typedef void(* ged_refresh_func_t) (void *) |
◆ ged_create_vlist_solid_func_t
typedef void(* ged_create_vlist_solid_func_t) (struct bv_scene_obj *) |
◆ ged_create_vlist_display_list_func_t
typedef void(* ged_create_vlist_display_list_func_t) (struct display_list *) |
◆ ged_destroy_vlist_func_t
typedef void(* ged_destroy_vlist_func_t) (unsigned int, int) |
◆ ged_results_count()
size_t ged_results_count |
( |
struct ged_results * |
results | ) |
|
◆ ged_results_get()
const char * ged_results_get |
( |
struct ged_results * |
results, |
|
|
size_t |
index |
|
) |
| |
◆ ged_results_clear()
void ged_results_clear |
( |
struct ged_results * |
results | ) |
|
◆ ged_results_free()
void ged_results_free |
( |
struct ged_results * |
results | ) |
|
◆ ged_close()
void ged_close |
( |
struct ged * |
gedp | ) |
|
◆ ged_free()
void ged_free |
( |
struct ged * |
gedp | ) |
|
◆ ged_init()
void ged_init |
( |
struct ged * |
gedp | ) |
|
◆ ged_open()
struct ged * ged_open |
( |
const char * |
dbtype, |
|
|
const char * |
filename, |
|
|
int |
existing_only |
|
) |
| |
◆ ged_init_msgs()
const char * ged_init_msgs |
( |
void |
| ) |
|