DAS  3.1.6 - 18/09/2017
bildef.h
Go to the documentation of this file.
1 // BIL Revision Number
2 #define BILREV 1.00
3 
4 
5 // Lens
6 typedef struct blens {
7  // Lens variables
8  unsigned char LensON; // If 1 indicate lens activity
9  int LensPix;
10  int LensWx, LensWy, LWx, LWy;
14  MIMAGE Imim; // Buffer draw area
15  unsigned int LocX, LocY, S_LocX, S_LocY ;
16  double Pix;
17 }blens;
18 
19 
20 #define MAXZOOM 64 // Max zoom factor
21 
22 #define DJPEG 0
23 /*
24 typedef struct mtcl{
25  MTColor black, white, darkblue, cadetblue, seagreen;
26  MTColor vmbg, green, red, orange, blue, indaco, viola;
27  MTColor darkvmbg, darkorange, darkred, darkgreen, yellow;
28  MTColor PLColor[33];
29 }mtcl;
30 */
31 
32 typedef struct viewformobj
33 {
34 
46  MOBJECT lblY[11];
47  MOBJECT lblX[17];
69  MOBJECT cmdpb[10];
71  MOBJECT XAxisU[3];
75 
76 #ifndef DTSTRUCT
77 struct dtime {
78  unsigned char ti_min; /* Minutes */
79  unsigned char ti_hour; /* Hours */
80  unsigned char ti_hund; /* Hundredths of seconds */
81  unsigned char ti_sec; /* Seconds */
82 };
83 struct ddate {
84  short int da_year; /* Year - 1980 */
85  unsigned char da_day; /* Day of the month */
86  unsigned char da_mon; /* Month (1 = Jan) */
87 };
88 #endif
89 #define DTSTRUCT
90 
91 
92 
93 
97 typedef struct omutemp{
98 
99  short RefTemp; //Reference temperature for thermo-regulation
100  float *pTempMat; //pointer to matrix of temperatures
101  struct dtime *ptimeMat;
102  float *CCDTemp;
103  float *CCDPwr;
104  float *PltPwr;
105  MOBJECT tgb[20];
106  MOBJECT lblx[25];
107  MOBJECT lbly[11];
110  double COSTX, COSTY;
111  int hsize, wsize, incry, incrx;
112  int oX, oY, eX, eY;
113  int dimx, dimy;
114  float tmax, tmin;
115  MOBJECT LBL_X, LBL_Y;
116  float locx, locy;
117 
118 
119 
120 }omutemp;
121 
125 typedef struct spectrumheader
126 {
127 
128  char location[4];
129  float latitude;
130  float longitude;
131  unsigned int altitude;
132  float sza;
133  struct dtime TIME; // Registration time
134  struct ddate DATE; // Registration date
135  char StrDate[10];
136  char StrTime[8];
137  char mirpos[8];
138  int wavelen;
139  char filpos[5];
140  float ccdtexp;
141  float ccdtemp;
142  unsigned int ccdmax;
143  unsigned int ccdmin;
144  int imgtype;
145  int ccdwx;
146  int ccdwy;
147  int ccdsx;
148  int ccdsy;
149  int ccdex;
150  int ccdey;
151  int ccdvb;
152  int ccdnr;
153  int dummy1;
154  int dummy2;
155  int dummy3;
156  int dummy4;
157  char comment[255];
158  char olddate[8];
159  char newdate[8];
160 
162 
163 typedef struct analize{
164 
165  float *ImatSmooth;
166 
167 }analize;
168 
169 typedef struct d_view{
170  MOBJECT pbr[256];
175  int actimg[256];
176  unsigned short *ImatGraf;
177  unsigned int Imax;
178  unsigned int Imin;
179  unsigned short *Graf;
180  unsigned short *ImatOrig;
181  double COSTX, COSTY;
182  int hsize, wsize, incry, incrx;
183  int oX, oY, eX, eY;
185  int OLDnR;
186 
187 
188 }d_view;
189 
190 typedef struct d_fileman{
200  char HOMEDIRECTORY[_MAX_PATH];
201  char DATADIRECTORY[_MAX_PATH];
202  char WORKDIRECTORY[_MAX_PATH];
203  char DAILYDATADIRECTORY[_MAX_PATH];
204  char DBFILENAME[_MAX_PATH];
205  char CONFIGDIRECTORY[_MAX_PATH];
206  char CONFIGDIRCOMMON[_MAX_PATH];
207  char CONFIGDIRCAMSEL[_MAX_PATH];
208  char CONFIGDIREQUIPMENT[_MAX_PATH];
209  char LOGDIR[_MAX_PATH];
210  char DIRDCL[_MAX_PATH];
211  int FKIND;
212 
213 }d_fileman;
214 
215 
216 /* File Manager op. definition*/
217 #define FOPEN 1
218 #define FSAVE 0
219 
220 /* File format definition*/
221 #define FDAT 0
222 #define FMAP 1
223 #define FELE 2
224 #define FALL 3
225 #define FRIS 4
226 #define FFID 5
227 #define FCOL 6
228 #define FMOD 7
229 #define FBIF 8
230 
231 #define FFNUM 9
232 
233 
234 
235 /* operation definition*/
236 #define OFFPLOT 0 //open file for off line plot
237 #define COLFORM 1 //open file for column format
238 #define LOADPAL 2 //open file for palette loading
239 #define FLICALC 3 //open file for FluxIndex calculation
240 
241 
242 
243 
244 
245 
246 // BIL struct
250 typedef struct bil{
251 
253 // mtcl MTCL;
254  d_view DPLOT; //Danbo Plot
259 }bil;
260 
261 
262 //void DiBEd(char *str);
263 
unsigned int LocX
Definition: bildef.h:15
MOBJECT lblmin
Definition: bildef.h:54
MIMAGE Imim
Definition: bildef.h:14
struct d_fileman d_fileman
MOBJECT selallpb
Definition: bildef.h:68
MOBJECT YScalePB
Definition: bildef.h:70
float locy
Definition: bildef.h:116
unsigned int ccdmax
Definition: bildef.h:142
MOBJECT FM_Shell
Definition: bildef.h:191
MOBJECT yincr
Definition: bildef.h:67
struct spectrumheader spectrumheader
Header Spectrum Structure .
MIMAGE LensMim
Definition: bildef.h:12
MOBJECT lblccdwx
Definition: bildef.h:55
MOBJECT lblccdtexp
Definition: bildef.h:44
double COSTY
Definition: bildef.h:181
MOBJECT LensLblY
Definition: bildef.h:11
MOBJECT MaxPlot
Definition: bildef.h:174
MOBJECT lblndfilter
Definition: bildef.h:42
struct dtime * ptimeMat
Definition: bildef.h:101
MOBJECT lblmax
Definition: bildef.h:53
MTColor DrawBG
Definition: bildef.h:184
MOBJECT LensShell
Definition: bildef.h:13
unsigned int Imax
Definition: bildef.h:177
int LensPix
Definition: bildef.h:9
MOBJECT lblfilter
Definition: bildef.h:41
Definition: bildef.h:83
Header Spectrum Structure .
Definition: bildef.h:125
int oY
Definition: bildef.h:183
MOBJECT lbl
Definition: bildef.h:197
int wsize
Definition: bildef.h:111
analize ANALYSIS
Definition: bildef.h:258
unsigned int altitude
Altitude of the Station.
Definition: bildef.h:131
unsigned char ti_hund
Definition: bildef.h:80
MOBJECT lblccdsx
Definition: bildef.h:57
spectrumheader SPH
Spectrum Header Structure.
Definition: bildef.h:256
MOBJECT lblccdey
Definition: bildef.h:60
float * ImatSmooth
Definition: bildef.h:165
unsigned int Imin
Definition: bildef.h:178
unsigned char ti_hour
Definition: bildef.h:79
int OLDnR
Definition: bildef.h:185
MIMAGE dimg
Definition: bildef.h:36
float * CCDPwr
Definition: bildef.h:103
short RefTemp
Definition: bildef.h:99
unsigned int S_LocX
Definition: bildef.h:15
int FKIND
Definition: bildef.h:211
struct d_view d_view
MOBJECT lblnr
Definition: bildef.h:62
CARD32 MTColor
Definition: Mguidefs.h:183
struct analize analize
MOBJECT Row1
Definition: bildef.h:192
MOBJECT LBL_Y
Definition: bildef.h:115
MOBJECT txtfile
Definition: bildef.h:199
MOBJECT lblloc
Definition: bildef.h:48
MOBJECT lbllat
Definition: bildef.h:49
MOBJECT LensLblV
Definition: bildef.h:11
MOBJECT tb1
Definition: bildef.h:196
MOBJECT lblccdtemp
Definition: bildef.h:43
MOBJECT lblZenith
Definition: bildef.h:72
d_fileman DFILEM
Definition: bildef.h:257
Definition: bildef.h:6
MOBJECT DRV[26]
Definition: DFileMan.c:38
unsigned short * Graf
Definition: bildef.h:179
MOBJECT lblalt
Definition: bildef.h:51
double COSTY
Definition: bildef.h:110
MOBJECT Row2
Definition: bildef.h:194
unsigned short * ImatOrig
Definition: bildef.h:180
unsigned char ti_sec
Definition: bildef.h:81
d_view DPLOT
Definition: bildef.h:254
unsigned char LensON
Definition: bildef.h:8
MOBJECT xloc
Definition: bildef.h:64
int wsize
Definition: bildef.h:182
Definition: bildef.h:169
MOBJECT formbutt
Definition: bildef.h:65
MOBJECT yloc
Definition: bildef.h:63
Image description.
Definition: Mguidefs.h:436
MOBJECT lblsza
Definition: bildef.h:52
unsigned int S_LocY
Definition: bildef.h:15
Definition: bildef.h:77
int oY
Definition: bildef.h:112
MOBJECT View_Sh
Definition: bildef.h:35
#define _MAX_PATH
Definition: Dildef.h:202
MOBJECT LensLblWl
Definition: bildef.h:11
structure for OMU temperatures .
Definition: bildef.h:97
MOBJECT lblccdwy
Definition: bildef.h:56
float tmin
Definition: bildef.h:114
MOBJECT lbltime
Definition: bildef.h:38
MOBJECT lblAzimuth
Definition: bildef.h:73
unsigned short * ImatGraf
Definition: bildef.h:176
struct blens blens
float ccdtexp
Definition: bildef.h:140
MOBJECT lblvb
Definition: bildef.h:61
MOBJECT MinPlot
Definition: bildef.h:173
MOBJECT FList
Definition: bildef.h:195
unsigned int LocY
Definition: bildef.h:15
int LWy
Definition: bildef.h:10
MOBJECT lblccdsy
Definition: bildef.h:58
unsigned char ti_min
Definition: bildef.h:78
MOBJECT lbldate
Definition: bildef.h:37
Bortul Image Library Structure .
Definition: bildef.h:250
float longitude
Longitude of the Station.
Definition: bildef.h:130
float * PltPwr
Definition: bildef.h:104
unsigned char da_mon
Definition: bildef.h:86
MOBJECT RowShell
Definition: bildef.h:171
MOBJECT lbllong
Definition: bildef.h:50
float latitude
Latitude of the Station.
Definition: bildef.h:129
void * MOBJECT
Definition: Mguidefs.h:192
unsigned char da_day
Definition: bildef.h:85
blens BLENS
Definition: bildef.h:252
viewformobj VFO
Definition: bildef.h:255
short int da_year
Definition: bildef.h:84
double Pix
Definition: bildef.h:16
MOBJECT LensDraw
Definition: bildef.h:11
int dimy
Definition: bildef.h:113
int LWx
Definition: bildef.h:10
float ccdtemp
Definition: bildef.h:141
float * CCDTemp
Definition: bildef.h:102
struct bil bil
Bortul Image Library Structure .
MOBJECT xincr
Definition: bildef.h:66
MOBJECT txtpath
Definition: bildef.h:198
int LensWx
Definition: bildef.h:10
MOBJECT drawapl
Definition: bildef.h:172
MOBJECT LensLblX
Definition: bildef.h:11
MOBJECT drawarea000
Definition: bildef.h:109
struct viewformobj viewformobj
unsigned int ccdmin
Definition: bildef.h:143
MOBJECT lblnummeas
Definition: bildef.h:45
int LensWy
Definition: bildef.h:10
MOBJECT LensLbl
Definition: bildef.h:11
struct omutemp omutemp
structure for OMU temperatures .
float * pTempMat
Definition: bildef.h:100
MOBJECT lblwaveleng
Definition: bildef.h:40
float sza
Solar Zenith Angle.
Definition: bildef.h:132
MOBJECT lblccdex
Definition: bildef.h:59
MOBJECT sh
Definition: bildef.h:108
MOBJECT lblmirpos
Definition: bildef.h:39
______________________________________________________________________________________
Generated on Mon Sep 18 2017 11:44:07 for DAS - Rel. 3.1.6 - 18/09/2017.