#ifndef SLA02_STRUCTURE_H_ #define SLA02_STRUCTURE_H_ #include #include typedef unsigned char byte; struct tp_d{ double mes; double lastime; double shut_diff; double mes_corr; }; struct rp_d{ double range_corr; }; struct bp_d{ double lat; double lon; double ellip_ht; double surface_1; double surface_2; double surface_3; double geoid; double ortho_ht; }; struct pap_d{ double satht; double ecfx_shot; double ecfy_shot; double ecfz_shot; double azimuth; double aoffnadir; }; struct ep_d{ byte xmit_en[1]; byte receive_en[3]; byte thresh[3]; byte channel[1]; byte wave_offset[1]; byte vga[1]; double digi_atten; double scale_factor; byte pwidth[1]; byte average[1]; double bin_size; byte waveform[150]; }; struct bl_d{ int npoints; float mean; float sig; }; struct mmnt_d{ float mean; float sig; float skew; float kurt; }; struct wf_d{ int start; int npoints; float max; float width; float amplitude; float area; struct mmnt_d mmnt; float nmax; }; struct en_d{ float dem; float ndvi1; float ndvi2; int landcover; float slope; float roughness; }; struct cl_d{ int rtyp; int styp; int dtyp; float rms; float aspect; float lp_centroid; float wv_centroid; }; struct gm_d{ int cfflag; float g0; float g1; float g2; double chisq; int nitr; }; struct wavgrp_d{ struct bl_d bl; struct wf_d wf; struct en_d en; struct cl_d cl; struct gm_d gm; }; struct sla02_d{ struct tp_d tp; struct rp_d rp; struct bp_d bp; struct pap_d pap; struct ep_d ep; struct wavgrp_d wavgrp; }; typedef struct sla02_d sla02; #endif