atomes 1.1.16
atomes: an atomic scale modeling tool box
Loading...
Searching...
No Matches
glwin Struct Reference

#include <glwin.h>

+ Collaboration diagram for glwin:

Data Fields

gboolean init
 
int proj
 
GtkWidget * win
 
GtkWidget * menu_box
 
GtkWidget * menu_bar
 
GtkWidget * camera_widg [7]
 
GtkWidget * rbuild [2]
 
GtkWidget * cbuilder
 
vec3_t model_position
 
vec4_t view_port
 
mat4_t projection_matrix
 
mat4_t model_matrix
 
mat4_t view_matrix
 
mat4_t un_view_matrix
 
mat4_t model_view_matrix
 
mat4_t view_model_matrix
 
mat4_t proj_model_matrix
 
mat4_t proj_model_view_matrix
 
mat4_t proj_view_matrix
 
mat4_t normal_matrix
 
mat4_t axis_proj_model_view_matrix
 
mat4_t label_projection_matrix
 
gboolean create_shaders [NGLOBAL_SHADERS]
 
glsl_program *** ogl_glsl [NGLOBAL_SHADERS]
 
int * n_shaders [NGLOBAL_SHADERS]
 
opengl_editionopengl_win
 
model_editionmodel_win [2]
 
builder_editionbuilder_win
 
GtkWidget * plot
 
GLXContext glcontext
 
int pixels [2]
 
int mouseX
 
int mouseY
 
int mouseButton
 
int mouseAction
 
int mouseStatus
 
int nth_copy
 
gboolean to_pick
 
int mode
 
int selection_mode
 
atom_selectiontmp_sel [2]
 
int * stored_labels [2]
 
int other_status
 
coord_editioncoord_win
 
int cmap [ATOM_MAPS]
 
atom_editionatom_win
 
double ** saved_coord [3]
 
cell_editioncell_win
 
atom_searchsearch_widg [9]
 
vec3_t baryc [3]
 
vec3_t insert_coords
 
float edition_param [3][2][6]
 
tintcolorp [64]
 
colormapcustom_map
 
int allbonds [2]
 
int ** bonds
 
int **** bondid
 
vec3_t ** clones
 
gboolean prepare_motion
 
gboolean was_moved
 
gboolean rebuild [2][2]
 
gboolean bonding
 
gboolean adv_bonding [2]
 
qint ** gcid [10]
 
gboolean rings
 
int ring_max [5]
 
int ** num_rings [5]
 
int **** all_rings [5]
 
gboolean *** show_rpoly [5]
 
gboolean chains
 
int chain_max
 
int ** num_chains
 
int **** all_chains
 
gboolean volumes
 
double * atoms_volume [FILLED_STYLES]
 
double * atoms_ppvolume [FILLED_STYLES]
 
double ** volume_box [FILLED_STYLES]
 
gboolean comp_vol [FILLED_STYLES]
 
double ** frag_mol_volume [2][FILLED_STYLES]
 
double ** frag_mol_ppvolume [2][FILLED_STYLES]
 
double *** frag_box [FILLED_STYLES]
 
gboolean ** fm_comp_vol [2][FILLED_STYLES]
 
int labelled
 
int picked
 
int to_be_picked
 
int atoms_to_be_picked
 
int clones_to_be_picked
 
int bonds_to_be_picked
 
int * color_to_pick
 
sequencerplayer
 
gboolean play
 
gboolean stop
 
gboolean loop
 
int speed
 
spinnerspiner
 
gboolean spin [4]
 
int spin_speed [4]
 
recorderrec
 
gboolean record
 
int frames
 
animationanim
 
double cshift [3]
 
gboolean wrapped
 
measuresmeasure_win
 
volumesvolume_win
 
float zoom_factor
 
GLdouble p_moy
 
gboolean fullscreen
 
int action_id
 
GSimpleActionGroup * action_group
 
GtkWidget * shortcuts
 

Detailed Description

Definition at line 874 of file glwin.h.

