bug repair: loading .png image, from Adrian Daerr
[gpiv.git] / src / display_piv.h
blob508e54019664490b47e7acc8b9af54247f27f87d
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
6 libraries.
8 Copyright (C) 2006, 2007, 2008
9 Gerber van der Graaf <gerber_graaf@users.sourceforge.net>
11 This file is part of gpiv.
13 Gpiv is free software; you can redistribute it and/or modify
14 it under the terms of the GNU General Public License as published by
15 the Free Software Foundation; either version 2, or (at your option)
16 any later version.
18 This program is distributed in the hope that it will be useful,
19 but WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 GNU General Public License for more details.
23 You should have received a copy of the GNU General Public License
24 along with this program; if not, write to the Free Software Foundation,
25 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27 ----------------------------------------------------------------------*/
29 #ifndef DISPLAY_PIV_H
30 #define DISPLAY_PIV_H
33 * PIV vectors in a Gnome canvas
35 /* Determines maximum for scaling */
36 gfloat
37 dxdy_min (GpivPivData *piv_data);
39 gfloat
40 dxdy_max (GpivPivData *piv_data);
42 /* Displays a single PIV vector */
43 void
44 create_vector (PivData *pida,
45 guint i,
46 guint j);
48 /* Updates a single PIV vector */
49 void
50 update_vector (PivData *pida,
51 guint i,
52 guint j);
54 /* Destroys a single PIV vector */
55 void
56 destroy_vector (PivData *pida,
57 guint i,
58 guint j);
60 /* Displays all PIV vectors*/
61 void
62 create_all_vectors (PivData *pida);
64 /* Shows all PIV vectors */
65 void
66 show_all_vectors (PivData *pida);
68 /* Hides all PIV vectors */
69 void
70 hide_all_vectors (PivData *pida);
72 /* Updates all PIV vectors */
73 void
74 update_all_vectors (PivData *pida);
76 /* Destroys all PIV vectors */
77 void
78 destroy_all_vectors (PivData *pida);
81 #endif /* DISPLAY_PIV_H */