atomes 1.1.14
atomes: an atomic scale modeling tool box
|
Functions to create the space group information dialog. More...
Go to the source code of this file.
Functions | |
int | get_crystal_id (int spg) |
get the bravais lattice id from space group id | |
int | get_bravais_img_id (int spg) |
get bravais image from space group id | |
gchar * | frac_string (gchar *init) |
get pango string for fraction string | |
gchar * | get_num_string (gchar *str) |
get description string for entry string | |
gchar * | get_so_string (space_group *spg, int id) |
get space group setting descrption string | |
GtkTreeModel * | so_combo_tree (space_group *spg) |
create the space group setting combo box tree model | |
gchar * | get_bravais (int spg) |
retrieve the space group bravais lattice | |
gchar * | get_frac (float val) |
get string for value | |
void | get_wyck_char (float val, int ax, int bx) |
convert wyckoff value to string | |
void | get_extra_val (float val, int ax) |
convert wyckoff extra value to string | |
void | get_wyck_names (space_group *spg, int i, int j) |
get the name of this wyckoff position | |
void | set_wisible (GtkTreeViewColumn *col, GtkCellRenderer *renderer, GtkTreeModel *mod, GtkTreeIter *iter, gpointer data) |
show / hide cell renderer, if visible then add or not pango markup | |
GtkWidget * | create_wyckoff_tree (space_group *spg) |
create wyckoff position tree | |
GtkWidget * | create_setting_info (space_group *spg, int sid) |
create setting information label | |
GtkWidget * | create_wyck_pts_info (space_group *spg, int sid) |
create wyckoff label | |
G_MODULE_EXPORT void | set_so_info (GtkComboBox *box, gpointer data) |
change space group origin | |
G_MODULE_EXPORT void | show_sg_info (GtkWidget *but, gpointer data) |
show space group information dialog callback | |
Variables | |
gchar * | tmp_pos |
gchar * | latt_info [7] |
GtkWidget * | info_hsbox |
GtkWidget * | info_vs |
GtkWidget * | wypts_vbox |
GtkWidget * | info_wyck_pts |
GtkWidget * | info_wyck_scroll |
GtkWidget * | info_wyck_tree |
gchar * | wnpos [3] = {NULL, NULL, NULL} |
Functions to create the space group information dialog.
Definition in file cbuild_info.c.
GtkWidget * create_setting_info | ( | space_group * | spg, |
int | sid ) |
create setting information label
spg | the target space group |
sid | the setting id |
Definition at line 396 of file cbuild_info.c.
GtkWidget * create_wyck_pts_info | ( | space_group * | spg, |
int | sid ) |
create wyckoff label
spg | the target space group |
sid | the setting id |
Definition at line 421 of file cbuild_info.c.
GtkWidget * create_wyckoff_tree | ( | space_group * | spg | ) |
create wyckoff position tree
spg | the target space group |
Definition at line 365 of file cbuild_info.c.
|
extern |
get pango string for fraction string
init | the target fraction string |
Definition at line 259 of file cbuild_edit.c.
gchar * get_bravais | ( | int | spg | ) |
retrieve the space group bravais lattice
spg | the target space group id |
Definition at line 83 of file cbuild_info.c.
|
extern |
get bravais image from space group id
spg | the target space group id |
Definition at line 173 of file cbuild_edit.c.
|
extern |
get the bravais lattice id from space group id
spg | the target space group id |
Definition at line 127 of file cbuild_edit.c.
void get_extra_val | ( | float | val, |
int | ax ) |
convert wyckoff extra value to string
val | the target value |
ax | axis id, x = 0, y = 1, z = 2 |
Definition at line 201 of file cbuild_info.c.
gchar * get_frac | ( | float | val | ) |
|
extern |
get description string for entry string
str | the target string |
Definition at line 282 of file cbuild_edit.c.
|
extern |
get space group setting descrption string
spg | the target space group |
id | the space grop setting |
Definition at line 305 of file cbuild_edit.c.
void get_wyck_char | ( | float | val, |
int | ax, | ||
int | bx ) |
convert wyckoff value to string
val | the target value |
ax | axis id, x = 0, y = 1, z = 2 |
bx | axis label 0 = "x", 1 = "y", 2 = "z" |
Definition at line 139 of file cbuild_info.c.
void get_wyck_names | ( | space_group * | spg, |
int | i, | ||
int | j ) |
get the name of this wyckoff position
spg | the target space group |
i | the wyckoff position id |
j | the multiplicity for this wyckoff position |
Definition at line 234 of file cbuild_info.c.
G_MODULE_EXPORT void set_so_info | ( | GtkComboBox * | box, |
gpointer | data ) |
change space group origin
box | the GtkComboBox sending the signal |
data | the associated data pointer |
Definition at line 462 of file cbuild_info.c.
void set_wisible | ( | GtkTreeViewColumn * | col, |
GtkCellRenderer * | renderer, | ||
GtkTreeModel * | mod, | ||
GtkTreeIter * | iter, | ||
gpointer | data ) |
show / hide cell renderer, if visible then add or not pango markup
col | the tree view column |
renderer | the cell renderer |
mod | the tree model |
iter | the tree iter |
data | the associated data pointer |
Definition at line 343 of file cbuild_info.c.
G_MODULE_EXPORT void show_sg_info | ( | GtkWidget * | but, |
gpointer | data ) |
show space group information dialog callback
but | the GtkWidget sending the signal |
data | the associated data pointer |
Definition at line 498 of file cbuild_info.c.
|
extern |
create the space group setting combo box tree model
spg | the target space group |
Definition at line 324 of file cbuild_edit.c.
GtkWidget* info_hsbox |
Definition at line 67 of file cbuild_info.c.
GtkWidget* info_vs |
Definition at line 68 of file cbuild_info.c.
GtkWidget* info_wyck_pts |
Definition at line 70 of file cbuild_info.c.
GtkWidget* info_wyck_scroll |
Definition at line 71 of file cbuild_info.c.
GtkWidget* info_wyck_tree |
Definition at line 72 of file cbuild_info.c.
|
extern |
Definition at line 110 of file cbuild_edit.c.
|
extern |
Definition at line 72 of file cbuild_action.c.
gchar* wnpos[3] = {NULL, NULL, NULL} |
Definition at line 74 of file cbuild_info.c.
GtkWidget* wypts_vbox |
Definition at line 69 of file cbuild_info.c.