atomes 1.1.17
atomes: an atomic scale modeling tool box
|
functions to handle the visualization events when creating a classical force field More...
Go to the source code of this file.
Functions | |
void | update_selection_list (atom_selection *at_list, atom *at, gboolean add) |
update the selection list adding or removing an atom | |
void | init_default_shaders (glwin *view) |
re-initialize the default OpenGL shaders | |
void | field_selection (int i, int viz, int lab, int aid) |
select / unselect atom | |
void | viz_fragment (field_molecule *fmol, int id, int viz) |
show / hide fragment | |
void | field_unselect_all () |
unselect all atoms | |
gboolean | in_bond (int at, int bd[2]) |
is atom at in bond bd | |
void | visualize_bonds (int viz, int bid, field_atom *at, field_atom *bt) |
show / hide bond / bond restraint | |
void | visualize_angles (int viz, int aid, field_atom *at, field_atom *bt, field_atom *ct) |
show / hide angle / angle restraint | |
void | visualize_dihedrals (int viz, int did, field_atom *at, field_atom *bt, field_atom *ct, field_atom *dt) |
show / hide dihedral / dihedral restraint | |
void | visualize_imp_inv (int viz, int dih, int iid, field_atom *at, field_atom *bt, field_atom *ct, field_atom *dt) |
show / hide improper or inversion | |
void | visualize_body (int viz, int bd, field_nth_body *body) |
show / hide non bonded interaction | |
int | get_field_objects (int id, int jd) |
get the number of this type of field object | |
void | select_object (int id, int jd, int kd) |
select structural element | |
void | visualize_single_struct (int id, int jd, int kd, int *ids) |
visualize single structural element | |
void | visualize_object (int id, int jd, int kd) |
visualize object and update OpenGL rendering | |
void | check_to_visualize_properties_for_this_field_mol (int pid, int mol) |
check if rendering is required for object in molecule | |
void | check_to_visualize_properties (int pid) |
check if it is requried to update rendering | |
void | update_mol_tree (int a, int b) |
update the field molecule tree model | |
G_MODULE_EXPORT void | on_toggle_visualize_or_select_object (GtkCellRendererToggle *cell_renderer, gchar *string_path, gpointer data) |
on visualize force field object toggle callback | |
gboolean | show_field_object (int id, int jd, int kd) |
is the field object visible ? | |
G_MODULE_EXPORT void | visualize_or_select_all_elements (GtkTreeViewColumn *col, gpointer data) |
select all element(s) in the column for visualization | |
Variables | |
tint | toviz |
int | is_special [MAXDATA][11] |
functions to handle the visualization events when creating a classical force field
Definition in file dlp_viz.c.
void check_to_visualize_properties | ( | int | pid | ) |
void check_to_visualize_properties_for_this_field_mol | ( | int | pid, |
int | mol ) |
void field_selection | ( | int | i, |
int | viz, | ||
int | lab, | ||
int | aid ) |
int get_field_objects | ( | int | id, |
int | jd ) |
|
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 |
re-initialize the default OpenGL shaders
view | the target glwin |
Definition at line 729 of file ogl_shading.c.
G_MODULE_EXPORT void on_toggle_visualize_or_select_object | ( | GtkCellRendererToggle * | cell_renderer, |
gchar * | string_path, | ||
gpointer | data ) |
void select_object | ( | int | id, |
int | jd, | ||
int | kd ) |
gboolean show_field_object | ( | int | id, |
int | jd, | ||
int | kd ) |
void update_mol_tree | ( | int | a, |
int | b ) |
|
extern |
update the selection list adding or removing an atom
at_list | target atom selection |
at | atom |
add | add or remove (1/0) |
Definition at line 445 of file selection.c.
void visualize_angles | ( | int | viz, |
int | aid, | ||
field_atom * | at, | ||
field_atom * | bt, | ||
field_atom * | ct ) |
void visualize_body | ( | int | viz, |
int | bd, | ||
field_nth_body * | body ) |
void visualize_bonds | ( | int | viz, |
int | aid, | ||
field_atom * | at, | ||
field_atom * | bt ) |
void visualize_dihedrals | ( | int | viz, |
int | did, | ||
field_atom * | at, | ||
field_atom * | bt, | ||
field_atom * | ct, | ||
field_atom * | dt ) |
void visualize_imp_inv | ( | int | viz, |
int | dih, | ||
int | iid, | ||
field_atom * | at, | ||
field_atom * | bt, | ||
field_atom * | ct, | ||
field_atom * | dt ) |
void visualize_object | ( | int | id, |
int | jd, | ||
int | kd ) |
G_MODULE_EXPORT void visualize_or_select_all_elements | ( | GtkTreeViewColumn * | col, |
gpointer | data ) |
select all element(s) in the column for visualization
col | the target GtkTreeViewColumn |
data | the associated data pointer |
void visualize_single_struct | ( | int | id, |
int | jd, | ||
int | kd, | ||
int * | ids ) |
void viz_fragment | ( | field_molecule * | fmol, |
int | id, | ||
int | viz ) |
|
extern |
Definition at line 883 of file dlp_field.c.