BRL-CAD
Collaboration diagram for Object Selection:

Files

file  select.h
 

Data Structures

struct  ged_selection
 
struct  ged_selection_set
 
struct  ged_selection_sets
 

Functions

struct ged_selection_setsged_selection_sets_create (struct ged *gedp)
 
void ged_selection_sets_destroy (struct ged_selection_sets *s)
 
struct ged_selection_setged_selection_set_create (const char *s_name, struct ged *gedp)
 
void ged_selection_set_destroy (struct ged_selection_set *)
 
struct ged_selection_setged_selection_sets_get (struct ged_selection_sets *s, const char *s_path)
 
void ged_selection_sets_put (struct ged_selection_sets *s, const char *s_path)
 
int ged_selection_set_cpy (struct ged_selection_set *to, struct ged_selection_set *from)
 
size_t ged_selection_sets_lookup (struct bu_ptbl *sets, struct ged_selection_sets *s, const char *pattern)
 
int ged_selection_find (struct ged_selection_set *s, const char *s_name)
 
size_t ged_selection_lookup (struct bu_ptbl *matches, struct ged_selection_set *s, const char *s_path)
 
size_t ged_selection_lookup_fp (struct bu_ptbl *matches, struct ged_selection_set *s, struct db_full_path *fp)
 
int ged_selection_set_list (char ***keys, struct ged_selection_set *s)
 
void ged_selection_set_clear (struct ged_selection_set *s)
 
struct ged_selectionged_selection_insert (struct ged_selection_set *s, const char *s_path)
 
struct ged_selectionged_selection_insert_fp (struct ged_selection_set *s, struct db_full_path *fp)
 
struct ged_selectionged_selection_insert_obj (struct ged_selection_set *s, struct bv_scene_obj *o)
 
void ged_selection_remove (struct ged_selection_set *s, const char *s_path)
 
void ged_selection_remove_fp (struct ged_selection_set *s, struct db_full_path *fp)
 
void ged_selection_remove_obj (struct ged_selection_set *s, struct bv_scene_obj *o)
 
int ged_selection_set_expand (struct ged_selection_set *s_out, struct ged_selection_set *s)
 
int ged_selection_set_collapse (struct ged_selection_set *s_out, struct ged_selection_set *s)
 
void ged_selection_assign_objs (struct ged_selection_set *s)
 
void ged_selection_toggle_illum (struct ged_selection_set *s, char ill_state)
 
unsigned long long ged_selection_hash_set (struct ged_selection_set *s)
 
unsigned long long ged_selection_hash_sets (struct ged_selection_sets *ss)
 
int ged_rselect (struct ged *gedp, int argc, const char *argv[])
 
int ged_select (struct ged *gedp, int argc, const char *argv[])
 
struct rt_object_selectionsged_get_object_selections (struct ged *gedp, const char *object_name)
 
struct rt_selection_setged_get_selection_set (struct ged *gedp, const char *object_name, const char *selection_name)
 

Detailed Description

Geometry EDiting Library Object Selection Functions.

Function Documentation

◆ ged_selection_sets_create()

struct ged_selection_sets * ged_selection_sets_create ( struct ged gedp)

◆ ged_selection_sets_destroy()

void ged_selection_sets_destroy ( struct ged_selection_sets s)

◆ ged_selection_set_create()

struct ged_selection_set * ged_selection_set_create ( const char *  s_name,
struct ged gedp 
)

◆ ged_selection_set_destroy()

void ged_selection_set_destroy ( struct ged_selection_set )

◆ ged_selection_sets_get()

struct ged_selection_set * ged_selection_sets_get ( struct ged_selection_sets s,
const char *  s_path 
)

◆ ged_selection_sets_put()

void ged_selection_sets_put ( struct ged_selection_sets s,
const char *  s_path 
)

◆ ged_selection_set_cpy()

int ged_selection_set_cpy ( struct ged_selection_set to,
struct ged_selection_set from 
)

◆ ged_selection_sets_lookup()

size_t ged_selection_sets_lookup ( struct bu_ptbl sets,
struct ged_selection_sets s,
const char *  pattern 
)

◆ ged_selection_find()

int ged_selection_find ( struct ged_selection_set s,
const char *  s_name 
)

◆ ged_selection_lookup()

size_t ged_selection_lookup ( struct bu_ptbl matches,
struct ged_selection_set s,
const char *  s_path 
)

◆ ged_selection_lookup_fp()

size_t ged_selection_lookup_fp ( struct bu_ptbl matches,
struct ged_selection_set s,
struct db_full_path fp 
)

◆ ged_selection_set_list()

int ged_selection_set_list ( char ***  keys,
struct ged_selection_set s 
)

◆ ged_selection_set_clear()

void ged_selection_set_clear ( struct ged_selection_set s)

◆ ged_selection_insert()

struct ged_selection * ged_selection_insert ( struct ged_selection_set s,
const char *  s_path 
)

◆ ged_selection_insert_fp()

struct ged_selection * ged_selection_insert_fp ( struct ged_selection_set s,
struct db_full_path fp 
)

◆ ged_selection_insert_obj()

struct ged_selection * ged_selection_insert_obj ( struct ged_selection_set s,
struct bv_scene_obj o 
)

◆ ged_selection_remove()

void ged_selection_remove ( struct ged_selection_set s,
const char *  s_path 
)

◆ ged_selection_remove_fp()

void ged_selection_remove_fp ( struct ged_selection_set s,
struct db_full_path fp 
)

◆ ged_selection_remove_obj()

void ged_selection_remove_obj ( struct ged_selection_set s,
struct bv_scene_obj o 
)

◆ ged_selection_set_expand()

int ged_selection_set_expand ( struct ged_selection_set s_out,
struct ged_selection_set s 
)

◆ ged_selection_set_collapse()

int ged_selection_set_collapse ( struct ged_selection_set s_out,
struct ged_selection_set s 
)

◆ ged_selection_assign_objs()

void ged_selection_assign_objs ( struct ged_selection_set s)

◆ ged_selection_toggle_illum()

void ged_selection_toggle_illum ( struct ged_selection_set s,
char  ill_state 
)

◆ ged_selection_hash_set()

unsigned long long ged_selection_hash_set ( struct ged_selection_set s)

◆ ged_selection_hash_sets()

unsigned long long ged_selection_hash_sets ( struct ged_selection_sets ss)

◆ ged_rselect()

int ged_rselect ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Returns a list of items within the previously defined rectangle.

◆ ged_select()

int ged_select ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Returns a list of items within the specified rectangle or circle.

◆ ged_get_object_selections()

struct rt_object_selections * ged_get_object_selections ( struct ged gedp,
const char *  object_name 
)

Return ged selections for specified object. Created if it doesn't exist.

◆ ged_get_selection_set()

struct rt_selection_set * ged_get_selection_set ( struct ged gedp,
const char *  object_name,
const char *  selection_name 
)

Return ged selections of specified kind for specified object. Created if it doesn't exist.