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

Functions to create the 'Spin' window. More...

#include "global.h"
#include "glview.h"
+ Include dependency graph for w_spiner.c:

Go to the source code of this file.

Functions

void save_rotation_quaternion (glwin *view)
 save the rotation quaternion of the last image
 
void rotate_x_y (glwin *view, double angle_x, double angle_y)
 rotate the OpenGL camera
 
gboolean spin (gpointer data)
 spin
 
G_MODULE_EXPORT void spin_go (GtkButton *but, gpointer data)
 start spin
 
G_MODULE_EXPORT void spin_stop (GtkButton *but, gpointer data)
 stop spin
 
G_MODULE_EXPORT void window_spinner (GtkWidget *widg, gpointer data)
 create the spin window callback
 

Detailed Description

Functions to create the 'Spin' 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 w_spiner.c.

Function Documentation

◆ rotate_x_y()

void rotate_x_y ( glwin * view,
double angle_x,
double angle_y )
extern

rotate the OpenGL camera

Parameters
viewthe target glwin
angle_xcamera angle on x axis
angle_ycamera angle on y axis

Definition at line 1081 of file glview.c.

◆ save_rotation_quaternion()

void save_rotation_quaternion ( glwin * view)
extern

save the rotation quaternion of the last image

Parameters
viewthe target glwin

Definition at line 543 of file glview.c.

◆ spin()

gboolean spin ( gpointer data)

spin

Parameters
datathe associated data pointer

Definition at line 56 of file w_spiner.c.

◆ spin_go()

G_MODULE_EXPORT void spin_go ( GtkButton * but,
gpointer data )

start spin

Parameters
butthe GtkButton sending the signal
datathe associated data pointer

Definition at line 107 of file w_spiner.c.

◆ spin_stop()

G_MODULE_EXPORT void spin_stop ( GtkButton * but,
gpointer data )

stop spin

Parameters
butthe GtkButton sending the signal
datathe associated data pointer

Definition at line 138 of file w_spiner.c.

◆ window_spinner()

G_MODULE_EXPORT void window_spinner ( GtkWidget * widg,
gpointer data )

create the spin window callback

Parameters
widgthe GtkWidget sending the signal
datathe associated data pointer

Definition at line 158 of file w_spiner.c.