Functions to create the 'Spin' window.
More...
#include "global.h"
#include "glview.h"
Go to the source code of this file.
|
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
|
|
◆ rotate_x_y()
void rotate_x_y |
( |
glwin * | view, |
|
|
double | angle_x, |
|
|
double | angle_y ) |
|
extern |
rotate the OpenGL camera
- Parameters
-
view | the target glwin |
angle_x | camera angle on x axis |
angle_y | camera angle on y axis |
Definition at line 1078 of file glview.c.
◆ save_rotation_quaternion()
void save_rotation_quaternion |
( |
glwin * | view | ) |
|
|
extern |
save the rotation quaternion of the last image
- Parameters
-
Definition at line 537 of file glview.c.
◆ spin()
gboolean spin |
( |
gpointer | data | ) |
|
spin
- Parameters
-
data | the 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
-
but | the GtkButton sending the signal |
data | the 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
-
but | the GtkButton sending the signal |
data | the 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
-
widg | the GtkWidget sending the signal |
data | the associated data pointer |
Definition at line 158 of file w_spiner.c.