IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12728


Ignore:
Timestamp:
Apr 3, 2007, 10:52:45 AM (19 years ago)
Author:
eugene
Message:

add options to show / not show mosaic images

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/dvo/images.c

    r10797 r12728  
    55
    66  int i, j, Nimage, status, InPic, leftside, *plist, TimeSelect, ByName;
     7  int WITH_MOSAIC, SOLO_MOSAIC;
    78  time_t tzero, tend;
    89  int N, NPTS, n, npts, Npts;
     
    1415
    1516  if (!style_args (&graphmode, &argc, argv, 0)) return FALSE;
     17
     18  WITH_MOSAIC = FALSE;
     19  if ((N = get_argument (argc, argv, "+mosaic"))) {
     20    remove_argument (N, &argc, argv);
     21    WITH_MOSAIC = TRUE;
     22  }
     23
     24  SOLO_MOSAIC = FALSE;
     25  if ((N = get_argument (argc, argv, "-mosaic"))) {
     26    remove_argument (N, &argc, argv);
     27    SOLO_MOSAIC = TRUE;
     28  }
    1629
    1730  ByName = FALSE;
     
    92105    if (TimeSelect && ((image[i].tzero < tzero) || (image[i].tzero+image[i].trate*image[i].NY > tzero + trange))) continue;
    93106    if (!FindMosaicForImage (image, Nimage, i)) continue;
     107
     108    if (!strcmp(&image[i].coords.ctype[4], "-DIS") && !WITH_MOSAIC) continue;
     109    if ( strcmp(&image[i].coords.ctype[4], "-DIS") &&  SOLO_MOSAIC) continue;
    94110
    95111    /* project this image to screen display coords */
Note: See TracChangeset for help on using the changeset viewer.