OSDN Git Service

Please enter the commit message for your changes. Lines starting
[eos/base.git] / include / mrcImagePrint.h
1 #ifndef MRCIMAGEPRINT_H
2 #define MRCIMAGEPRINT_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 mrcImagePrintInfo {
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 flagthresHigh;
25     float thresHigh;
26     
27     long flagthresLow;
28     float thresLow;
29     
30     long flagsection;
31     char  section;
32     
33     long flagxMin;
34     long xMin;
35     
36     long flagxMax;
37     long xMax;
38     
39     long flagyMin;
40     long yMin;
41     
42     long flagyMax;
43     long yMax;
44     
45     long flagzMin;
46     long zMin;
47     
48     long flagzMax;
49     long zMax;
50     
51     long flagScale;
52     float Scale;
53     
54     long flagAbScale;
55     float AbScale;
56     
57     long flagEnlarge;
58     float Enlarge;
59     
60     long flagcx;
61     float cx;
62     
63     long flagcy;
64     float cy;
65     
66     long flagcontourLevel;
67     float* contourLevel;
68     
69     long Inverse;
70
71     long Auto;
72
73     long flagAutoContour;
74     long AutoContour;
75     
76     long flagPeakContour;
77     long PeakContour;
78     
79     long flagYexpand;
80     float Yexpand;
81     
82     long flagLineWidthStart;
83     float LineWidthStart;
84     
85     long flagLineWidthStep;
86     float LineWidthStep;
87     
88     long ReverseOrder;
89
90     long flaguntwist;
91     float untwist;
92     
93     long UpsideDown;
94
95     long Centre;
96
97     long flagmode;
98     long mode;
99     
100 } mrcImagePrintInfo;
101 #ifdef __cplusplus
102 extern "C" {
103 #endif
104 extern void argCheck(mrcImagePrintInfo* info, int argc, char* avgv[]);
105 extern void khorosInit(int argc, char* avgv[]);
106 extern void init0(mrcImagePrintInfo* info);
107 extern void init1(mrcImagePrintInfo* info);
108 extern void usage(char* usage);
109 extern void additionalUsage(void);
110 extern void htmlBeforeUsage(char* usage);
111 extern void htmlAfterUsage(char* usage);
112 #ifdef __cplusplus
113 };
114 #endif
115 #endif /* MRCIMAGEPRINT_H */