BRL-CAD
|
Files | |
file | database.h |
Macros | |
#define | GED_CHECK_DATABASE_OPEN(_gedp, _flags) |
Functions | |
int | ged_title (struct ged *gedp, int argc, const char *argv[]) |
size_t | ged_who_argc (struct ged *gedp) |
int | ged_who_argv (struct ged *gedp, char **start, const char **end) |
int | ged_tops (struct ged *gedp, int argc, const char *argv[]) |
int | ged_dbip (struct ged *gedp, int argc, const char *argv[]) |
int | ged_dump (struct ged *gedp, int argc, const char *argv[]) |
int | ged_find (struct ged *gedp, int argc, const char *argv[]) |
int | ged_glob (struct ged *gedp, int argc, const char *argv[]) |
int | ged_concat (struct ged *gedp, int argc, const char *argv[]) |
int | ged_dup (struct ged *gedp, int argc, const char *argv[]) |
int | ged_edcolor (struct ged *gedp, int argc, const char *argv[]) |
int | ged_editit (struct ged *gedp, int argc, const char *argv[]) |
int | ged_ls (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_showmats (struct ged *gedp, int argc, const char *argv[]) |
int | ged_path_validate (struct ged *gedp, const struct db_full_path *const path) |
int | ged_rmap (struct ged *gedp, int argc, const char *argv[]) |
int | ged_tol (struct ged *gedp, int argc, const char *argv[]) |
int | ged_units (struct ged *gedp, int argc, const char *argv[]) |
int | ged_version (struct ged *gedp, int argc, const char *argv[]) |
int | ged_wcodes (struct ged *gedp, int argc, const char *argv[]) |
int | ged_dbcopy (struct ged *from_gedp, struct ged *to_gedp, const char *from, const char *to, int fflag) |
int | ged_expand (struct ged *gedp, int argc, const char *argv[]) |
int | ged_item (struct ged *gedp, int argc, const char *argv[]) |
int | ged_reopen (struct ged *gedp, int argc, const char *argv[]) |
int | ged_rcodes (struct ged *gedp, int argc, const char *argv[]) |
int | ged_regdef (struct ged *gedp, int argc, const char *argv[]) |
int | ged_search (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_which (struct ged *gedp, int argc, const char *argv[]) |
int | ged_which_shader (struct ged *gedp, int argc, const char *argv[]) |
int | ged_color (struct ged *gedp, int argc, const char *argv[]) |
int | ged_prcolor (struct ged *gedp, int argc, const char *argv[]) |
int | ged_set_output_script (struct ged *gedp, int argc, const char *argv[]) |
int | ged_lint (struct ged *gedp, int argc, const char *argv[]) |
int | ged_env (struct ged *gedp, int argc, const char *argv[]) |
int | ged_process (struct ged *gedp, int argc, const char *argv[]) |
Geometry EDiting Library Database Level Functions.
#define GED_CHECK_DATABASE_OPEN | ( | _gedp, | |
_flags | |||
) |
Check if a database is open
Definition at line 37 of file database.h.
int ged_title | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Set/get the database title
size_t ged_who_argc | ( | struct ged * | gedp | ) |
Return a count of objects displayed
int ged_who_argv | ( | struct ged * | gedp, |
char ** | start, | ||
const char ** | end | ||
) |
Return a list of names of objects displayed
int ged_tops | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Find all top level objects
int ged_dbip | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Get dbip
int ged_dump | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Dump a full copy of the database into file.g
int ged_find | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Find combinations that reference object
int ged_glob | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Globs expression against the database
int ged_concat | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Import a database into the current database using an auto-incrementing or custom affix
int ged_dup | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Check for duplicate names in file
int ged_edcolor | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Text edit the color table
int ged_editit | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Edit file.
int ged_ls | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
List the objects in this database
int ged_pathlist | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
List all paths from name(s) to leaves
int ged_pathsum | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Lists all paths matching the input path
int ged_showmats | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Show the matrix transformations along path
int ged_path_validate | ( | struct ged * | gedp, |
const struct db_full_path *const | path | ||
) |
Checks that each directory in the supplied path actually has the subdirectories that are implied by the path.
int ged_rmap | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Returns a list of id to region name mappings for the entire database.
int ged_tol | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Set/get tessellation and calculation tolerances
int ged_units | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Set/get the database units
int ged_version | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Returns the database version.
int ged_wcodes | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Write region ident codes to filename.
int ged_dbcopy | ( | struct ged * | from_gedp, |
struct ged * | to_gedp, | ||
const char * | from, | ||
const char * | to, | ||
int | fflag | ||
) |
int ged_expand | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Globs expression against database objects
int ged_item | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Set region ident codes.
int ged_reopen | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Open a database
int ged_rcodes | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Read region ident codes from filename.
int ged_regdef | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Change the default region ident codes: item air los mat
int ged_search | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Interface to search functionality (i.e. Unix find for geometry)
int ged_summary | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Count/list primitives/regions/groups
int ged_sync | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Sync up the in-memory database with the on-disk database.
int ged_tables | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
The ged_tables() function serves idents, regions and solids.
Make ascii summary of region idents.
int ged_which | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
The ged_which() function serves both whichair and whichid.
Find the regions with the specified air codes. Find the regions with the specified region ids.
int ged_which_shader | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Return all combinations with the specified shaders.
int ged_color | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Make color entry.
int ged_prcolor | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Print color table
int ged_set_output_script | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Get/set the output handler script
int ged_lint | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Check database objects for errors
int ged_env | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
Interface to environment variables
int ged_process | ( | struct ged * | gedp, |
int | argc, | ||
const char * | argv[] | ||
) |
List and abort subprocesses