Changeset 198 for trunk/archive/pslib/include/psObjects.h
- Timestamp:
- Mar 9, 2004, 5:54:55 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/archive/pslib/include/psObjects.h (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/pslib/include/psObjects.h
r160 r198 17 17 #include "psImages.h" 18 18 19 20 19 /***********************************************************************************************************/ 21 20 … … 31 30 float sky, skyErr; //!< Local sky level, and associated error 32 31 float colour, colourErr; //!< Colour and associated error, if known 33 enumpsColourRef colourRef; //!< Colour reference32 psColourRef colourRef; //!< Colour reference 34 33 psBitMask *quality; //!< Bit mask for quality information 35 34 } psObject; … … 53 52 /** Associates objects on an image with the image */ 54 53 typedef struct { 55 const psImage *image;//!< Image that produced the objects, which has metadata we need54 const struct psImage *image; //!< Image that produced the objects, which has metadata we need 56 55 psObjectArray *objects; //!< The objects 57 56 } psImageObjects; … … 59 58 /** Constructor */ 60 59 psImageObjects * 61 psImageObjectsAlloc(const psImage *image, //!< Image that produced the objects, which has metadata we need62 psObjectArray *objects //!< The objects63 );60 psImageObjectsAlloc(const struct psImage *image, //!< Image that produced the objects, with needed metadata 61 psObjectArray *objects //!< The objects 62 ); 64 63 65 64 /** Destructor */ … … 72 71 /** Objects from a catalogue */ 73 72 typedef struct { 74 enumpsCatalogue catalogue; //!< Source catalogue from which objects come73 psCatalogue catalogue; //!< Source catalogue from which objects come 75 74 psObjectArray *object; //!< The objects 76 75 } psCatalogueObjects; … … 79 78 psCatalogueObjects * 80 79 psCatalogueObjectsAlloc(enum psCatalogue *catalogue, //!< Source catalogue 81 psObjectArray *objects //!< The objects82 );80 psObjectArray *objects //!< The objects 81 ); 83 82 84 83 /** Destructor */ 85 84 void 86 psCatalogueObjectsFree(psCatalog eObjects *restrict myCatalogueObjects //!< Object to destroy85 psCatalogueObjectsFree(psCatalogueObjects *restrict myCatalogueObjects //!< Object to destroy 87 86 ); 88 87 … … 91 90 /** A "super" object --- an object with multiple detections in different images */ 92 91 typedef struct { 93 const psImageArray *images;//!< Images that provided the different measurements92 const struct psImageArray *images; //!< Images that provided the different measurements 94 93 const psObjectArray *objects; //!< Individual object measurements 95 94 … … 103 102 /** Constructor */ 104 103 psSuperObject * 105 psSuperObjectAlloc(const psImageArray *images, //!< The images with the measurements106 const psObjectArray *objects //!< Object measurements107 );104 psSuperObjectAlloc(const struct psImageArray *images, //!< The images with the measurements 105 const psObjectArray *objects //!< Object measurements 106 ); 108 107 109 108 /** Destructor */ … … 167 166 float magLower, //!< Lower bound for colour 168 167 float magUpper, //!< Upper bound for colour 169 enum psColourRef colourRef//!< Only select those with this colour reference168 psColourRef colourRef //!< Only select those with this colour reference 170 169 ); 171 170
Note:
See TracChangeset
for help on using the changeset viewer.
