IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 17, 2007, 9:59:02 AM (19 years ago)
Author:
eugene
Message:

various fixes to support Mac OS X

Location:
trunk/Ohana/src/libdvo
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libdvo/include/dvo.h

    r12332 r12840  
    241241char *libdvo_version ();
    242242
     243int GetRegisteredMosaic ();
    243244int FindMosaicForImage (Image *images, int Nimages, int entry);
    244245int FindMosaicForImage_TableSearch (Image *images, int Nimages, int entry);
  • trunk/Ohana/src/libdvo/src/mosaic_astrom.c

    r5241 r12840  
    33/* chip-match table: j = ChipMatch[i], images[j] is DIS for images[i] WRP */
    44
     5static int    iDIS = -1;      // DIS entry in ChipMatch[]
    56static int    Ndis = 0;
    67static int    *DISentry = NULL;
    78static e_time *DIStzero = NULL;
    89static int    *ChipMatch = NULL;
     10
     11/* what is the currently registered mosaic image? */
     12int GetRegisteredMosaic () {
     13  return (iDIS);
     14}
    915
    1016/* given an image array and a current entry of type WRP, find matching DIS & Register it */
     
    4248    /* found a valid match */
    4349    RegisterMosaic (&images[i].coords);
     50    iDIS = i;
     51    return (TRUE);
    4452  }
    4553
     
    5058    /* found a valid match */
    5159    RegisterMosaic (&images[i].coords);
     60    iDIS = i;
    5261    return (TRUE);
    5362  }
     
    7281
    7382  RegisterMosaic (&images[N].coords);
     83  iDIS = N;
    7484  return (TRUE);
    7585}
Note: See TracChangeset for help on using the changeset viewer.