OSDN Git Service

Merge branch 'master' of git://git.sourceforge.jp/gitroot/eos/base
[eos/hostdependX86LINUX64.git] / include / lltlg2mrc.h
1 #ifndef LLTLG_2_MRC_H
2 #define LLTLG_2_MRC_H
3
4 #include <stdio.h>
5 #include <stdlib.h>
6 #include <string.h>
7 #include <math.h>
8 #define DEBUG
9 #include "genUtil.h"
10 #include "File.h"
11 #include "String.h"
12 #include "ltlgData.h"
13 #include "mrcImage.h"
14
15 /* struct begin */
16 typedef struct lltlg2mrcInfo {
17             long flagIn;
18                 char* In;
19         FILE* fptIn;
20         long flagOut;
21         char* Out;
22         FILE* fptOut;
23         long flagconfigFile;
24         FILE* fptconfigFile;
25         long flagTitle;
26         char* Title;
27         long flagdelta;
28         float delta;
29             long flagRepeatDistance;
30                 float RepeatDistance;
31         long flagrMax;
32         float rMax;
33         long flagphiStart;
34         float phiStart;
35         long flagzMin;
36         float zMin;
37         long flagzMax;
38         float zMax;
39         long flagdeltaz;
40         float deltaz;
41         long flagWeightOf0thLayer;
42         float WeightOf0thLayer;
43         long flagLayer;
44                 FILE* fptLayer;
45         long f99;
46         long flagCUT;
47         float CUT;
48         long flagMean;
49         float Mean;
50         long flagSigma;
51         float Sigma;
52         long Inverse;
53         long notInteractive;
54         long AntiPole;
55         long mode;
56 } lltlg2mrcInfo;
57 /* struct end */
58
59 /* prototype begin */
60 extern void lltlg2mrc(ltlgData* ltlg, mrcImage* mrc, lltlg2mrcInfo* linfo);
61 extern void ltlg2mrcConfigFileRead(lltlg2mrcInfo* linfo, FILE* fpt);
62 /* prototype end */
63
64 #endif /* LLTLG_2_MRC_H */