OSDN Git Service

new file: bin/mrc2mrc
[eos/hostdependX86LINUX64.git] / include / mrcImageRotation.h
1 #ifndef MRCIMAGEROTATION_H
2 #define MRCIMAGEROTATION_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 mrcImageRotationInfo {
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 flagAngle;
25     float Angle;
26     
27     long flagconfigFile;
28     char* configFile;
29     FILE* fptconfigFile;
30     
31     long flagmode;
32     long mode;
33     
34 } mrcImageRotationInfo;
35 extern void argCheck(mrcImageRotationInfo* info, int argc, char* avgv[]);
36 extern void init0(mrcImageRotationInfo* info);
37 extern void init1(mrcImageRotationInfo* info);
38 extern void usage(char* usage);
39 extern void additionalUsage(void);
40 extern void htmlBeforeUsage(char* usage);
41 extern void htmlAfterUsage(char* usage);
42 #endif /* MRCIMAGEROTATION_H */