58 return m4_ortho (0.0,
wingl -> view_port.y, 0.0,
wingl -> view_port.z, 1.0, 0.0);
98 switch (
plot -> acl_format[
id])
110 str = g_strdup_printf (
"%d", at.
id+1);
128 tmp = g_strdup_printf (
"%s*", str);
130 str = g_strdup_printf (
"%s", tmp);
166 g_debug (
"Label LIST");
177 if (
plot -> at_data[i].show[0] &&
plot -> at_data[i].
label[0])
182 if (
plot -> draw_clones)
196 ato.
pick[0] =
plot -> at_data[k].pick[0];
197 ato.
pick[1] =
plot -> at_data[k].pick[1];
205 ato.
pick[0] =
plot -> at_data[j].pick[0];
206 ato.
pick[1] =
plot -> at_data[j].pick[1];
221 if (
plot -> draw_clones)
integer(kind=c_int) function chemistry()
void label(cairo_t *cr, double val, int axe, int p, project *this_proj)
draw axis label
void clean_labels(int id)
clean atomic label shaders
void prepare_label(atom at, int id, double al)
prepare an atomic label OpenGL rendering
ColRGBA init_color(int id, int numid)
initialize color based id number over total number of elements
float get_sphere_radius(int style, int sp, int ac, int sel)
get an atom sphere radius
int create_label_lists()
prepare atomic label(s) OpenGL rendering
mat4_t create_label_matrices()
create label projection matrices
ColRGBA get_atom_color(int i, int j, double al, int picked, gboolean to_pick)
get atom (or clone) color
Variable declarations for the creation of the DL_POLY input file(s)
gboolean in_movie_encoding
Global variable declarations Global convenience function declarations Global data structure defin...
Variable declarations related to the OpenGL window Function declarations related to the OpenGL wind...
void cleaning_shaders(glwin *view, int shader)
re-initialize an OpenGL shader
gchar * exact_name(gchar *name)
short cut to print string without spaces
Messaging function declarations.
void prepare_string(char *text, int id, ColRGBA col, vec3_t pos, float lshift[3], atom *at, atom *bt, atom *ct)
prepare a screen string to be rendered
void render_all_strings(int glsl, int id)
render all string to be rendered for a label list