1 /*----------------------------------------------------------------------
3 gpiv - Graphic program for Particle Image Velocimetry, based on gtk/gnome
6 Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008
7 Gerber van der Graaf <gerber_graaf@users.sourceforge.net>
9 This file is part of gpiv.
11 Gpiv is free software; you can redistribute it and/or modify
12 it under the terms of the GNU General Public License as published by
13 the Free Software Foundation; either version 2, or (at your option)
16 This program is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 GNU General Public License for more details.
21 You should have received a copy of the GNU General Public License
22 along with this program; if not, write to the Free Software Foundation,
23 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25 ----------------------------------------------------------------------*/
28 * $Log: preferences.h,v $
29 * Revision 1.13 2008-10-09 14:43:37 gerber
30 * paralellized with OMP and MPI
32 * Revision 1.12 2007-12-19 08:42:35 gerber
35 * Revision 1.11 2007-03-22 16:00:32 gerber
36 * Added image processing tabulator
38 * Revision 1.10 2007/02/05 15:17:09 gerber
39 * auto stretching, broadcast display settings to buffers from preferences
41 * Revision 1.9 2007-01-29 11:27:44 gerber
42 * added image formats png, gif, tif png, bmp, improved buffer display
44 * Revision 1.8 2006-09-18 07:27:06 gerber
45 * *** empty log message ***
47 * Revision 1.7 2006/01/31 14:28:13 gerber
50 * Revision 1.5 2005/01/19 15:53:43 gerber
51 * Initiation of Data Acquisition (DAC); trigerring of lasers and camera
52 * by using RTAI and Realtime Linux, recording images from IEEE1394
53 * (Firewire) IIDC compliant camera's
55 * Revision 1.4 2004/06/14 21:19:23 gerber
56 * Image depth up to 16 bits.
57 * Improvement "single int" and "drag int" in Eval tab.
58 * Viewer's pop-up menu.
59 * Adaption for gpiv_matrix_* and gpiv_vector_*.
61 * See Changelog for further info.
63 * Revision 1.3 2003/08/22 15:24:53 gerber
64 * interactive spatial scaling
66 * Revision 1.2 2003/07/25 15:40:24 gerber
67 * removed/disabled setting of correlation in Eval tab, Correlation type in Image info tab
69 * Revision 1.1.1.1 2003/06/17 17:10:52 gerber
76 /* #ifdef HAVE_CONFIG_H */
77 /* # include <config.h> */
82 /*------------------------------------------------------------------------
83 * widgets from preferences
87 create_preferences (GpivConsole
*gpiv
);
91 on_checkbutton_gpivbuttons_activate (GtkWidget
*widget
,
95 on_checkbutton_tab_activate (GtkWidget
*widget
,
99 on_radiobutton_imgfmt (GtkWidget
*widget
,
103 on_radiobutton_datafmt (GtkWidget
*widget
,
107 /* on_checkbutton_hdf_activate(GtkWidget *widget, */
108 /* gpointer data); */
111 on_checkbutton_xcorr_activate (GtkWidget
*widget
,
117 on_checkbutton_tooltips_activate (GtkWidget
*widget
,
122 on_checkbutton_process_cam_activate (GtkWidget
*widget
,
124 #endif /* ENABLE_CAM */
128 on_checkbutton_process_trig_activate (GtkWidget
*widget
,
130 #endif /* ENABLE_TRIG */
132 #ifdef ENABLE_IMGPROC
134 on_checkbutton_process_imgproc_activate (GtkWidget
*widget
,
136 #endif /* ENABLE_IMGPROC */
139 on_checkbutton_process_piv_activate (GtkWidget
*widget
,
143 on_checkbutton_process_gradient_activate (GtkWidget
*widget
,
147 on_checkbutton_process_resstats_activate (GtkWidget
*widget
,
151 on_checkbutton_process_errvec_activate (GtkWidget
*widget
,
155 on_checkbutton_process_peaklck_activate (GtkWidget
*widget
,
159 on_checkbutton_process_scale_activate (GtkWidget
*widget
,
163 on_checkbutton_process_avg_activate (GtkWidget
*widget
,
167 on_checkbutton_process_subtract_activate (GtkWidget
*widget
,
171 on_checkbutton_process_vorstra_activate (GtkWidget
*widget
,
175 on_spinbutton_bins_activate (GtkWidget
*widget
,
180 on_spinbutton_nodes (GtkSpinButton
*widget
,
182 #endif /* ENABLE_MPI */
185 on_radiobutton_display_zoomscale (GtkWidget
*widget
,
189 on_radiobutton_display_background (GtkWidget
*widget
,
193 on_radiobutton_display_vecscale (GtkWidget
*widget
,
197 on_radiobutton_display_veccolor (GtkWidget
*widget
,
201 on_checkbutton_display_display_intregs (GtkWidget
*widget
,
205 on_checkbutton_display_display_piv (GtkWidget
*widget
,
209 on_radiobutton_display_scalar(GtkWidget
*widget
,
214 on_checkbutton_display_view_menubar_activate (GtkWidget
*widget
,
218 on_checkbutton_display_view_rulers_activate (GtkWidget
*widget
,
222 on_checkbutton_display_stretch_auto_activate (GtkWidget
*widget
,
226 on_preferences_response (GtkDialog
*dialog
,
231 apply_gpivpar (GpivConsole
* gpiv
);
235 store_defaultpar (void);
237 #endif /* PREFERENCES_H */