atomes 1.2.1
atomes: an atomic scale modeling tool box
Loading...
Searching...
No Matches
init_p.c File Reference

Functions to initialize an atomes project. More...

#include "global.h"
#include "bind.h"
#include "callbacks.h"
#include "interface.h"
#include "preferences.h"
#include "project.h"
#include "curve.h"
#include "glview.h"
#include "glwindow.h"
+ Include dependency graph for init_p.c:

Go to the source code of this file.

Functions

void init_camera (project *this_proj, int get_depth)
 initialize the OpenGL camera settings
 
void setup_default_image (project *this_proj, image *img)
 setup default image parameters
 
void clean_atom_style (project *this_proj)
 clean all atom(s) possible alternative rendering styles
 
void setup_default_species_parameters_for_image (project *this_proj, image *img)
 setup default chemical species related parameters for image
 
void init_shaders (glwin *view)
 initialize all the OpenGL shaders
 
G_MODULE_EXPORT void box_advanced (GtkWidget *widg, gpointer data)
 create the box edition window
 
G_MODULE_EXPORT void axis_advanced (GtkWidget *widg, gpointer data)
 create the axis advanced parameters window
 
G_MODULE_EXPORT void representation_advanced (GtkWidget *widg, gpointer data)
 open advanced representation dialog
 
G_MODULE_EXPORT void opengl_advanced (GtkWidget *widg, gpointer data)
 create OpenGL rendering advanced window
 
void update_gradient_widgets (gradient_edition *gradient_win, background *back)
 update the widgets of the gradient window
 
G_MODULE_EXPORT void gradient_advanced (GtkWidget *widg, gpointer data)
 Background configuration window.
 
void init_curves_and_calc (project *this_proj)
 for a project reset analysis, curves, data to not performed
 
void apply_default_parameters_to_project (project *this_proj)
 apply new default parameters to project
 
void init_project (gboolean alloc_box)
 initialize a new project
 

Detailed Description

Functions to initialize an atomes project.

Author
Sébastien Le Roux sebas.nosp@m.tien.nosp@m..lero.nosp@m.ux@i.nosp@m.pcms..nosp@m.unis.nosp@m.tra.f.nosp@m.r

Definition in file init_p.c.

Function Documentation

◆ apply_default_parameters_to_project()

void apply_default_parameters_to_project ( project * this_proj)

apply new default parameters to project

Parameters
this_projthe target project

Definition at line 86 of file init_p.c.

◆ axis_advanced()

G_MODULE_EXPORT void axis_advanced ( GtkWidget * widg,
gpointer data )
extern

create the axis advanced parameters window

Parameters
widgthe GtkWidget sending the signal
datathe associated data pointer

Definition at line 786 of file w_axis.c.

◆ box_advanced()

G_MODULE_EXPORT void box_advanced ( GtkWidget * widg,
gpointer data )
extern

create the box edition window

Parameters
widgthe GtkWidget sending the signal
datathe associated data pointer

Definition at line 338 of file w_box.c.

◆ clean_atom_style()

void clean_atom_style ( project * this_proj)
extern

clean all atom(s) possible alternative rendering styles

Parameters
this_projthe target project

Definition at line 74 of file m_style.c.

◆ gradient_advanced()

G_MODULE_EXPORT void gradient_advanced ( GtkWidget * widg,
gpointer data )
extern

Background configuration window.

Parameters
widgthe widget sending the signal, if any
theassociated data pointer

Definition at line 434 of file w_colors.c.

◆ init_camera()

void init_camera ( project * this_proj,
int get_depth )
extern

initialize the OpenGL camera settings

Parameters
this_projthe target project
get_depthestimate the OpenGL depth ? (1/0)

Definition at line 1170 of file glview.c.

◆ init_curves_and_calc()

void init_curves_and_calc ( project * this_proj)

for a project reset analysis, curves, data to not performed

Parameters
this_projthe target project

Definition at line 68 of file init_p.c.

◆ init_project()

void init_project ( gboolean alloc_box)

initialize a new project

Parameters
alloc_boxallocate data for the MD box (1/0)

Definition at line 163 of file init_p.c.

◆ init_shaders()

void init_shaders ( glwin * view)
extern

initialize all the OpenGL shaders

Parameters
viewthe target glwin

Definition at line 783 of file ogl_shading.c.

◆ opengl_advanced()

G_MODULE_EXPORT void opengl_advanced ( GtkWidget * widg,
gpointer data )
extern

create OpenGL rendering advanced window

Parameters
widgthe GtkWidget sending the signal
datathe associated data pointer

Definition at line 1670 of file w_advance.c.

◆ representation_advanced()

G_MODULE_EXPORT void representation_advanced ( GtkWidget * widg,
gpointer data )
extern

open advanced representation dialog

Parameters
widgthe GtkWidget sending the signal
datathe associated data pointer

Definition at line 424 of file m_rep.c.

◆ setup_default_image()

void setup_default_image ( project * this_proj,
image * img )
extern

setup default image parameters

Parameters
this_projthe target project
imgthe target image

Definition at line 1344 of file glview.c.

◆ setup_default_species_parameters_for_image()

void setup_default_species_parameters_for_image ( project * this_proj,
image * img )
extern

setup default chemical species related parameters for image

Parameters
this_projthe target project
imgthe target image

Definition at line 1218 of file glview.c.

◆ update_gradient_widgets()

void update_gradient_widgets ( gradient_edition * gradient_win,
background * back )
extern

update the widgets of the gradient window

Parameters
gradient_winthe target gradient edition
backthe target background information

Definition at line 84 of file w_colors.c.