1 /* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 c-style: "K&R" -*- */
3 /*----------------------------------------------------------------------
5 gpiv - Graphic program for Particle Image Velocimetry, based on gtk/gnome
8 Copyright (C) 2002 Gerber van der Graaf
10 This file is part of gpiv.
12 Gpiv is free software; you can redistribute it and/or modify
13 it under the terms of the GNU General Public License as published by
14 the Free Software Foundation; either version 2, or (at your option)
17 This program is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 GNU General Public License for more details.
22 You should have received a copy of the GNU General Public License
23 along with this program; if not, write to the Free Software Foundation,
24 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26 ----------------------------------------------------------------------*/
29 * (callback) functions for Piv evaluation window/tabulator
31 * Revision 1.1 2003-06-17 17:10:52 gerber
41 on_radiobutton_piv_mouse(GtkWidget
*widget
,
45 on_radiobutton_piv_mouse1_enter(GtkWidget
*widget
,
48 on_radiobutton_piv_mouse2_enter(GtkWidget
*widget
,
51 on_radiobutton_piv_mouse3_enter(GtkWidget
*widget
,
54 on_radiobutton_piv_mouse4_enter(GtkWidget
*widget
,
57 on_radiobutton_piv_mouse5_enter(GtkWidget
*widget
,
60 on_radiobutton_piv_mouse6_enter(GtkWidget
*widget
,
63 on_radiobutton_piv_mouse7_enter(GtkWidget
*widget
,
67 /*--------------------------------------------------------------------
68 entries for first, last, and pre-shift columns and rows */
71 on_spinbutton_piv_int(GtkSpinButton
*widget
,
75 /*--------------------------------------------------------------------
76 radio buttons of first, second interrogation sizes and shift (adjacent
80 on_radiobutton_piv_int(GtkWidget
*widget
,
84 on_toggle_piv(GtkWidget
*widget
,
88 on_button_piv(GtkWidget
*widget
,
92 on_toolbar_chackbutton_piv(GtkWidget
*widget
,
95 /*--------------------------------------------------------------------
96 showing interrogation area's, covariance function and
99 on_darea_piv_disprocess_int1_expose (GtkWidget
*widget
,
100 GdkEventExpose
*event
,
104 on_darea_piv_disprocess_int2_expose (GtkWidget
*widget
,
105 GdkEventExpose
*event
,
108 on_darea_piv_disprocess_cov_expose (GtkWidget
*widget
,
109 GdkEventExpose
*event
,
113 on_checkbutton_piv_disprocess_enter(GtkWidget
*widget
,
117 on_checkbutton_piv_disprocess(GtkWidget
*widget
,
121 on_button_piv_enter(GtkWidget
*widget
,
125 adjust_radiobutton_piv_int(PivEval
* piveval
,
130 * Other evaluation functions
133 exec_piv(GpivConsole
* gpiv
);
136 interrogate(PivData
* piv_data
, /* output piv data from image analysis */
137 unsigned char **img_1
, /* raw (binary) image data of first piv image */
138 unsigned char **img_2
, /* raw (binary) image data of second piv image */
139 GpivConsole
*gpiv
); /* console widgets structure */
142 display_piv_vector(gint i
,
148 display_img_intreg1(float **intreg1
,
153 display_img_intreg2(float **intreg2
,
158 display_img_cov(Covariance
* cov
,
162 #endif /* PIVEVAL_H */