Adapted for use on cluster (using MPI/OMP) parallelised gpiv_rr from gpivtools)
[gpiv.git] / src / imgproc_interface.h
blobf5951edf8aa06a0e6305c27c58d7f2dc08f6eac0
2 /*----------------------------------------------------------------------
4 gpiv - Graphic program for Particle Image Velocimetry, based on gtk/gnome
5 libraries.
7 Copyright (C) 2007 Gerber van der Graaf
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)
14 any later version.
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 * Image processing tab
29 * $Log: imgproc_interface.h,v $
30 * Revision 1.1 2008-09-16 10:16:08 gerber
31 * added imgproc routines
34 #ifndef GPIV_IMGPROC_INTERFACE_H
35 #define GPIV_IMGPROC_INTERFACE_H
36 /* #ifdef ENABLE_IMGPROC */
38 typedef struct _ImgfilterVar ImgfilterVar;
39 struct _ImgfilterVar {
40 gint filter_id;
41 gchar *button_label;
42 gchar *label_filtervar_label;
43 gint value;
44 gint upper;
45 gchar *label_step_filter_label;
46 gint count_nr;
47 gchar *appbar_msg;
51 typedef struct _ImgfilterInterface ImgfilterInterface;
52 struct _ImgfilterInterface {
53 GtkWidget *button_filter;
54 GtkWidget *label_filtervar;
55 GtkObject *spinbutton_adj_filtervar;
56 GtkWidget *spinbutton_filtervar;
57 GtkWidget *label_step_filter;
61 typedef struct _Imgprocess Imgprocess;
62 struct _Imgprocess {
63 GtkWidget *vbox_label;
64 GtkWidget *label_title;
66 GtkWidget *vbox_scroll;
67 GtkWidget *scrolledwindow;
68 GtkWidget *viewport;
69 GtkWidget *vbox;
70 GtkWidget *table;
72 ImgfilterVar *ivar[IMG_FILTERS];
73 ImgfilterInterface *imf_inf[IMG_FILTERS];
75 GtkWidget *button;
79 Imgprocess *
80 create_imgproc(GnomeApp *main_window,
81 GtkWidget *container);
83 /* #endif */ /* ENABLE_IMGPROC */
84 #endif /* GPIV_IMGPROC_INTERFACE_H */