IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 9, 2004, 5:54:55 PM (22 years ago)
Author:
rhl
Message:

Misc changes to make code actually compile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/archive/pslib/include/psObjects.h

    r160 r198  
    1717#include "psImages.h"
    1818
    19 
    2019/***********************************************************************************************************/
    2120
     
    3130    float sky, skyErr;                  //!< Local sky level, and associated error
    3231    float colour, colourErr;            //!< Colour and associated error, if known
    33     enum psColourRef colourRef;         //!< Colour reference
     32    psColourRef colourRef;              //!< Colour reference
    3433    psBitMask *quality;                 //!< Bit mask for quality information
    3534} psObject;
     
    5352/** Associates objects on an image with the image */
    5453typedef struct {
    55     const psImage *image;               //!< Image that produced the objects, which has metadata we need
     54    const struct psImage *image;        //!< Image that produced the objects, which has metadata we need
    5655    psObjectArray *objects;             //!< The objects
    5756} psImageObjects;
     
    5958/** Constructor */
    6059psImageObjects *
    61 psImageObjectsAlloc(const psImage *image,       //!< Image that produced the objects, which has metadata we need
    62                   psObjectArray *objects //!< The objects
    63                   );
     60psImageObjectsAlloc(const struct psImage *image, //!< Image that produced the objects, with needed metadata
     61                    psObjectArray *objects //!< The objects
     62    );
    6463
    6564/** Destructor */
     
    7271/** Objects from a catalogue */
    7372typedef struct {
    74     enum psCatalogue catalogue;         //!< Source catalogue from which objects come
     73    psCatalogue catalogue;              //!< Source catalogue from which objects come
    7574    psObjectArray *object;              //!< The objects
    7675} psCatalogueObjects;
     
    7978psCatalogueObjects *
    8079psCatalogueObjectsAlloc(enum psCatalogue *catalogue, //!< Source catalogue
    81                       psObjectArray *objects //!< The objects
    82                       );
     80                        psObjectArray *objects //!< The objects
     81    );
    8382
    8483/** Destructor */
    8584void
    86 psCatalogueObjectsFree(psCatalogeObjects *restrict myCatalogueObjects //!< Object to destroy
     85psCatalogueObjectsFree(psCatalogueObjects *restrict myCatalogueObjects //!< Object to destroy
    8786                      );
    8887
     
    9190/** A "super" object --- an object with multiple detections in different images */
    9291typedef struct {
    93     const psImageArray *images;         //!< Images that provided the different measurements
     92    const struct  psImageArray *images; //!< Images that provided the different measurements
    9493    const psObjectArray *objects;       //!< Individual object measurements
    9594
     
    103102/** Constructor */
    104103psSuperObject *
    105 psSuperObjectAlloc(const psImageArray *images, //!< The images with the measurements
    106                  const psObjectArray *objects //!< Object measurements
    107                 );
     104psSuperObjectAlloc(const struct psImageArray *images, //!< The images with the measurements
     105                   const psObjectArray *objects //!< Object measurements
     106    );
    108107
    109108/** Destructor */
     
    167166                     float magLower,    //!< Lower bound for colour
    168167                     float magUpper,    //!< Upper bound for colour
    169                      enum psColourRef colourRef //!< Only select those with this colour reference
     168                     psColourRef colourRef //!< Only select those with this colour reference
    170169                     );
    171170
Note: See TracChangeset for help on using the changeset viewer.