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

Functions to create the 'slab cutting' tab of the cell edition window. More...

#include "cell_edit.h"
#include "atom_edit.h"
+ Include dependency graph for cell_cut.c:

Go to the source code of this file.

Functions

G_MODULE_EXPORT void set_filter_changed (GtkComboBox *box, gpointer data)
 change the search filter
 
G_MODULE_EXPORT void setup_passivate (GtkButton *but, gpointer data)
 passivate button callback
 
void create_slab_info (project *this_proj)
 create slab information widget
 
G_MODULE_EXPORT void set_slab_property (GtkToggleButton *but, gpointer data)
 set slab property toggle callback GTK3
 
GtkWidget * prepare_slab_box (int sid, project *this_proj)
 create slab parameters widget box
 
G_MODULE_EXPORT void set_slab_option (GtkComboBox *box, gpointer data)
 change slab option combo
 
GtkWidget * create_slab_param_combo (int sid, project *this_proj)
 create slab parameters combo widget
 
G_MODULE_EXPORT void set_slab_type (GtkComboBox *box, gpointer data)
 change slab type
 
void slab_alpha_has_changed (gpointer data, GLfloat v)
 change slab opacity
 
G_MODULE_EXPORT gboolean scroll_set_slab_alpha (GtkRange *range, GtkScrollType scroll, gdouble value, gpointer data)
 change slab opactiy callback - scoll
 
G_MODULE_EXPORT void set_slab_alpha (GtkRange *range, gpointer data)
 change slab opactiy callback - range
 
void invert_selection (project *this_proj)
 invert atom(s) selection
 
G_MODULE_EXPORT void select_this_slab (GtkButton *but, gpointer data)
 select / unselect atom(s) in slab callback
 
G_MODULE_EXPORT void cut_this_slab (GtkButton *but, gpointer data)
 cut this slab callback
 
GtkWidget * cut_in_model (project *this_proj)
 create the cut slab tab
 

Detailed Description

Functions to create the 'slab cutting' tab of the cell edition window.

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 cell_cut.c.

Function Documentation

◆ create_slab_info()

void create_slab_info ( project * this_proj)

create slab information widget

Parameters
this_projthe target project

Definition at line 109 of file cell_cut.c.

◆ create_slab_param_combo()

GtkWidget * create_slab_param_combo ( int sid,
project * this_proj )

create slab parameters combo widget

Parameters
sidthe slab type
this_projthe target project

Definition at line 309 of file cell_cut.c.

◆ cut_in_model()

GtkWidget * cut_in_model ( project * this_proj)

create the cut slab tab

Parameters
this_projthe target project

Definition at line 659 of file cell_cut.c.

◆ cut_this_slab()

G_MODULE_EXPORT void cut_this_slab ( GtkButton * but,
gpointer data )

cut this slab callback

Parameters
butthe GtkButton sending the signal
datathe associated data pointer

Definition at line 493 of file cell_cut.c.

◆ invert_selection()

void invert_selection ( project * this_proj)

invert atom(s) selection

Parameters
this_projthe target project

Definition at line 404 of file cell_cut.c.

◆ prepare_slab_box()

GtkWidget * prepare_slab_box ( int sid,
project * this_proj )

create slab parameters widget box

Parameters
sidthe type of slab
this_projthe target project

Definition at line 228 of file cell_cut.c.

◆ scroll_set_slab_alpha()

G_MODULE_EXPORT gboolean scroll_set_slab_alpha ( GtkRange * range,
GtkScrollType scroll,
gdouble value,
gpointer data )

change slab opactiy callback - scoll

Parameters
rangethe GtkRange sending the signal
scrollthe associated scroll type
valuethe range value
datathe associated data pointer

Definition at line 378 of file cell_cut.c.

◆ select_this_slab()

G_MODULE_EXPORT void select_this_slab ( GtkButton * but,
gpointer data )

select / unselect atom(s) in slab callback

Parameters
butthe GtkButton sending the signal
datathe associated data pointer

Definition at line 462 of file cell_cut.c.

◆ set_filter_changed()

G_MODULE_EXPORT void set_filter_changed ( GtkComboBox * box,
gpointer data )
extern

change the search filter

Parameters
boxthe GtkComboBox sending the signal
datathe associated data pointer

Definition at line 3858 of file w_search.c.

◆ set_slab_alpha()

G_MODULE_EXPORT void set_slab_alpha ( GtkRange * range,
gpointer data )

change slab opactiy callback - range

Parameters
rangethe GtkRange sending the signal
datathe associated data pointer

Definition at line 392 of file cell_cut.c.

◆ set_slab_option()

G_MODULE_EXPORT void set_slab_option ( GtkComboBox * box,
gpointer data )

change slab option combo

Parameters
boxthe GtkComboBox sending the signal
datathe associated data pointer

Definition at line 271 of file cell_cut.c.

◆ set_slab_property()

G_MODULE_EXPORT void set_slab_property ( GtkToggleButton * but,
gpointer data )

set slab property toggle callback GTK3

Parameters
butthe GtkToggleButton sending the signal
datathe associated data pointer

Definition at line 162 of file cell_cut.c.

◆ set_slab_type()

G_MODULE_EXPORT void set_slab_type ( GtkComboBox * box,
gpointer data )

change slab type

Parameters
boxthe GtkComboBox sending the signal
datathe associated data pointer

Definition at line 333 of file cell_cut.c.

◆ setup_passivate()

G_MODULE_EXPORT void setup_passivate ( GtkButton * but,
gpointer data )

passivate button callback

Parameters
butthe GtkButton sending the signal
datathe associated data pointer

Definition at line 67 of file cell_cut.c.

◆ slab_alpha_has_changed()

void slab_alpha_has_changed ( gpointer data,
GLfloat v )

change slab opacity

Parameters
datathe associated data pointer
vthe new opacity value

Definition at line 357 of file cell_cut.c.