Field Documentation

◆ action_group

GSimpleActionGroup* action_group

Definition at line 1093 of file glwin.h.

◆ action_id

int action_id

Definition at line 1092 of file glwin.h.

◆ adv_bonding

gboolean adv_bonding[2]

Is advanced bonding information available,
0 = Fragments,
1 = Molecules

Definition at line 1031 of file glwin.h.

◆ all_chains

int**** all_chains

The chain(s) of atoms

Definition at line 1043 of file glwin.h.

◆ all_rings

int**** all_rings[5]

The ring(s) of atoms

Definition at line 1038 of file glwin.h.

◆ allbonds

int allbonds[2]

Total number of chemical bond(s):
0 = normal bond(s),
1 = cloned bonds

Definition at line 1005 of file glwin.h.

◆ anim

animation* anim

Definition at line 1080 of file glwin.h.

◆ atom_win

atom_edition* atom_win

Definition at line 976 of file glwin.h.

◆ atoms_ppvolume

double* atoms_ppvolume[FILLED_STYLES]

Definition at line 1048 of file glwin.h.

◆ atoms_to_be_picked

int atoms_to_be_picked

Number of atoms that can be picked

Definition at line 1062 of file glwin.h.

◆ atoms_volume

double* atoms_volume[FILLED_STYLES]

Definition at line 1047 of file glwin.h.

◆ axis_proj_model_view_matrix

mat4_t axis_proj_model_view_matrix

Definition at line 928 of file glwin.h.

◆ baryc

vec3_t baryc[3]

Definition at line 989 of file glwin.h.

◆ bondid

int**** bondid

Atoms ID in bonds, by MD step, then 0/1=norm/clones, then bond ID

Definition at line 1009 of file glwin.h.

◆ bonding

gboolean bonding

Definition at line 1030 of file glwin.h.

◆ bonds

int** bonds

Number of bond(s) by MD step, then 0/1=normal/cloned

Definition at line 1008 of file glwin.h.

◆ bonds_to_be_picked

int bonds_to_be_picked

Number of bonds that can be picked (do not include clones)

Definition at line 1064 of file glwin.h.

◆ builder_win

builder_edition* builder_win

Definition at line 936 of file glwin.h.

◆ camera_widg

GtkWidget* camera_widg[7]

Definition at line 911 of file glwin.h.

◆ cbuilder

GtkWidget* cbuilder

Definition at line 913 of file glwin.h.

◆ cell_win

cell_edition* cell_win

Definition at line 978 of file glwin.h.

◆ chain_max

int chain_max

The largest chain size

Definition at line 1041 of file glwin.h.

◆ chains

gboolean chains

Definition at line 1040 of file glwin.h.

◆ clones

vec3_t** clones

List of cloned atomic coordiantes

Definition at line 1012 of file glwin.h.

◆ clones_to_be_picked

int clones_to_be_picked

Number of clones that can be picked

Definition at line 1063 of file glwin.h.

◆ cmap

int cmap[ATOM_MAPS]

Definition at line 975 of file glwin.h.

◆ color_to_pick

int* color_to_pick

The different colors that can be picked

Definition at line 1065 of file glwin.h.

◆ colorp

tint* colorp[64]

Color pointers
these are used to deal with the Callbacks for the OpenGL window,
and are used for atoms / box / axis ...

Definition at line 999 of file glwin.h.

◆ comp_vol

gboolean comp_vol[FILLED_STYLES]

Definition at line 1051 of file glwin.h.

◆ coord_win

coord_edition* coord_win

Definition at line 974 of file glwin.h.

◆ create_shaders

gboolean create_shaders[NGLOBAL_SHADERS]

Definition at line 931 of file glwin.h.

◆ cshift

double cshift[3]

Definition at line 1082 of file glwin.h.

◆ custom_map

colormap* custom_map

User defined color map, if any

Definition at line 1003 of file glwin.h.

◆ edition_param

float edition_param[3][2][6]

Definition at line 994 of file glwin.h.

