Data Types |
| struct | ParcStruct |
| struct | PixStruct |
| struct | ArrayStruct |
| struct | WinAttStruct |
| struct | ColorStrip |
| struct | BMIstruct |
| struct | MapImageStruct |
Defines |
| #define | INT int |
| #define | REAL float |
| #define | INTXU unsigned int |
| #define | INTXS int |
| #define | MIN(a, b) ((a) < (b) ? (a) : (b)) |
| #define | MAX(a, b) ((a) > (b) ? (a) : (b)) |
| #define | ROTATE_LEFT (XK_Left) |
| #define | ROTATE_RIGHT (XK_Right) |
| #define | TOLELO 0x0001 |
| #define | TOLEHI 0x0002 |
| #define | TORILO 0x0004 |
| #define | TORIHI 0x0008 |
| #define | BOLELO 0x0010 |
| #define | BOLEHI 0x0020 |
| #define | BORILO 0x0040 |
| #define | BORIHI 0x0080 |
| #define | TOLEIN 0x0100 |
| #define | TOREIN 0x0200 |
| #define | BOLEIN 0x0400 |
| #define | BOREIN 0x0800 |
| #define | IPX(l, m, h) (VGAX * (x + (l-m) / (l-h))) |
| #define | IPY(l, m, h) (VGAY * (y + (l-m) / (l-h))) |
| #define | NUMWIN 9 |
| #define | NUMPAL 13 |
| #define | ISOHOR 0 |
| #define | ISOCS 1 |
| #define | ISOHOV 2 |
| #define | ISOTS 3 |
| #define | ISOTAB 4 |
| #define | ISOSH 5 |
| #define | ISOLON 6 |
| #define | ISOTRA 7 |
| #define | ISOCOL 8 |
| #define | ISOROT 9 |
| #define | MAPHOR 10 |
| #define | MAPTRA 11 |
| #define | PUMA 0 |
| #define | CYLINDRICAL 0 |
| #define | POLAR 1 |
| #define | AZIMUTHAL 2 |
| #define | MAXMAPS 3 |
| #define | PARCS 100 |
| #define | MAXPAR 16384 |
| #define | NUMSCALARS 9 |
| #define | NUMARRAYS 100 |
| #define | AUTOCOLORS 14 |
| #define | AMPLI_COLS 8 |
| #define | PSDIM 30 |
Functions/Subroutines |
| unsigned long | create_pixel (long red, long green, long blue) |
| void | ScaleImage (struct MapImageStruct *s, struct MapImageStruct *d) |
| void | PolarImage (struct MapImageStruct *s, struct MapImageStruct *d) |
| void | RevOrtho (double R, double lam0, double phi0, int xx, int yy, double *lam, double *phi) |
| void | AzimuthalImage (struct MapImageStruct *s, struct MapImageStruct *d) |
| void | SwapIEEE16 (char W[2]) |
| void | SwapIEEE32 (char W[4]) |
| int | ReadINT (FILE *fpi) |
| short | ReadSHORT (FILE *fpi) |
| void | ReadImage (struct MapImageStruct *ei, char *filename) |
| void | ntocdat (void) |
| char * | CharAlloc (int bytes, char *array_name) |
| int * | IntAlloc (int words, char *array_name) |
| float * | FloatAlloc (int words, char *array_name) |
| void * | SizeAlloc (int words, int Size, char *array_name) |
| void | LoadFonts (void) |
| int | AllocateColorCells (struct ColorStrip cs[]) |
| void | CalcButtonAreas (void) |
| void | TestWindow (int xx, int yy, int wi, int he, int *x, int *y, int *X, int *Y, unsigned int *W, unsigned int *H) |
| void | CreateTestWindow (void) |
| void | TrimCopy (char *Trim, char *Line, int n) |
| int | ReadConfig (char *filename) |
| void | CreateControlWindow (void) |
| void | ShowStep (void) |
| int | FormatVal (char *Name, float V, char *Text) |
| void | ShowParcs (void) |
| void | CheckMark (int x, int y, int d) |
| void | ShowWindowStatus (void) |
| void | ShowGridStatus (void) |
| int | RedrawControlWindow (void) |
| void | ClearTracer (void) |
| int | CheckEndianess (void) |
| void | initgui_ (int *model, int *debug, int *lats, int *mrpid, int *mrnum) |
| void | FillPoly (int n, REAL Poly[]) |
| void | IsoArea (INT y, REAL vl, REAL vh, REAL Top[], REAL Bot[], INT Dim) |
| void | IsoAreas (struct ColorStrip Strip[]) |
| void | IsoLine (INT y, REAL v, REAL Top[], REAL Bot[], INT Dim) |
| void | IsoLines (struct ColorStrip Strip[], int Colored) |
| int | AziPoint (int fpx, int fpy, int *x2, int *y2) |
| void | AziLine (int x1, int y1, int x2, int y2) |
| void | MapLine (INT y, REAL v, REAL Top[], REAL Bot[], INT Dim) |
| void | MapLines (struct ColorStrip Strip[], int Colored) |
| void | poltra (float lam, float phi, float *x, float *y) |
| void | TracerPlot (int w) |
| void | AmplitudePlot (void) |
| void | RedrawIsoWindow (int w) |
| void | CloseWindow (int i) |
| void | ReopenWindow (int i) |
| void | DrawHelpWindow (void) |
| void | DisplayHelpWindow (void) |
| int | HitGridButton (XEvent *xe) |
| int | HitPauseButton (XEvent *xe) |
| int | HitStartButton (XEvent *xe) |
| int | HitStopButton (XEvent *xe) |
| int | HitHelpButton (XEvent *xe) |
| int | HitPlusButton (XEvent *xe) |
| int | HitFFWDButton (XEvent *xe) |
| int | HitMinusButton (XEvent *xe) |
| int | HitFBWDButton (XEvent *xe) |
| int | HitUpperPanel (XEvent *xe) |
| int | HitLowerPanel (XEvent *xe) |
| int | HitWindowSelect (XEvent *xe) |
| void | OnMouseClick (void) |
| void | SwitchIndez (int w, int d) |
| void | HandleEvents (void) |
| void | guiclose_ (void) |
| void | SaveConfig (void) |
| void | lp2ps (REAL *a, REAL *b) |
| void | lp2az (REAL *a, REAL *b, float laz) |
| void | ShowGridCS (void) |
| void | ShowGridCol (void) |
| void | ShowGridLonsi (void) |
| void | ShowGridCyl (void) |
| void | ShowGridHov (void) |
| void | ShowGridHovT (void) |
| void | ShowGridPolar (void) |
| void | AutoPalette (int w, struct ColorStrip Strip[], REAL f[], int Dim) |
| void | guiput_ (char *aname, float *array, int *dimx, int *dimy, int *dimz) |
| void | guisend_ (char *aname, float *array, int *dimx, int *dimy, int *dimz) |
| void | iso (int w, int PicType, REAL *field, int dimx, int dimy, int dimz, int pal) |
| int | iguistep_ (float pparcs[], int kdatim[]) |
| int | nresources_ (double *ut, double *st, long *mem, long *par, long *paf, long *swa, long *dr, long *dw) |
| void | INITGUI (int *model, int *debug, int *lats, int *mrpid, int *mrnum) |
| void | GUICLOSE (void) |
| int | IGUISTEP (float pparcs[], int kdatim[]) |
| void | GUIPUT (char *aname, float *array, int *dimx, int *dimy, int *dimz) |
| int | NRESOURCES (double *ut, double *st, long *mem, long *par, long *paf, long *swa, long *dr, long *dw) |
| void | initgui (int *model, int *debug, int *lats, int *mrpid, int *mrnum) |
| void | guiclose (void) |
| int | iguistep (float pparcs[], int kdatim[]) |
| void | guiput (char *aname, float *array, int *dimx, int *dimy, int *dimz) |
| int | iguinan_ (double *p) |
| int | nresources (double *ut, double *st, long *mem, long *par, long *paf, long *swa, long *dr, long *dw) |
Variables |
| int | Debug = 0 |
| char * | IsoNames [] |
| int | IsoTypes = sizeof(IsoNames) / sizeof(char *) |
| char * | PalNames [] |
| int | PalTypes = sizeof(PalNames) / sizeof(char *) |
| char * | ProNames [] |
| int | ShowQueue = 0 |
| int | ShowOnce = 1 |
| int | OffsetY = 20 |
| int | Stop_XL |
| int | Stop_XH |
| int | Stop_YL |
| int | Stop_YH |
| int | Start_XL |
| int | Start_XH |
| int | Start_YL |
| int | Start_YH |
| int | Pause_XL |
| int | Pause_XH |
| int | Pause_YL |
| int | Pause_YH |
| int | Help_XL |
| int | Help_XH |
| int | Help_YL |
| int | Help_YH |
| int | Minus_XL |
| int | Minus_XH |
| int | Minus_YL |
| int | Minus_YH |
| int | FBWD_XL |
| int | FBWD_XH |
| int | FBWD_YL |
| int | FBWD_YH |
| int | Plus_XL |
| int | Plus_XH |
| int | Plus_YL |
| int | Plus_YH |
| int | FFWD_XL |
| int | FFWD_XH |
| int | FFWD_YL |
| int | FFWD_YH |
| int | Parc_XL |
| int | Parc_XH |
| int | Parc_XD |
| int | Parc_YL |
| int | Parc_YH |
| int | Parc_YD |
| int | Wbox_XL |
| int | Wbox_XH |
| int | Wbox_YL |
| int | Wbox_YH |
| int | Grid_XL |
| int | Grid_XH |
| int | Grid_YL |
| int | Grid_YH |
| XPoint | StopButton [4] = {{10,10},{40,10},{40,40},{10,40}} |
| XPoint | StartButton [3] = {{50,10},{80,25},{50,40}} |
| XPoint | PauseButton1 [4] = {{95,10},{102,10},{102,40},{95,40}} |
| XPoint | PauseButton2 [4] = {{108,10},{115,10},{115,40},{108,40}} |
| int | Parcs |
| int | cpi = 1 |
| struct ParcStruct | Parc [PARCS] |
| int | screen_num |
| Display * | display |
| unsigned int | ScreenW |
| unsigned int | ScreenH |
| unsigned int | ScreenBot |
| int | SmallScreen |
| int | BigEndian |
| int | ScreenOffset |
| int | Model |
| int | CowX = -1 |
| int | CowY = -1 |
| int | CowW |
| int | CowH |
| int | NumWin = NUMWIN |
| int | WinCols = 3 |
| int | WinRows = 3 |
| int | DimT = 100 |
| int | DimX |
| int | DimY |
| int | DimZ |
| int | DimXY |
| int | Uindex = -1 |
| int | Vindex = -1 |
| int | ScreenD |
| int | OffX |
| int | OffY = 0 |
| INTXU | WinXSize |
| INTXU | WinYSize |
| int | InXSize |
| int | InYSize |
| int | Latitudes |
| int | Lines |
| int | SizeChanged |
| int | Shutdown |
| int | Grid = 1 |
| int | GridLabel = 1 |
| int | WhitePix |
| int | BlackPix |
| int * | Flag |
| int | FlagSize |
| int | nstep |
| int | MRpid |
| int | MRnum |
| int | wto |
| int | FirstKey |
| int | LastKey |
| int | SymsPerKey |
| KeySym * | KeyMap |
| char | wtrun [8] |
| unsigned | Seed |
| float | RotInc = 0.2 |
| int | LineCo [NUMPAL] |
| int | MapPro [NUMWIN] |
| int | HovInx [NUMWIN] |
| int | Indez [NUMWIN] |
| int | MaxZ [NUMWIN] |
| int | RedrawFlag [NUMWIN] |
| int | LevelChanged [NUMWIN] |
| int | RotLon [NUMWIN] |
| double | AutoDelta [NUMWIN] |
| double | AutoXdelt [NUMWIN] |
| double | AutoLo [NUMWIN] |
| REAL * | TSdata [NUMWIN] |
| REAL * | Dmin [NUMWIN] |
| REAL * | Dmax [NUMWIN] |
| REAL * | SpeedScale |
| XPoint * | TSxp [NUMWIN] |
| float | pax [MAXPAR] |
| float | pay [MAXPAR] |
| long | pal [MAXPAR] |
| int | Delpar = 8 |
| int | ParInd = 0 |
| int | ColInd = 0 |
| long | TracerColor |
| char | TSName [NUMSCALARS][80] |
| char | TSubsc [NUMSCALARS][80] |
| char | TSUnit [NUMSCALARS][80] |
| char | TScale [NUMSCALARS][80] |
| struct PixStruct | WinPixMap [NUMWIN] |
| Pixmap | pix |
| struct ArrayStruct | Array [NUMARRAYS] |
| int | NumArrays |
| struct WinAttStruct | WinAtt [NUMWIN] |
| int | BorderWidth = 0 |
| int | WM_top_area = 0 |
| int | WinLM = 0 |
| int | WinRM = 0 |
| int | WinTM = 24 |
| int | WinBM = 0 |
| struct ColorStrip | Autostrip [AUTOCOLORS+1] |
| struct ColorStrip | Ustrip [] |
| struct ColorStrip | Qstrip [] |
| struct ColorStrip | Vstrip [] |
| struct ColorStrip | Tstrip [] |
| struct ColorStrip | Kstrip [] |
| struct ColorStrip | Pstrip [] |
| struct ColorStrip | MarsTStrip [] |
| struct ColorStrip | AmpliStrip [] |
| struct ColorStrip | Vegstrip [] |
| struct ColorStrip | Tstripoce [] |
| struct ColorStrip | Sstripoce [] |
| struct ColorStrip | DCCstrip [] |
| struct ColorStrip | DTDTstrip [] |
| struct ColorStrip * | Cstrip |
| struct ColorStrip * | Pallet [NUMPAL] |
| REAL | VGAX |
| REAL | VGAY |
| REAL | CurVal |
| REAL * | Field |
| REAL * | Ampli |
| XColor * | Acol |
| Colormap | colormap |
| XColor | xcolor1 |
| XColor | xcolor2 |
| XColor | Red |
| XColor | Green |
| XColor | Blue |
| XColor | Yellow |
| XColor | Grey |
| XColor | LightRed |
| XColor | DarkRed |
| XColor | LightBlue |
| XColor | DarkBlue |
| XColor | LightGreen |
| XColor | DarkGreen |
| XColor | Dummy |
| unsigned long | TSColor [10] |
| Window | Win [NUMWIN] |
| int | win |
| Window | Cow |
| Window | HelpWindow |
| XTextProperty | WinconName1 |
| XTextProperty | WinconName3 |
| XTextProperty | WinconPause |
| XTextProperty | WinconReady |
| char * | PauseTitle = "Run Paused" |
| char * | ReadyTitle = "Press Start Button" |
| XEvent | CowEvent |
| XSizeHints | WinSizeHints |
| XSizeHints | CowSizeHints |
| int | OutXSize |
| int | OutYSize |
| int | count |
| XEvent | report |
| GC | gc |
| char | BigFontName [80] = "9x15bold" |
| char | FixFontName [80] = "8x13" |
| char | SubFontName [80] = "6x10" |
| XFontStruct * | FixFont |
| XFontStruct * | SubFont |
| XFontStruct * | BigFont |
| int | FixFontHeight |
| int | SubFontHeight |
| int | BigFontHeight |
| int | FixFontWidth |
| int | SubFontWidth |
| int | BigFontWidth |
| int | Paused = 0 |
| char * | display_name = NULL |
| XWMHints | wm_hints |
| XClassHint | class_hints |
| Atom | Delwin |
| char * | WindowTitle [NUMWIN] |
| XTextProperty | WindowName [NUMWIN] |
| XTextProperty | HelpName |
| char * | mona [12] |
| char * | wena [7] = {"Mon","Tue","Wed","Thu","Fri","Sat","Sun"} |
| char | datch [64] |
| char | PlanetName [32] = "Earth" |
| char | GUI_default [80] = "GUI.cfg" |
| char | GUI_config [80] = "GUI_last_used.cfg" |
| char * | pixelstar [PSDIM] |
| int | fps |
| int | rmuf = 20 |
| int | rmui = 1 |
| int | SkipFreq |
| int | ThisSecond |
| int | LastSecond |
| int | LastStep |
| int | SecEvent |
| int | ndatim [6] |
| int | LastMinute |
| int | DeltaTime |
| struct BMIstruct | ImageBMI |
| struct MapImageStruct | MapHR |
| struct MapImageStruct | MapLR [NUMWIN] |
| int | polco = 0 |
| char * | HelpText [] |
| int | HelpLines = sizeof(HelpText) / sizeof(char *) |