added gpiv_logo.xpm
[gpiv.git] / src / display_piv.h
blob155fc10c6cecdd5933c59d84d0684962f87e2530
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 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)
15 any later version.
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 ----------------------------------------------------------------------*/
28 #ifndef DISPLAY_PIV_H
29 #define DISPLAY_PIV_H
32 * PIV vectors in a Gnome canvas
34 /* Determines maximum for scaling */
35 gfloat
36 dxdy_min (GpivPivData *piv_data);
38 gfloat
39 dxdy_max (GpivPivData *piv_data);
41 /* Displays a single PIV vector */
42 void
43 create_vector (PivData *pida,
44 guint i,
45 guint j);
47 /* Updates a single PIV vector */
48 void
49 update_vector (PivData *pida,
50 guint i,
51 guint j);
53 /* Destroys a single PIV vector */
54 void
55 destroy_vector (PivData *pida,
56 guint i,
57 guint j);
59 /* Displays all PIV vectors*/
60 void
61 create_all_vectors (PivData *pida);
63 /* Shows all PIV vectors */
64 void
65 show_all_vectors (PivData *pida);
67 /* Hides all PIV vectors */
68 void
69 hide_all_vectors (PivData *pida);
71 /* Updates all PIV vectors */
72 void
73 update_all_vectors (PivData *pida);
75 /* Destroys all PIV vectors */
76 void
77 destroy_all_vectors (PivData *pida);
80 #endif /* DISPLAY_PIV_H */