|
struct ged * | ged_create (void) |
|
void | ged_destroy (struct ged *) |
|
void | ged_init (struct ged *gedp) |
|
void | ged_free (struct ged *gedp) |
|
int | ged_clbk_set (struct ged *gedp, const char *cmd, int mode, bu_clbk_t f, void *d) |
|
int | ged_clbk_get (bu_clbk_t *f, void **d, struct ged *gedp, const char *cmd, int mode) |
|
int | ged_clbk_exec (struct bu_vls *log, struct ged *gedp, int limit, bu_clbk_t f, int ac, const char **av, void *u1, void *u2) |
|
void | ged_dm_ctx_set (struct ged *gedp, const char *dm_type, void *ctx) |
|
void * | ged_dm_ctx_get (struct ged *gedp, const char *dm_type) |
|
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) |
|
struct ged * | ged_open (const char *dbtype, const char *filename, int existing_only) |
|
void | ged_close (struct ged *gedp) |
|
const char * | ged_init_msgs (void) |
|
Experimental
Geometry EDiting Library structures for reflecting the state of the database and views.
These are used to provide a fast, explicit expression in memory of the database and view states, to allow applications to quickly display hierarchical information and manipulate view data.
We want this to be visible to C++ APIs like libqtcad, so they can reflect the state of the .g hierarchy in their own structures without us or them having to make copies of the data. Pattern this on how we handle ON_Brep
Geometry EDiting Library specific definitions.
◆ GED_DBISTATE_DB_CHANGE
#define GED_DBISTATE_DB_CHANGE 0x01 |
◆ GED_DBISTATE_VIEW_CHANGE
#define GED_DBISTATE_VIEW_CHANGE 0x02 |
◆ GED_NULL
◆ GED_DISPLAY_LIST_NULL
◆ GED_DRAWABLE_NULL
◆ GED_VIEW_NULL
◆ GED_RESULT_NULL
◆ GED_HELP
invalid specification, result contains usage
Definition at line 65 of file defines.h.
◆ GED_MORE
incomplete specification, can specify again interactively
Definition at line 66 of file defines.h.
◆ GED_QUIET
don't set or modify the result string
Definition at line 67 of file defines.h.
◆ GED_UNKNOWN
argv[0] was not a known command
Definition at line 68 of file defines.h.
◆ GED_EXIT
command is requesting a clean application shutdown
Definition at line 69 of file defines.h.
◆ GED_OVERRIDE
used to indicate settings have been overridden
Definition at line 70 of file defines.h.
◆ GED_CK_MAGIC
◆ GED_FUNC_PTR_NULL
◆ GED_SEM_WORKER
Definition of global parallel-processing semaphores.
Definition at line 94 of file defines.h.
◆ GED_SEM_STATS
◆ GED_SEM_LIST
◆ GED_SEM_LAST
◆ GED_INITIALIZED
◆ GED_LOCAL2BASE
◆ GED_BASE2LOCAL
◆ RT_VDRW_PREFIX
#define RT_VDRW_PREFIX "_VDRW" |
◆ RT_VDRW_PREFIX_LEN
◆ RT_VDRW_MAXNAME
◆ RT_VDRW_DEF_COLOR
#define RT_VDRW_DEF_COLOR 0xffff00 |
◆ GED_CHECK_ARGC_GT_0
Value:make sure there is a command name given
@
- Todo:
-
Definition at line 399 of file defines.h.
◆ ged_func_ptr
◆ ged_io_func_t
◆ ged_refresh_func_t
◆ ged_create_vlist_solid_func_t
◆ ged_create_vlist_display_list_func_t
◆ ged_destroy_vlist_func_t
◆ ged_process_ptr
◆ ged_create()
◆ ged_destroy()
◆ ged_init()
◆ ged_free()
◆ ged_clbk_set()
◆ ged_clbk_get()
◆ ged_clbk_exec()
◆ ged_dm_ctx_set()
◆ ged_dm_ctx_get()
◆ ged_results_count()
size_t ged_results_count |
( |
struct ged_results * |
results | ) |
|
|
extern |
◆ ged_results_get()
const char * ged_results_get |
( |
struct ged_results * |
results, |
|
|
size_t |
index |
|
) |
| |
|
extern |
◆ ged_results_clear()
void ged_results_clear |
( |
struct ged_results * |
results | ) |
|
|
extern |
◆ ged_results_free()
void ged_results_free |
( |
struct ged_results * |
results | ) |
|
|
extern |
◆ ged_open()
◆ ged_close()
void ged_close |
( |
struct ged * |
gedp | ) |
|
|
extern |
◆ ged_init_msgs()
◆ struct