atomes 1.1.15
atomes: an atomic scale modeling tool box
|
Function declarations for the mode edition window. More...
#include "global.h"
#include "bind.h"
#include "callbacks.h"
#include "interface.h"
#include "initcoord.h"
#include "glview.h"
#include "glwindow.h"
#include "project.h"
#include "workspace.h"
Go to the source code of this file.
Macros | |
#define | IDCOL 0 |
#define | TOLAB 3 |
#define | TOPIC 4 |
Functions | |
GtkWidget * | selection_tab (atom_search *asearch, int nats) |
create the search widget | |
G_MODULE_EXPORT void | set_show_axis_toggle (GtkToggleButton *but, gpointer data) |
show / hide axis callback GTK3 | |
void | save_rotation_quaternion (glwin *view) |
save the rotation quaternion of the last image | |
void | center_molecule (project *this_proj) |
center atomic coordinates around (0,0,0) | |
vec3_t | get_arc_ball_vector (glwin *view, int x, int y) |
void | update_search_tree (atom_search *asearch) |
update search tree | |
chemical_data * | alloc_chem_data (int spec) |
allocate chemistry data | |
void | image_init_spec_data (image *img, project *this_proj, int nsp) |
initialize the chemical species related pointers in an image data structure | |
void | free_glwin_spec_data (project *this_proj, int spec) |
free the memory used by the chemical species related data in a glwin data structure | |
void | glwin_init_spec_data (project *this_proj, int nspec) |
initialize the glwin chemical species related pointers | |
void | prepare_opengl_menu_bar (glwin *view) |
update the OpenGL window menu bar | |
gboolean | test_vol (double box[2][3], double vect[3][3]) |
is the cell properly described to use PBC ? | |
GtkTreeModel * | replace_combo_tree (gboolean insert, int proj) |
replace combo box in the tree view | |
int | get_selected_object_id (gboolean visible, int p, gchar *str, atom_search *asearch) |
get the id of the object selected (in contextual menu, or in combo box) | |
int | get_atom_id_from_periodic_table (atom_search *asearch) |
get atom Z from selection in the periodic table | |
G_MODULE_EXPORT void | set_mode (GtkWidget *widg, gpointer data) |
set mouse mode callback | |
GtkWidget * | coord_menu (glwin *view) |
GtkWidget * | advanced_coord_properties (glwin *view, int page) |
create the environments configuration window | |
GtkWidget * | create_cell_edition_window (project *this_proj, gpointer data) |
create the cell editon window | |
G_MODULE_EXPORT void | window_spinner (GtkWidget *widg, gpointer data) |
create the spin window callback | |
gboolean | in_bond (int at, int bd[2]) |
is atom at in bond bd | |
void | check_all_trees (project *this_proj) |
check all search trees | |
atomic_object * | get_atomic_object_by_origin (atomic_object *first, int oid, int aid) |
get insert object from a list by id | |
void | adjust_object_to_move (project *this_proj, atom_search *asearch, int mv, int id) |
adjust atom search parameters for motion cases | |
void | motion_to_zero (atom_search *asearch) |
reset motion to 0.0 | |
int | get_asearch_num_objects (atom_search *asearch) |
the number of type of object(s) in this atom search | |
int | get_asearch_object (atom_search *asearch) |
get the number of object(s) in this atom search | |
int | get_asearch_filter (atom_search *asearch) |
get asearch filter | |
int | get_todo_size (atom_search *asearch) |
get the size of the atom search selection list | |
void | allocate_todo (atom_search *asearch, int tsize) |
allocate the selection list data buffer | |
void | clean_todo (atom_search *asearch) |
clean atom search selection list | |
void | clean_picked_and_labelled (atom_search *asearch, gboolean clean_msd) |
initialize atom search data buffers | |
void | adjust_search_param (atom_search *asearch, project *this_proj, int a, int s, int c, gboolean status) |
adjust parameters for this atom search | |
void | re_populate_tree_search (atom_search *asearch) |
re populate search tree after atom action if >= 10 000 atoms | |
G_MODULE_EXPORT void | set_search_mode (GtkComboBox *box, gpointer data) |
change search mode | |
G_MODULE_EXPORT void | set_object_changed (GtkComboBox *box, gpointer data) |
change the search object | |
G_MODULE_EXPORT void | set_filter_changed (GtkComboBox *box, gpointer data) |
change the search filter | |
G_MODULE_EXPORT void | set_spec_changed (GtkComboBox *box, gpointer data) |
change the search chemical species | |
void | add_bonds_to_list (int **new_bond_list, int nat, int nbd, atomic_object *object) |
add object bond(s) list to overall bond(s) list | |
void | add_bonds_to_project (project *this_proj, int removed, int nbd, int **new_bond_list) |
add bond list to project bond list | |
gboolean * | remove_bonds_from_project (project *this_proj, atomic_object *this_object, int *old_id, atom *new_list, gboolean remove, gboolean passivate) |
remove bond(s) from project | |
G_MODULE_EXPORT void | set_reset_transformation (GtkToggleButton *but, gpointer data) |
reset model transformation toggle callback GTK3 | |
void | to_remove_this_list_of_objects (project *this_proj, atom_search *asearch) |
prepaer to remove a list of object(s) from a project, one object after another. | |
void | to_passivate_using_the_objects (project *this_proj, atom_search *asearch) |
prepare passivation (delete of an object, then insert of another one at the same location) | |
tint | ulam_coord (glwin *view) |
shift insertion position for object not to have overlapping objects for multiple/repeated insertions | |
void | correct_pos_and_get_dim (atomic_object *object, gboolean adjust) |
get the barycenter of the atomic coordinates of an object | |
atomic_object * | duplicate_atomic_object (atomic_object *old_obj) |
duplicate an insert object | |
atomic_object * | create_object_from_species (project *this_proj, int sid, atom_search *remove) |
create object from all atom(s) of the same chemical species | |
void | reconstruct_bonds (project *this_proj, int ifcl, int *bcid) |
reconstruct the project bond(s)/clone(s) lists after reconstruction using PBC | |
void | reconstruct_coordinates_for_object (project *this_proj, atomic_object *this_object, gboolean upcoord) |
reconstruct object atomic coordinates using PBC | |
atomic_object * | create_object_from_selection (project *this_proj) |
create object from atom selection | |
atomic_object * | create_object_from_atom_coordination (project *this_proj, int coord, int aid, atom_search *remove) |
create object from an atom and its nearest neighbors | |
atomic_object * | create_object_from_overall_coordination (project *this_proj, int coord, int aid, atom_search *remove) |
create object from all the atom(s) that have the same exact coordination than the target atom | |
atomic_object * | create_object_from_frag_mol (project *this_proj, int coord, int geo, atom_search *remove) |
create object from a fragment or a molecule | |
void | create_object_from_library (int p) |
create object using the molecular library | |
int | create_object_from_open_project (project *this_proj, int p) |
create object from atom(s) of a project opened in the workspace | |
void | clean_this_object (int orig, int act, project *this_proj, atom_search *asearch) |
clean object data | |
void | to_insert_in_project (int stat, int orig, project *this_proj, atom_search *asearch, gboolean visible) |
to insert object in project | |
int | insert_this_project_from_lib (int id, gboolean visible, project *this_proj, atom_search *asearch) |
insert object from the library | |
G_MODULE_EXPORT void | set_atoms_to_insert (GtkComboBox *box, gpointer data) |
change the object to insert | |
void | clean_other_window_after_edit (project *this_proj) |
update other windows after model edition if required | |
void | clean_coord_window (project *this_proj) |
update the environment configuration window after edtion | |
GtkWidget * | create_atom_notebook (project *this_proj, GtkWidget *vbox) |
create the model edition notebook | |
double ** | save_coordinates (project *this_proj, int status) |
save atomic coordinates | |
void | reset_coordinates (project *this_proj, int status) |
reset transformation and restore saved atomic coordinates | |
vec3_t | get_bary (project *this_proj, int status) |
get barycenter of atomic coordinates | |
void | init_coordinates (project *this_proj, int status, gboolean win, gboolean init) |
preserve atomic coordinates | |
void | translate (project *this_proj, int status, int axis, vec3_t trans) |
translate | |
void | rotate_quat (project *this_proj, vec4_t q, int status, int axis) |
rotate using quaternion | |
void | rotate (project *this_proj, int i, int j, int k, float param) |
rotate | |
void | random_move (project *this_proj, atom_search *asearch) |
random move | |
void | update_coordinates (project *this_proj, int status, int axis, int action) |
update atomic coordinates on motion | |
G_MODULE_EXPORT void | repeat_move (GtkSpinButton *res, gpointer data) |
repeat motion callback | |
G_MODULE_EXPORT gboolean | to_set_move (GtkWidget *widg, GdkEventFocus *event, gpointer data) |
G_MODULE_EXPORT void | set_move (GtkEntry *res, gpointer data) |
motion callback - entry | |
void | range_has_changed (gpointer data, double v) |
motion | |
void | update_range_and_entry (project *this_proj, int i, int j, int k) |
update motion range | |
G_MODULE_EXPORT gboolean | scroll_range_move (GtkRange *range, GtkScrollType scroll, gdouble value, gpointer data) |
motion callback - scroll | |
G_MODULE_EXPORT void | range_move (GtkRange *range, gpointer data) |
motion callback - range | |
void | check_motion_interactors (project *this_proj, atom_search *asearch) |
add motion check button | |
GtkWidget * | add_motion_interaction (atom_search *asearch, int axd, project *this_proj) |
add motion interaction widgets | |
void | apply_action (project *this_proj, atom_search *asearch) |
apply edition action | |
void | clean_all_trees (atom_search *asearch, project *this_proj) |
clean all tree models in the 'model edition' window | |
gboolean | do_we_have_objects_in_selection (project *this_proj, atom_search *asearch, gboolean editing) |
check for object(s) in selection to apply action | |
G_MODULE_EXPORT void | take_action (GtkButton *but, gpointer data) |
take edition action | |
GtkWidget * | action_tab (int aid, project *this_proj) |
create model edtion action tab | |
int | find_this_geo_id (int id, coord_info *obj, int *old_z, int old_geo, int old_sp, int new_sp, coord_info *coord, double *new_z) |
if required create a new geometry, stored in coord, for coordination type 'gid' and chemical species 'new_sp', return geometry id | |
void | check_coord_modification (project *this_proj, int old_id[], atom *new_list, atomic_object *this_object, gboolean movtion, gboolean passivating) |
void | print_coord_info (project *this_proj, coord_info *coord) |
print coordination info | |
coord_info * | duplicate_coord_info (coord_info *old_coord) |
duplicate coordination information data structure | |
void | recover_opengl_data (project *this_proj, int nmols, int add, int rem, int *num, int *rec, int ***tmpgeo, gboolean *showfrag) |
recover image pointer data and OpenGL window menu structure | |
chemical_data * | duplicate_chemical_data (int spec, chemical_data *chem) |
duplicate chemical data information | |
int | find_spec_id (int s, int z, double *list_z) |
find species id based on Z | |
int | search_for_new_spec (atom_edition *edit, atomic_object *object) |
search for new chemical species | |
void | prepare_atom_edition (gpointer data, gboolean visible) |
prepare atom edition | |
G_MODULE_EXPORT void | action_window (GtkWidget *widg, gpointer data) |
open model edition window callback GTK3 | |
G_MODULE_EXPORT void | close_build (GtkWidget *widg, gpointer data) |
Variables | |
int | selected_aspec |
int | is_selected |
insertion_menu | mol [] |
atom_search * | remove_search |
gchar * | mot [2][2] |
int | being_copied |
atomic_object * | lib_object |
float | limit [2] |
gchar * | action_name [5] |
gchar * | action_atoms [3] |
Function declarations for the mode edition window.
Definition in file atom_edit.h.
#define IDCOL 0 |
Definition at line 44 of file atom_edit.h.
#define TOLAB 3 |
Definition at line 45 of file atom_edit.h.
#define TOPIC 4 |
Definition at line 46 of file atom_edit.h.
|
extern |
create model edtion action tab
aid | the action id |
this_proj | the target project |
Definition at line 281 of file atom_search.c.
G_MODULE_EXPORT void action_window | ( | GtkWidget * | widg, |
gpointer | data ) |
open model edition window callback GTK3
widg | the GtkWidget sending the signal |
data | the associated data pointer |
Definition at line 535 of file atom_edit.c.
|
extern |
add object bond(s) list to overall bond(s) list
new_bond_list | the bond list in the model |
nat | the number of atom(s) in the model |
nbd | the number of bond(s) in the model |
object | the target insert object |
Definition at line 81 of file atom_insert.c.
|
extern |
add bond list to project bond list
this_proj | the target project |
removed | the number of atom(s) removed |
nbd | the number of bond(s) to add |
new_bond_list | the bond list to add |
Definition at line 53 of file atom_insert.c.
|
extern |
add motion interaction widgets
asearch | the target atom search |
axd | translation (0) or rotation (1) |
this_proj | the target project |
Definition at line 1230 of file atom_move.c.
|
extern |
adjust atom search parameters for motion cases
this_proj | the target project |
asearch | the target atom search |
mv | motion id (0 = standard, 1 = random) |
id | object id |
Definition at line 523 of file w_search.c.
|
extern |
adjust parameters for this atom search
asearch | the target atom search |
this_proj | the target project |
a | the atom id |
s | the chemical species, or object id |
c | the column id |
status | the new toogle status |
Definition at line 1745 of file w_search.c.
|
extern |
|
extern |
|
extern |
allocate the selection list data buffer
asearch | the target atom search |
tsize | the target size |
Definition at line 3717 of file w_search.c.
|
extern |
apply edition action
this_proj | the target project |
asearch | the target atom search |
Definition at line 1100 of file atom_action.c.
|
extern |
|
extern |
check all search trees
this_proj | the target project |
Definition at line 450 of file w_search.c.
|
extern |
|
extern |
add motion check button
this_proj | the target project |
asearch | the target atom search |
Definition at line 1160 of file atom_move.c.
|
extern |
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.
|
extern |
update the environment configuration window after edtion
this_proj | the target project |
Definition at line 87 of file atom_edit.c.
|
extern |
update other windows after model edition if required
this_proj | the target project |
Definition at line 110 of file atom_edit.c.
|
extern |
initialize atom search data buffers
asearch | the target atom search |
clean_msd | clean msd all data (1) or not (0) |
Definition at line 3791 of file w_search.c.
|
extern |
clean object data
orig | - (fragmol id/species id +1), -1, or, orgin atom id |
act | action in enum 'actions' |
this_proj | the target project |
asearch | the target atom search |
Definition at line 1102 of file atom_object.c.
|
extern |
clean atom search selection list
asearch | the target atom search |
Definition at line 3730 of file w_search.c.
G_MODULE_EXPORT void close_build | ( | GtkWidget * | widg, |
gpointer | data ) |
|
extern |
|
extern |
get the barycenter of the atomic coordinates of an object
object | the target insert object |
adjust | center object coordinates or not |
Definition at line 104 of file atom_object.c.
|
extern |
create the model edition notebook
this_proj | the target project |
vbox | the GtkWidget sending the signal |
Definition at line 365 of file atom_edit.c.
|
extern |
create the cell editon window
this_proj | the target project |
data | the associated data pointer |
Definition at line 182 of file cell_edit.c.
|
extern |
create object from an atom and its nearest neighbors
this_proj | the target project |
coord | 0 = total coordination, 1 = partial coordination |
aid | the atom id |
remove | remove search, if any |
Definition at line 777 of file atom_object.c.
|
extern |
create object from a fragment or a molecule
this_proj | the target project |
coord | 2 = fragment, 3 = molecule |
geo | fragment or molecule id |
remove | remove search, if any |
Definition at line 928 of file atom_object.c.
|
extern |
create object using the molecular library
p | the project id of the library molecule in the workspace |
Definition at line 421 of file atom_object.c.
|
extern |
create object from atom(s) of a project opened in the workspace
this_proj | the target project |
p | the project id of the project that contains the atom(s) to copy |
Definition at line 1015 of file atom_object.c.
|
extern |
create object from all the atom(s) that have the same exact coordination than the target atom
this_proj | the target project |
coord | 0 = total coordination, 1 = partial coordination |
aid | target atom id |
remove | remove search, if any |
Definition at line 848 of file atom_object.c.
|
extern |
create object from atom selection
this_proj | the target project |
Definition at line 724 of file atom_object.c.
|
extern |
create object from all atom(s) of the same chemical species
this_proj | the target project |
sid | the species id |
remove | remove search, if any |
Definition at line 683 of file atom_object.c.
|
extern |
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.
|
extern |
duplicate an insert object
old_obj | the insert object to duplicate |
Definition at line 381 of file atom_object.c.
|
extern |
duplicate chemical data information
spec | the number of chemical species |
chem | the chemical data to duplicate |
Definition at line 50 of file atom_species.c.
|
extern |
duplicate coordination information data structure
old_coord | the coordination info to duplicate |
Definition at line 190 of file atom_coord.c.
|
extern |
find species id based on Z
s | the number of chemical species |
z | the target Z |
list_z | the list of Z values |
Definition at line 83 of file atom_species.c.
|
extern |
if required create a new geometry, stored in coord, for coordination type 'gid' and chemical species 'new_sp', return geometry id
gid | the new coordination type (0 = total, 1 = partial) |
obj | the new coordination info to update |
old_z | old Z list |
old_geo | the old coordination id for this coordination type |
old_sp | the old chemical species id |
new_sp | the new chemical species id |
coord | the old coordination info |
new_z | new Z list |
Definition at line 209 of file atom_geo.c.
|
extern |
|
extern |
get asearch filter
asearch | the target atom search |
Definition at line 170 of file w_search.c.
|
extern |
the number of type of object(s) in this atom search
asearch | the target atom search |
Definition at line 125 of file w_search.c.
|
extern |
get the number of object(s) in this atom search
asearch | the target atom search |
Definition at line 149 of file w_search.c.
|
extern |
get atom Z from selection in the periodic table
asearch | target atom search, if any |
Definition at line 672 of file w_periodic.c.
|
extern |
get insert object from a list by id
first | the first insert object of the list |
oid | object origin id (type of origin) |
aid | object id |
Definition at line 474 of file w_search.c.
get barycenter of atomic coordinates
this_proj | the target project |
status | selection status, 0 = non selected atom(s), 1 = selected atom(s), 2 = all atom(s) |
Definition at line 170 of file atom_move.c.
|
extern |
get the id of the object selected (in contextual menu, or in combo box)
visible | is the 'model edition' window visible (1/0) |
p | the target project id |
str | the string that describing the selection |
asearch | the target atom search |
Definition at line 2385 of file w_search.c.
|
extern |
get the size of the atom search selection list
asearch | the target atom search |
Definition at line 3681 of file w_search.c.
|
extern |
|
extern |
is atom at in bond bd
at | the target atom id |
bd | the bond atoms id |
Definition at line 892 of file dlp_init.c.
|
extern |
preserve atomic coordinates
this_proj | the target project |
status | selection status, 0 = non selected atom(s), 1 = selected atom(s), 2 = all atom(s) |
win | is the model edition window opened ? |
init | preserve atomic coordinates |
Definition at line 197 of file atom_move.c.
|
extern |
insert object from the library
id | object id to insert |
visible | is the 'model edition window' visible |
this_proj | the target project |
asearch | the target atom search |
Definition at line 1158 of file w_library.c.
|
extern |
reset motion to 0.0
asearch | the target atom search |
Definition at line 493 of file w_search.c.
|
extern |
prepare atom edition
data | the associated data pointer |
visible | is the window visible (1/0) |
Definition at line 459 of file atom_edit.c.
|
extern |
update the OpenGL window menu bar
view | the target glwin |
Definition at line 600 of file glwindow.c.
|
extern |
print coordination info
this_proj | the target project |
coord | the target coordination info |
Definition at line 87 of file atom_coord.c.
|
extern |
random move
this_proj | the target project |
asearch | the target atom search |
Definition at line 657 of file atom_move.c.
|
extern |
motion
data | the associated data pointer |
v | the value for motion |
Definition at line 1016 of file atom_move.c.
|
extern |
motion callback - range
range | the GtkRange sending the signal |
data | the associated data pointer |
Definition at line 1061 of file atom_move.c.
|
extern |
re populate search tree after atom action if >= 10 000 atoms
asearch | the target atom search |
Definition at line 1608 of file w_search.c.
|
extern |
reconstruct the project bond(s)/clone(s) lists after reconstruction using PBC
this_proj | the target project |
ifcl | number of clone bond(s) removed |
bcid | the removed clone bond(s) atoms id |
Definition at line 180 of file atom_object.c.
|
extern |
reconstruct object atomic coordinates using PBC
this_object | the target project |
this_proj | the target insert object |
upcoord | reconstruction of atomic coordinates using PBC ? |
Definition at line 263 of file atom_object.c.
|
extern |
recover image pointer data and OpenGL window menu structure
this_proj | the target project |
nmols | the number of molecules |
add | the number of new chemical species |
rem | the number of chemical species to remove |
num | the number of atom(s) by chemical species |
rec | the lsit of removed chemical species, if any |
tmpgeo | the new number of coordination [c] by chemical species [s] 'coorrd -> ntg[c][s]' |
showfrag | the saved fragment(s) show information |
Definition at line 549 of file atom_coord.c.
|
extern |
remove bond(s) from project
this_proj | the target project |
this_object | the target insert object, if any |
old_id | the atom(s) id list |
new_list | the new atom list |
remove | remove (1) or motion (0) action |
passivate | passivate (1) or not (0) |
Definition at line 224 of file atom_remove.c.
|
extern |
repeat motion callback
res | the GtkSpinButton sending the signal |
data | the associated data pointer |
Definition at line 963 of file atom_move.c.
|
extern |
replace combo box in the tree view
insert | add 'Select ...' combo box item |
proj | target crystal builder project id |
Definition at line 2615 of file w_search.c.
|
extern |
reset transformation and restore saved atomic coordinates
this_proj | the target project |
status | selection status, 0 = non selected atom(s), 1 = selected atom(s), 2 = all atom(s) |
Definition at line 143 of file atom_move.c.
|
extern |
rotate
this_proj | the target project |
status | selection status, 0 = non selected atom(s), 1 = selected atom(s), 2 = all atom(s) |
axis | 0 = model, 1 = eye |
raxis | rotation axis 0 = x, 1 = y, 2 = z |
param | rotation angle |
Definition at line 309 of file atom_move.c.
rotate using quaternion
this_proj | the target project |
q | rotation quaternion |
status | selection status, 0 = non selected atom(s), 1 = selected atom(s), 2 = all atom(s) |
axis | 0 = model, 1 = eye |
Definition at line 269 of file atom_move.c.
|
extern |
save atomic coordinates
this_proj | the target project |
status | selection status, 0 = non selected atom(s), 1 = selected atom(s), 2 = all atom(s) |
Definition at line 91 of file atom_move.c.
|
extern |
|
extern |
motion callback - scroll
range | the GtkRange sending the signal |
scroll | the associated scroll type |
value | the range value |
data | the associated data pointer |
Definition at line 1076 of file atom_move.c.
|
extern |
search for new chemical species
edit | the edition window |
object | the target insert object |
Definition at line 107 of file atom_species.c.
|
extern |
create the search widget
asearch | the target atom search |
nats | the total number of atoms |
Definition at line 4130 of file w_search.c.
|
extern |
change the object to insert
box | the GtkComboBox sending the signal |
data | the associated data pointer |
Definition at line 118 of file atom_insert.c.
|
extern |
change the search filter
box | the GtkComboBox sending the signal |
data | the associated data pointer |
Definition at line 3858 of file w_search.c.
|
extern |
|
extern |
motion callback - entry
res | the GtkEntry sending the signal |
data | the associated data pointer |
Definition at line 1046 of file atom_move.c.
|
extern |
change the search object
box | the GtkComboBox sending the signal |
data | the associated data pointer |
Definition at line 3884 of file w_search.c.
|
extern |
reset model transformation toggle callback GTK3
but | the GtkToggleButton sending the signal |
data | the associated data pointer |
Definition at line 277 of file atom_edit.c.
|
extern |
change search mode
box | the GtkComboBox sending the signal |
data | the associated data pointer |
Definition at line 3983 of file w_search.c.
|
extern |
|
extern |
change the search chemical species
box | the GtkComboBox sending the signal |
data | the associated data pointer |
Definition at line 3829 of file w_search.c.
|
extern |
take edition action
but | the GtkButton sending the signal |
data | the associated data pointer |
Definition at line 2011 of file atom_action.c.
|
extern |
is the cell properly described to use PBC ?
box | lattice parameters |
vect | lattice vectors |
Definition at line 498 of file edit_menu.c.
|
extern |
to insert object in project
stat | in enum object_types |
orig | - (fragmol id/species id +1), -1, or, orgin atom id |
this_proj | the target project |
asearch | the target atom search |
visible | is the model edition window visible ? |
Definition at line 1214 of file atom_object.c.
|
extern |
prepare passivation (delete of an object, then insert of another one at the same location)
this_proj | the target project |
asearch | the target atom search |
Definition at line 650 of file atom_remove.c.
|
extern |
prepaer to remove a list of object(s) from a project, one object after another.
this_proj | the target project |
asearch | the target atom search |
Definition at line 580 of file atom_remove.c.
|
extern |
translate
this_proj | the target project |
status | selection status, 0 = non selected atom(s), 1 = selected atom(s), 2 = all atom(s) |
axis | 0 = model, 1 = eye |
trans | translation vector |
Definition at line 230 of file atom_move.c.
shift insertion position for object not to have overlapping objects for multiple/repeated insertions
view | the target glwin |
Definition at line 354 of file atom_object.c.
|
extern |
update atomic coordinates on motion
this_proj | the target project |
status | selection status, 0 = non selected atom(s), 1 = selected atom(s), 2 = all atom(s) |
axis | axis, 0 = model, 1 = eye |
action | 0 = translation, 1 = rotation |
Definition at line 939 of file atom_move.c.
|
extern |
update motion range
this_proj | the target project |
i | selection status, 0 = non selected atom(s), 1 = selected atom(s), 2 = all atom(s) |
j | axis, 0 = model, 1 = eye |
k | parameter to update: x, y, z or alpha, beta, gamma |
Definition at line 979 of file atom_move.c.
|
extern |
update search tree
asearch | the target atom search |
Definition at line 1294 of file w_search.c.
|
extern |
create the spin window callback
widg | the GtkWidget sending the signal |
data | the associated data pointer |
Definition at line 158 of file w_spiner.c.
|
extern |
Definition at line 61 of file atom_edit.c.
|
extern |
Definition at line 60 of file atom_edit.c.
|
extern |
Definition at line 371 of file atom_object.c.
|
extern |
Definition at line 372 of file atom_object.c.
|
extern |
Definition at line 59 of file atom_edit.c.
|
extern |
Definition at line 193 of file w_library.c.
|
extern |