◆ fm_comp_vol

gboolean** fm_comp_vol[2][FILLED_STYLES]

Definition at line 1055 of file glwin.h.

◆ frag_box

double*** frag_box[FILLED_STYLES]

Definition at line 1054 of file glwin.h.

◆ frag_mol_ppvolume

double** frag_mol_ppvolume[2][FILLED_STYLES]

Definition at line 1053 of file glwin.h.

◆ frag_mol_volume

double** frag_mol_volume[2][FILLED_STYLES]

Definition at line 1052 of file glwin.h.

◆ frames

int frames

Definition at line 1079 of file glwin.h.

◆ fullscreen

gboolean fullscreen

Definition at line 1090 of file glwin.h.

◆ gcid

qint** gcid[10]

Geom colors pointers

Definition at line 1034 of file glwin.h.

◆ glcontext

GLXContext glcontext

Definition at line 941 of file glwin.h.

◆ init

gboolean init

Was rendering initialized (0 = no, 1 = yes)

Definition at line 876 of file glwin.h.

◆ insert_coords

vec3_t insert_coords

Definition at line 990 of file glwin.h.

◆ label_projection_matrix

mat4_t label_projection_matrix

Definition at line 929 of file glwin.h.

◆ labelled

int labelled

Definition at line 1057 of file glwin.h.

◆ loop

gboolean loop

Definition at line 1071 of file glwin.h.

◆ measure_win

measures* measure_win

Definition at line 1085 of file glwin.h.

◆ menu_bar

GtkWidget* menu_bar

Definition at line 882 of file glwin.h.

◆ menu_box

GtkWidget* menu_box

Definition at line 881 of file glwin.h.

◆ mode

int mode

Mouse mode, in:
0 = analyze (default),
1 = edition (default for new project)

Definition at line 955 of file glwin.h.

◆ model_matrix

mat4_t model_matrix

Definition at line 919 of file glwin.h.

◆ model_position

vec3_t model_position

Definition at line 916 of file glwin.h.

◆ model_view_matrix

mat4_t model_view_matrix

Definition at line 922 of file glwin.h.

◆ model_win

model_edition* model_win[2]

Definition at line 935 of file glwin.h.

◆ mouseAction

int mouseAction

Definition at line 948 of file glwin.h.

◆ mouseButton

int mouseButton

Definition at line 947 of file glwin.h.

◆ mouseStatus

int mouseStatus

Definition at line 949 of file glwin.h.

◆ mouseX

int mouseX

Definition at line 945 of file glwin.h.

◆ mouseY

int mouseY

Definition at line 946 of file glwin.h.

◆ n_shaders

int* n_shaders[NGLOBAL_SHADERS]

Definition at line 933 of file glwin.h.

◆ normal_matrix

mat4_t normal_matrix

Definition at line 927 of file glwin.h.

◆ nth_copy

int nth_copy

Definition at line 950 of file glwin.h.

◆ num_chains

int** num_chains

The number of chains (chain size, step)

Definition at line 1042 of file glwin.h.

◆ num_rings

int** num_rings[5]

The number of rings (search type, step, ring size)

Definition at line 1037 of file glwin.h.

◆ ogl_glsl

Definition at line 932 of file glwin.h.

◆ opengl_win

opengl_edition* opengl_win

Definition at line 934 of file glwin.h.

◆ other_status

int other_status

Definition at line 973 of file glwin.h.

◆ p_moy

GLdouble p_moy

Definition at line 1089 of file glwin.h.

◆ picked

int picked

Definition at line 1058 of file glwin.h.

◆ pixels

int pixels[2]

Definition at line 943 of file glwin.h.

◆ play

gboolean play

Definition at line 1069 of file glwin.h.

◆ player

sequencer* player

Definition at line 1068 of file glwin.h.

◆ plot

GtkWidget* plot

Definition at line 939 of file glwin.h.

◆ prepare_motion

gboolean prepare_motion

Definition at line 1014 of file glwin.h.

