|
atomes 1.2.1
atomes: an atomic scale modeling tool box
|
Functions to apply the edition actions to the model. More...
Include dependency graph for atom_action.c:Go to the source code of this file.
Functions | |
| GLdouble | get_max_depth (GLdouble depth) |
| guess a reasonable maximum OpenGL window depth | |
| void | setup_default_lights (project *this_proj, image *img) |
| initialize lightning for an image data structure | |
| void | free_dummies (dummy_atom *tmp_pick) |
| free atom dummy list | |
| void | clean_this_project (project *this_proj) |
| clean project data for the edition process | |
| void | clean_motion_search (project *this_proj, atom_search *asearch, int sid) |
| clean atom search motion data | |
| int | action_atoms_from_project (project *this_proj, atom_search *asearch, gboolean visible) |
| apply atom edition action to project (motion, remove, replace, insert, random move) | |
| void | clean_all_trees (atom_search *asearch, project *this_proj) |
| clean all tree models in the 'model edition' window | |
| void | apply_action (project *this_proj, atom_search *asearch) |
| apply edition action | |
| void | prepare_random_action (project *this_proj, atom_search *asearch) |
| prepare random action | |
| gboolean | do_we_have_objects_in_selection (project *this_proj, atom_search *asearch, gboolean editing) |
| check for object(s) in selection to apply action | |
| atom_search * | duplicate_atom_search (atom_search *asearch) |
| duplicate atom search data structure | |
| G_MODULE_EXPORT void | take_action (GtkButton *but, gpointer data) |
| take edition action | |
Functions to apply the edition actions to the model.
Definition in file atom_action.c.
| int action_atoms_from_project | ( | project * | this_proj, |
| atom_search * | asearch, | ||
| gboolean | visible ) |
apply atom edition action to project (motion, remove, replace, insert, random move)
| this_proj | the target project |
| asearch | the target atom search |
| visible | is the 'model edition' window visible (1/0) |
Definition at line 211 of file atom_action.c.
| void apply_action | ( | project * | this_proj, |
| atom_search * | asearch ) |
apply edition action
| this_proj | the target project |
| asearch | the target atom search |
Definition at line 1106 of file atom_action.c.
| void clean_all_trees | ( | atom_search * | asearch, |
| project * | this_proj ) |
clean all tree models in the 'model edition' window
| asearch | the target atom search |
| this_proj | the target project |
Definition at line 1024 of file atom_action.c.
| void clean_motion_search | ( | project * | this_proj, |
| atom_search * | asearch, | ||
| int | sid ) |
clean atom search motion data
| this_proj | the target project |
| asearch | the target atom search |
| sid | motion id |
Definition at line 179 of file atom_action.c.
| void clean_this_project | ( | project * | this_proj | ) |
clean project data for the edition process
| this_proj | the target project |
Definition at line 90 of file atom_action.c.
| gboolean do_we_have_objects_in_selection | ( | project * | this_proj, |
| atom_search * | asearch, | ||
| gboolean | editing ) |
check for object(s) in selection to apply action
| this_proj | the target project |
| asearch | the target atom search |
| editing | actually going for action (1) or simply counting elements (0) |
Definition at line 1375 of file atom_action.c.
| atom_search * duplicate_atom_search | ( | atom_search * | asearch | ) |
duplicate atom search data structure
| asearch |
Definition at line 1976 of file atom_action.c.
| void free_dummies | ( | dummy_atom * | tmp_pick | ) |
free atom dummy list
| tmp_pick | the atom dummy list to free |
Definition at line 65 of file atom_action.c.
|
extern |
| void prepare_random_action | ( | project * | this_proj, |
| atom_search * | asearch ) |
prepare random action
| this_proj | the target project |
| asearch | the target atom search |
Definition at line 1177 of file atom_action.c.
| G_MODULE_EXPORT void take_action | ( | GtkButton * | but, |
| gpointer | data ) |
take edition action
| but | the GtkButton sending the signal |
| data | the associated data pointer |
Definition at line 2017 of file atom_action.c.