BRL-CAD
Loading...
Searching...
No Matches
#include "common.h"
#include "ged/defines.h"
Include dependency graph for commands.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int ged_exec (struct ged *gedp, int argc, const char *argv[])
 
size_t ged_cmd_list (const char *const **cmd_list)
 
int ged_cmd_exists (const char *cmd)
 
int ged_cmd_same (const char *cmd1, const char *cmd2)
 
DEPRECATED int ged_cmd_valid (const char *cmd, const char *func)
 
int ged_cmd_lookup (const char **ncmd, const char *cmd)
 
int ged_cmd_completions (const char ***completions, const char *seed)
 
int ged_geom_completions (const char ***completions, struct bu_vls *cprefix, struct db_i *dbip, const char *seed)
 
int ged_set_editor (struct ged *gedp, int non_gui)
 
void ged_clear_editor (struct ged *gedp)
 
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[])
 
int ged_inside_internal (struct ged *gedp, struct rt_db_internal *ip, int argc, const char *argv[], int arg, char *o_name)
 
void draw_scene (struct bv_scene_obj *s, struct bview *v)
 

Function Documentation

◆ ged_cmd_list()

size_t ged_cmd_list ( const char *const **  cmd_list)

◆ ged_cmd_exists()

int ged_cmd_exists ( const char cmd)

◆ ged_cmd_same()

int ged_cmd_same ( const char cmd1,
const char cmd2 
)

◆ ged_cmd_valid()

DEPRECATED int ged_cmd_valid ( const char cmd,
const char func 
)

◆ ged_cmd_lookup()

int ged_cmd_lookup ( const char **  ncmd,
const char cmd 
)
extern

◆ ged_cmd_completions()

int ged_cmd_completions ( const char ***  completions,
const char seed 
)
extern

◆ ged_geom_completions()

int ged_geom_completions ( const char ***  completions,
struct bu_vls cprefix,
struct db_i dbip,
const char seed 
)
extern

◆ ged_set_editor()

int ged_set_editor ( struct ged gedp,
int  non_gui 
)
extern

Use bu_editor to set up an editor for use with GED commands that require launching a text editor.

Will first try to respect environment variables (including looking for terminal options to launch text editors normally used only in graphical mode) and then fall back to lookups.

Applications may supply their own argv array of editors to check using app_editors_cnt and app_editors in the ged struct - see bu_editor documentation for more details.

◆ ged_clear_editor()

void ged_clear_editor ( struct ged gedp)
extern

Clear editor data set by ged_set_editor. User specified app_editors data is left unchanged.

◆ ged_track2()

int ged_track2 ( struct bu_vls log_str,
struct rt_wdb wdbp,
const char argv[] 
)
extern

◆ wdb_importFg4Section_cmd()

int wdb_importFg4Section_cmd ( void data,
int  argc,
const char argv[] 
)

◆ ged_inside_internal()

int ged_inside_internal ( struct ged gedp,
struct rt_db_internal ip,
int  argc,
const char argv[],
int  arg,
char o_name 
)
extern

◆ draw_scene()

void draw_scene ( struct bv_scene_obj s,
struct bview v 
)