◆ proj

int proj

Target project

Definition at line 877 of file glwin.h.

◆ proj_model_matrix

mat4_t proj_model_matrix

Definition at line 924 of file glwin.h.

◆ proj_model_view_matrix

mat4_t proj_model_view_matrix

Definition at line 925 of file glwin.h.

◆ proj_view_matrix

mat4_t proj_view_matrix

Definition at line 926 of file glwin.h.

◆ projection_matrix

mat4_t projection_matrix

Definition at line 918 of file glwin.h.

◆ rbuild

GtkWidget* rbuild[2]

Definition at line 912 of file glwin.h.

◆ rebuild

gboolean rebuild[2][2]

Rebuild trigger switch on edition:
[0] = on move:
[0] atom_win active: 0/1 to turn off/on
[1] atom_win inactive: 0/1 to turn off/on
[1] = on copy:
[0] atom_win active: 0/1 to turn off/on
[1] atom_win inactive: 0/1 to turn off/on

Definition at line 1023 of file glwin.h.

◆ rec

recorder* rec

Definition at line 1076 of file glwin.h.

◆ record

gboolean record

Definition at line 1077 of file glwin.h.

◆ ring_max

int ring_max[5]

The largest ring size

Definition at line 1036 of file glwin.h.

◆ rings

gboolean rings

Definition at line 1035 of file glwin.h.

◆ saved_coord

double** saved_coord[3]

Definition at line 977 of file glwin.h.

◆ search_widg

atom_search* search_widg[9]

Definition at line 988 of file glwin.h.

◆ selection_mode

int selection_mode

Mouse selection mode, in:
0 = atom / bond,
1 = total coordination sphere,
2 = partial coordination sphere,
3 = fragment,
4 = molecule,
5 = single fragment,
6 = single molecule,
7 = selection in edition mode

Definition at line 959 of file glwin.h.

◆ shortcuts

GtkWidget* shortcuts

Definition at line 1094 of file glwin.h.

◆ show_rpoly

gboolean*** show_rpoly[5]

Show polyhedra of selected rings

Definition at line 1039 of file glwin.h.

◆ speed

int speed

Definition at line 1072 of file glwin.h.

◆ spin

gboolean spin[4]

Definition at line 1074 of file glwin.h.

◆ spin_speed

int spin_speed[4]

Definition at line 1075 of file glwin.h.

◆ spiner

spinner* spiner

Definition at line 1073 of file glwin.h.

◆ stop

gboolean stop

Definition at line 1070 of file glwin.h.

◆ stored_labels

int* stored_labels[2]

Definition at line 971 of file glwin.h.

◆ tmp_sel

atom_selection* tmp_sel[2]

Definition at line 970 of file glwin.h.

◆ to_be_picked

int to_be_picked

Total number of objects that can be picked

Definition at line 1061 of file glwin.h.

◆ to_pick

gboolean to_pick

Definition at line 951 of file glwin.h.

◆ un_view_matrix

mat4_t un_view_matrix

Definition at line 921 of file glwin.h.

◆ view_matrix

mat4_t view_matrix

Definition at line 920 of file glwin.h.

◆ view_model_matrix

mat4_t view_model_matrix

Definition at line 923 of file glwin.h.

◆ view_port

vec4_t view_port

Definition at line 917 of file glwin.h.

◆ volume_box

double** volume_box[FILLED_STYLES]

Definition at line 1050 of file glwin.h.

◆ volume_win

volumes* volume_win

Definition at line 1086 of file glwin.h.

◆ volumes

gboolean volumes

Definition at line 1046 of file glwin.h.

◆ was_moved

gboolean was_moved

Definition at line 1015 of file glwin.h.

◆ win

GtkWidget* win

Definition at line 879 of file glwin.h.

◆ wrapped

gboolean wrapped

Definition at line 1083 of file glwin.h.

◆ zoom_factor

float zoom_factor

Definition at line 1088 of file glwin.h.


The documentation for this struct was generated from the following file: