OSDN Git Service

Merge branch 'master' of git.sourceforge.jp:/gitroot/eos/base
[eos/hostdependX86LINUX64.git] / include / mrcImageMasking.h
1 #ifndef MRCIMAGEMASKING_H
2 #define MRCIMAGEMASKING_H
3 #include <stdio.h>
4 #include <stdlib.h>
5
6 #define OPTION_FLAG     '-'
7 #define OPTION_FLAG_POS (0)
8 #define OPTION_POS      (1)
9
10
11
12
13 typedef struct mrcImageMaskingInfo {
14     long flagRedirect;
15
16     long flagIn;
17     char* In;
18     FILE* fptIn;
19     
20     long flagOut;
21     char* Out;
22     FILE* fptOut;
23     
24     long flagnx;
25     long nx;
26     
27     long flagny;
28     long ny;
29     
30     long flagShape;
31     long Shape;
32     
33     long flagNormalize;
34     long Normalize;
35     
36     long flagconfigFile;
37     char* configFile;
38     FILE* fptconfigFile;
39     
40     long flagmode;
41     long mode;
42     
43 } mrcImageMaskingInfo;
44 #ifdef __cplusplus
45 extern "C" {
46 #endif
47 extern void argCheck(mrcImageMaskingInfo* info, int argc, char* avgv[]);
48 extern void khorosInit(int argc, char* avgv[]);
49 extern void init0(mrcImageMaskingInfo* info);
50 extern void init1(mrcImageMaskingInfo* info);
51 extern void usage(char* usage);
52 extern void additionalUsage(void);
53 extern void htmlBeforeUsage(char* usage);
54 extern void htmlAfterUsage(char* usage);
55 #ifdef __cplusplus
56 };
57 #endif
58 #endif /* MRCIMAGEMASKING_H */