OSDN Git Service

Please enter the commit message for your changes. Lines starting
[eos/base.git] / include / mrcImagePrint3D.h
1 #ifndef MRCIMAGEPRINT3D_H
2 #define MRCIMAGEPRINT3D_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 mrcImagePrint3DInfo {
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 flageyeX;
25     float eyeX;
26     
27     long flageyeY;
28     float eyeY;
29     
30     long flageyeZ;
31     float eyeZ;
32     
33     long flagplaneX;
34     float planeX;
35     
36     long flagplaneY;
37     float planeY;
38     
39     long flagplaneZ;
40     float planeZ;
41     
42     long flagcontourLevel;
43     float* contourLevel;
44     
45     long flagconfigFile;
46     char* configFile;
47     FILE* fptconfigFile;
48     
49     long flagmode;
50     long mode;
51     
52 } mrcImagePrint3DInfo;
53 #ifdef __cplusplus
54 extern "C" {
55 #endif
56 extern void argCheck(mrcImagePrint3DInfo* info, int argc, char* avgv[]);
57 extern void khorosInit(int argc, char* avgv[]);
58 extern void init0(mrcImagePrint3DInfo* info);
59 extern void init1(mrcImagePrint3DInfo* info);
60 extern void usage(char* usage);
61 extern void additionalUsage(void);
62 extern void htmlBeforeUsage(char* usage);
63 extern void htmlAfterUsage(char* usage);
64 #ifdef __cplusplus
65 };
66 #endif
67 #endif /* MRCIMAGEPRINT3D_H */