35#include <libxml/xmlreader.h>
60extern xmlNodePtr
findnode (xmlNodePtr startnode,
char * nname);
68extern char *
box_p[2];
71extern gboolean
test_vol (
double box[2][3],
double vect[3][3]);
72extern G_MODULE_EXPORT
void update_vect (GtkEntry * entry, gpointer data);
73extern G_MODULE_EXPORT
void update_box (GtkEntry * entry, gpointer data);
80extern G_MODULE_EXPORT
void to_update_box (GtkEditable * widg, gpointer data);
81extern G_MODULE_EXPORT
void to_update_vect (GtkEditable * widg, gpointer data);
83extern G_MODULE_EXPORT gboolean
to_update_box (GtkWidget * widg, GdkEventFocus * event, gpointer data);
84extern G_MODULE_EXPORT gboolean
to_update_vect (GtkWidget * widg, GdkEventFocus * event, gpointer data);
100extern G_MODULE_EXPORT
void set_mode (GtkWidget * widg, gpointer data);
102extern G_MODULE_EXPORT
void close_edit (GtkWidget * widg, gpointer data);
double get_val_from_wyckoff(gchar *pos, gchar *wval)
get point value from wyckoff position
xmlNodePtr findnode(xmlNodePtr startnode, char *nname)
find XML node
G_MODULE_EXPORT void update_box(GtkEntry *entry, gpointer data)
update lattice parameters
gchar * substitute_string(gchar *init, gchar *o_motif, gchar *n_motif)
substitute all patterns in string
G_MODULE_EXPORT void close_edit(GtkWidget *widg, gpointer data)
G_MODULE_EXPORT gboolean to_update_vect(GtkWidget *widg, GdkEventFocus *event, gpointer data)
gboolean test_vol(double box[2][3], double vect[3][3])
is the cell properly described to use PBC ?
void prepare_atom_edition(gpointer data, gboolean visible)
prepare atom edition
chemical_data * alloc_chem_data(int spec)
allocate chemistry data
gboolean adjust_object_occupancy(crystal_data *cryst, int occupying, int tot_cell)
adjust the crystallograpĥic sites occupancy
void glwin_init_spec_data(project *this_proj, int nspec)
initialize the glwin chemical species related pointers
atom_search * allocate_atom_search(int proj, int action, int searchid, int tsize)
allocate atom search data structure
void prepare_opengl_menu_bar(glwin *view)
update the OpenGL window menu bar
void allocatoms(project *this_proj)
allocate project data
G_MODULE_EXPORT void update_vect(GtkEntry *entry, gpointer data)
update lattice vector component
GtkWidget * create_action_combo(int id, project *this_proj)
create action combo box
GtkWidget * create_atoms_tree(atom_search *asearch, project *this_proj, int na)
create atom search tree view
void clean_all_trees(atom_search *asearch, project *this_proj)
clean all tree models in the 'model edition' window
G_MODULE_EXPORT gboolean to_update_box(GtkWidget *widg, GdkEventFocus *event, gpointer data)
void set_img_lights(project *this_proj, image *img)
initialize lightning for an image data structure
int clean_xml_data(xmlDoc *doc, xmlTextReaderPtr reader)
free XML data
crystal_data * free_crystal_data(crystal_data *cryst)
free crystal data pointer
int insert_this_project_from_lib(int id, gboolean visible, project *this_proj, atom_search *asearch)
insert object from the library
gchar * replace_markup(char *init, char *key, char *rep)
replace pattern in string
void to_insert_in_project(int stat, int orig, project *this_proj, atom_search *asearch, gboolean visible)
to insert object in project
crystal_data * allocate_crystal_data(int objects, int species)
allocate crystal data pointer
G_MODULE_EXPORT void set_mode(GtkWidget *widg, gpointer data)
set mouse mode callback
void shift_it(vec3_t shift, int refresh, int proj)
shift atomic coordinates
atom_search * insert_search
double get_value_from_pos(gchar *pos)
get position double value from string description
void image_init_spec_data(image *img, project *this_proj, int nsp)
initialize the chemical species related pointers in an image data structure
space_group * read_sg_xml_file(const char *filetoread)
read space group data from XML file
Global variable declarations Global convenience function declarations Global data structure defin...