IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 18, 2007, 8:46:02 AM (19 years ago)
Author:
eugene
Message:

changing SetImageSelection API to take a bool mosaicMode

File:
1 edited

Legend:

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

    r13479 r14286  
    99
    1010/* load images based on parameters and region, etc */
    11 int SetImageSelection (int mode, int RegionSelect) {
     11int SetImageSelection (int mosaicMode, int RegionSelect) {
    1212
    1313  int Ngraph;
     
    2929  TimeSelect = GetTimeSelection (&tzero, &tend);
    3030
    31   switch (mode) {
    32     case MEAS_XCCD:
    33     case MEAS_YCCD:
    34       break;
    35     case MEAS_XMOSAIC:
    36     case MEAS_YMOSAIC:
     31  if (mosaicMode) {
    3732      /* mosaic defines a frame with 0,0 at the mosaic center, and 1 arcsec / pixel */
    3833      mosaic.crpix1 = mosaic.crpix2 = 0.0;
     
    4237      mosaic.Npolyterms = 0;
    4338      strcpy (mosaic.ctype, "RA---SIN");
    44       break;
    45     default:
    46       return (TRUE);
    4739  }
    4840
Note: See TracChangeset for help on using the changeset viewer.