|
atomes 1.2.1
atomes: an atomic scale modeling tool box
|
Function declarations for the cell edition window. More...
#include "global.h"#include "bind.h"#include "callbacks.h"#include "interface.h"#include "project.h"#include "workspace.h"#include "glview.h"#include "glwindow.h"
Include dependency graph for cell_edit.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| void | allocatoms (project *this_proj) |
| allocate project data | |
| void | center_molecule (project *this_proj) |
| center atomic coordinates around (0,0,0) | |
| GtkWidget * | advanced_coord_properties (glwin *view, int page) |
| create the environments configuration window | |
| gboolean | run_distance_matrix (GtkWidget *widg, int calc, int up_ngb) |
| compute distance matrix | |
| void | translate (project *this_proj, int status, int axis, vec3_t trans) |
| translate | |
| void | process_selected_atom (project *this_proj, glwin *view, int id, int ac, int se, int pi) |
| process selected atom | |
| void | preserve_ogl_selection (glwin *view) |
| copy the atom selection, so that it can be re-used once the input assistant is closed. | |
| void | restore_ogl_selection (glwin *view) |
| restore a saved atom selection | |
| void | create_slab_lists (project *this_proj) |
| prepare slab(s) OpenGL rendering | |
| GtkWidget * | create_cell_entries (project *this_proj, int i) |
| create the cell entry widgets | |
| GtkWidget * | create_shift_box (project *this_proj) |
| create shift box widgets | |
| void | display_density (cell_edition *cell, double vol, double dens, double adens) |
| create density information widgets | |
| void | shift_it (vec3_t shift, int refresh, int proj) |
| shift atomic coordinates | |
| void | sens_superbut (project *this_proj) |
| adjust 'Create super-cell' button sensitivity | |
| void | invert_selection (project *this_proj) |
| invert atom(s) selection | |
| GtkWidget * | shift_center_tab (project *this_proj) |
| create the shift cell center tab | |
| GtkWidget * | add_extra_cell_tab (glwin *view) |
| create the add cell(s) tab | |
| GtkWidget * | supercell_tab (glwin *view) |
| GtkWidget * | adjust_density_tab (project *this_proj) |
| create the density tab | |
| GtkWidget * | cut_in_model (project *this_proj) |
| create the cut slab tab | |
| GtkWidget * | pixels_tab (project *this_proj) |
| void | wrapping (glwin *view) |
| wrapping atomic coordinates | |
| G_MODULE_EXPORT void | super_cell_but (GtkButton *but, gpointer data) |
| create super cell callback | |
| G_MODULE_EXPORT void | super_cell (GtkWidget *widg, gpointer data) |
| create super cell menu callback GTK3 | |
| G_MODULE_EXPORT void | edition_win (GtkWidget *widg, gpointer data) |
| create the cell edition window callback GTK3 | |
| atom_search * | allocate_atom_search (int proj, int action, int searchid, int tsize) |
| allocate atom search data structure | |
Variables | |
| char * | box_prop [2][3] |
| gchar * | edit_names [7] |
| gchar * | mot [2][2] |
| int | is_selected |
| int | selected_aspec |
Function declarations for the cell edition window.
Definition in file cell_edit.h.
| GtkWidget * add_extra_cell_tab | ( | glwin * | view | ) |
create the add cell(s) tab
| view | the target glwin |
Definition at line 81 of file cell_extra.c.
| GtkWidget * adjust_density_tab | ( | project * | this_proj | ) |
create the density tab
| this_proj | the target project |
Definition at line 115 of file cell_density.c.
|
extern |
|
extern |
allocate atom search data structure
| proj | the target project id |
| action | the edition action |
| searchid | the atom search id |
| tsize | the atom search object list size |
Definition at line 386 of file atom_edit.c.
|
extern |
|
extern |
| GtkWidget * create_cell_entries | ( | project * | this_proj, |
| int | i ) |
create the cell entry widgets
| this_proj | the target project |
| i | target parameter/action id (shift, cut, density) |
Definition at line 402 of file cell_shift.c.
| GtkWidget * create_shift_box | ( | project * | this_proj | ) |
create shift box widgets
| this_proj | the target project |
Definition at line 479 of file cell_shift.c.
|
extern |
| GtkWidget * cut_in_model | ( | project * | this_proj | ) |
create the cut slab tab
| this_proj | the target project |
Definition at line 654 of file cell_cut.c.
| void display_density | ( | cell_edition * | cell, |
| double | vol, | ||
| double | dens, | ||
| double | adens ) |
create density information widgets
| cell | the target cell edition |
| vol | the volume |
| dens | the density |
| adens | the atomic density |
Definition at line 54 of file cell_density.c.
|
extern |
create the cell edition window callback GTK3
| widg | the GtkWidget sending the signal |
| data | the associated data pointer |
Definition at line 224 of file cell_edit.c.
| void invert_selection | ( | project * | this_proj | ) |
invert atom(s) selection
| this_proj | the target project |
Definition at line 399 of file cell_cut.c.
| GtkWidget * pixels_tab | ( | project * | this_proj | ) |
|
extern |
|
extern |
process selected atom
| this_proj | the target project |
| view | the target glwin |
| id | the atom id |
| ac | atom or clone (0/1) |
| se | set to 0 to ensure to remove a selected atom from the list and not to add label |
| pi | selection mode (0 = normal mode, 1 = edition mode) |
Definition at line 514 of file selection.c.
|
extern |
|
extern |
| void sens_superbut | ( | project * | this_proj | ) |
adjust 'Create super-cell' button sensitivity
| this_proj | the target project |
Definition at line 175 of file cell_super.c.
| GtkWidget * shift_center_tab | ( | project * | this_proj | ) |
create the shift cell center tab
| this_proj | the target project |
Definition at line 560 of file cell_shift.c.
| void shift_it | ( | vec3_t | shift, |
| int | refresh, | ||
| int | proj ) |
shift atomic coordinates
| shift | the shift vector |
| refresh | refresh rendering data |
| proj | the target project id |
Definition at line 206 of file cell_shift.c.
|
extern |
create super cell menu callback GTK3
| widg | the GtkWidget sending the signal |
| data | the associated data pointer |
Definition at line 358 of file cell_super.c.
|
extern |
create super cell callback
| but | the GtkButton sending the signal |
| data | the associated data pointer |
Definition at line 374 of file cell_super.c.
| GtkWidget * supercell_tab | ( | glwin * | view | ) |
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.
|
extern |
wrapping atomic coordinates
| view | the target glwin |
Definition at line 498 of file cell_shift.c.
|
extern |
Definition at line 74 of file edit_menu.c.
|
extern |
Definition at line 48 of file cell_edit.c.