source: SH_SHM/trunk/source/fctxpm.h @ 374

Revision 16, 4.3 KB checked in by marcus, 15 years ago (diff)

r1 | svn | 2007-12-13 11:10:29 +0100 (Do, 13 Dez 2007) | 2 lines

Initial import

Line 
1
2/* file FCTXPM.H
3 *      ========
4 *
5 * version 4, 22-May-2006
6 *
7 * prototypes of module SHPM
8 * K. Stammler, 3-NOV-1990
9 */
10
11
12/*
13 *
14 *  SeismicHandler, seismic analysis software
15 *  Copyright (C) 1996,  Klaus Stammler, Federal Institute for Geosciences
16 *                                       and Natural Resources (BGR), Germany
17 *
18 *  This program is free software; you can redistribute it and/or modify
19 *  it under the terms of the GNU General Public License as published by
20 *  the Free Software Foundation; either version 2 of the License, or
21 *  (at your option) any later version.
22 *
23 *  This program is distributed in the hope that it will be useful,
24 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
25 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26 *  GNU General Public License for more details.
27 *
28 *  You should have received a copy of the GNU General Public License
29 *  along with this program; if not, write to the Free Software
30 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
31 *
32 */
33
34
35#ifndef __FCTXPM
36#define __FCTXPM
37
38
39#define PMC_MAXPM 25
40        /* maximum number of diagrams per window */
41
42
43/*---------------------------------------------------------------------*/
44
45
46void pm_setoutput( CHMAP wdw );
47
48/* sets output window
49 *
50 * parameter of routine
51 * CHMAP     wdw;       input; window channel(s)
52 */
53
54
55/*---------------------------------------------------------------------*/
56
57
58void pm_fixedwdw( CHMAP ch, SAMPLE *x[], SAMPLE *y[], int trcno,
59        long lth, char *cmt[], float zoom[], REAL begcirc, STATUS *status );
60
61/* draws fixed window particle motion diagram
62 *
63 * parameters of routine
64 * CHMAP      ch;         input; current graphic channel(s)
65 * SAMPLE     *x[];       input; x coordinates
66 * SAMPLE     *y[];       input; y coordinates
67 * int        trcno;      input; number of diagrams
68 * long       lth;        input; length of arrays in samples
69 * char       *cmt[];     input; comment lines
70 * float      zoom[];     input; zoom factors of traces
71 * REAL       begcirc;    input; radius of start circle (drawn if > 0)
72 * STATUS     *status;    output; return status
73 */
74
75
76/*---------------------------------------------------------------------*/
77
78
79void pm_varwdw( CHMAP ch, SAMPLE *x[], SAMPLE *y[], int trcno,
80        REAL mintime, REAL maxtime, REAL origtime, REAL dt, char *cmt[],
81        float zoom[], REAL loy, REAL hiy, REAL begcirc, STATUS *status );
82
83/* draws variable window particle motion diagrams
84 *
85 * parameters of routine
86 * CHMAP      ch;         input; current graphic channel(s)
87 * SAMPLE     *x[];       input; x coordinates
88 * SAMPLE     *y[];       input; y coordinates
89 * int        trcno;      input; number of diagrams
90 * REAL       mintime;    input; minimum time (start time of traces)
91 * REAL       maxtime;    input; maximum time (start time of traces)
92 * REAL       origtime;   input; start of pm window
93 * REAL       dt;         input; sample distance
94 * char       *cmt[];     input; comment lines
95 * float      zoom[];     input; zoom factors of traces
96 * REAL       loy, hiy;   input; y range in trace window "ch"
97 * REAL       begcirc;    input; radius of start circle (drawn if > 0)
98 * STATUS     *status;    output; return status
99 */
100
101
102/*---------------------------------------------------------------------*/
103
104
105void pm_movewdw( CHMAP ch, SAMPLE *x[], SAMPLE *y[], int trcno,
106        REAL mintime, REAL maxtime, REAL width, REAL dt, char *cmt[],
107        float zoom[], REAL loy, REAL hiy, REAL begcirc, STATUS *status );
108
109/* draws variable window particle motion diagrams
110 *
111 * parameters of routine
112 * CHMAP      ch;         input; current graphic channel(s)
113 * SAMPLE     *x[];       input; x coordinates
114 * SAMPLE     *y[];       input; y coordinates
115 * int        trcno;      input; number of diagrams
116 * REAL       mintime;    input; minimum time (start time of traces)
117 * REAL       maxtime;    input; maximum time (start time of traces)
118 * REAL       width;      input; width of pm window
119 * REAL       dt;         input; sample distance
120 * char       *cmt[];     input; comment lines
121 * float      zoom[];     input; zoom factor of traces
122 * REAL       loy, hiy;   input; y range in trace window "ch"
123 * REAL       begcirc;    input; radius of start circle (drawn if > 0)
124 * STATUS     *status;    output; return status
125 */
126
127
128/*---------------------------------------------------------------------*/
129
130#endif /* __FCTXPM */
Note: See TracBrowser for help on using the repository browser.