atomes 1.1.15
atomes: an atomic scale modeling tool box
|
Functions to apply the edition actions to the model. More...
Go to the source code of this file.
Functions | |
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 206 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 1100 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 1018 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 174 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 85 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 1369 of file atom_action.c.
atom_search * duplicate_atom_search | ( | atom_search * | asearch | ) |
duplicate atom search data structure
asearch |
Definition at line 1970 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 60 of file atom_action.c.
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 1171 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 2011 of file atom_action.c.