BRL-CAD
Collaboration diagram for Object Selection:

Files

file  select.h
 

Functions

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_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.