atomes 1.1.14
atomes: an atomic scale modeling tool box
|
Functions to create the 'shift cell center' tab for the cell edition window. More...
#include "cell_edit.h"
Go to the source code of this file.
Functions | |
void | modify_coordinates_in_lattice (project *this_proj, mat4_t *dlat, mat4_t *drec, int refresh, int density) |
modify atomic coordinates in lattice | |
void | shift_it (vec3_t shift, int refresh, int proj) |
shift atomic coordinates | |
void | adjust_it (int refresh, int proj) |
adjust atomic coordinates | |
void | shift_has_changed (gpointer data, double val) |
shift atomic coordinates | |
G_MODULE_EXPORT void | set_shift (GtkEntry *res, gpointer data) |
set atomic coordinates shift | |
G_MODULE_EXPORT gboolean | scroll_shift_coord (GtkRange *range, GtkScrollType scroll, gdouble value, gpointer data) |
shift coordinates callback - scroll | |
G_MODULE_EXPORT void | shift_coord (GtkRange *range, gpointer data) |
shift coordinates callback - range | |
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 | wrapping (glwin *view) |
wrapping atomic coordinates | |
G_MODULE_EXPORT void | wrap_coord (GtkToggleButton *but, gpointer data) |
wrap atomic coordinates callback GTK3 | |
GtkWidget * | shift_center_tab (project *this_proj) |
create the shift cell center tab | |
Functions to create the 'shift cell center' tab for the cell edition window.
Definition in file cell_shift.c.
void adjust_it | ( | int | refresh, |
int | proj ) |
adjust atomic coordinates
refresh | refresh rendering data |
proj | the project id |
Definition at line 222 of file cell_shift.c.
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.
void modify_coordinates_in_lattice | ( | project * | this_proj, |
mat4_t * | dlat, | ||
mat4_t * | drec, | ||
int | refresh, | ||
int | density ) |
modify atomic coordinates in lattice
this_proj | the target project |
dlat | lattice vectors matrix |
drec | reciprocal vectors matrix |
refresh | refresh rendering data |
density | 0= shift, 1 = density modification |
Definition at line 65 of file cell_shift.c.
G_MODULE_EXPORT gboolean scroll_shift_coord | ( | GtkRange * | range, |
GtkScrollType | scroll, | ||
gdouble | value, | ||
gpointer | data ) |
shift coordinates 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 375 of file cell_shift.c.
G_MODULE_EXPORT void set_shift | ( | GtkEntry * | res, |
gpointer | data ) |
set atomic coordinates shift
res | the GtkEntry sending the signal |
data | the associated data pointer |
Definition at line 358 of file cell_shift.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.
G_MODULE_EXPORT void shift_coord | ( | GtkRange * | range, |
gpointer | data ) |
shift coordinates callback - range
range | the GtkRange sending the signal |
data | the associated data pointer |
Definition at line 389 of file cell_shift.c.
void shift_has_changed | ( | gpointer | data, |
double | val ) |
shift atomic coordinates
data | the associated data pointer |
val | the shift value |
Definition at line 259 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.
G_MODULE_EXPORT void wrap_coord | ( | GtkToggleButton * | but, |
gpointer | data ) |
wrap atomic coordinates callback GTK3
but | the GtkToggleButton sending the signal |
data | the associated data pointer |
Definition at line 545 of file cell_shift.c.
void wrapping | ( | glwin * | view | ) |
wrapping atomic coordinates
view | the target glwin |
Definition at line 498 of file cell_shift.c.