Changeset 23487 for trunk/psModules/src/objects
- Timestamp:
- Mar 23, 2009, 9:42:42 AM (17 years ago)
- Location:
- trunk/psModules/src/objects
- Files:
-
- 13 edited
-
pmDetections.c (modified) (1 diff)
-
pmDetections.h (modified) (1 diff)
-
pmMoments.c (modified) (1 diff)
-
pmMoments.h (modified) (1 diff)
-
pmPSF.c (modified) (1 diff)
-
pmPSF.h (modified) (1 diff)
-
pmSource.h (modified) (1 diff)
-
pmSourceExtendedPars.c (modified) (6 diffs)
-
pmSourceExtendedPars.h (modified) (1 diff)
-
pmSourceFitSet.c (modified) (3 diffs)
-
pmSourceFitSet.h (modified) (3 diffs)
-
pmSourcePlots.c (modified) (1 diff)
-
pmSourcePlots.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmDetections.c
r18828 r23487 30 30 31 31 // generate a pmDetections container with empty (allocated) footprints and peaks containers 32 pmDetections *pmDetectionsAlloc( ) {32 pmDetections *pmDetectionsAlloc(void) { 33 33 34 34 pmDetections *detections = (pmDetections *)psAlloc(sizeof(pmDetections)); -
trunk/psModules/src/objects/pmDetections.h
r18828 r23487 20 20 */ 21 21 typedef struct { 22 psArray *footprints; // collection of footprints in the image23 psArray *peaks; // collection of all peaks contained by the footprints24 psArray *oldPeaks; // collection of all peaks previously found22 psArray *footprints; // collection of footprints in the image 23 psArray *peaks; // collection of all peaks contained by the footprints 24 psArray *oldPeaks; // collection of all peaks previously found 25 25 int last; 26 26 } pmDetections; 27 27 28 pmDetections *pmDetectionsAlloc ( );28 pmDetections *pmDetectionsAlloc (void); 29 29 30 30 /// @} -
trunk/psModules/src/objects/pmMoments.c
r23187 r23487 25 25 to zero. 26 26 *****************************************************************************/ 27 pmMoments *pmMomentsAlloc( )27 pmMoments *pmMomentsAlloc(void) 28 28 { 29 29 psTrace("psModules.objects", 10, "---- %s() begin ----\n", __func__); -
trunk/psModules/src/objects/pmMoments.h
r19879 r23487 53 53 * 54 54 */ 55 pmMoments *pmMomentsAlloc( );55 pmMoments *pmMomentsAlloc(void); 56 56 57 57 /// @} -
trunk/psModules/src/objects/pmPSF.c
r20937 r23487 54 54 } 55 55 56 pmPSFOptions *pmPSFOptionsAlloc ( ) {56 pmPSFOptions *pmPSFOptionsAlloc (void) { 57 57 58 58 pmPSFOptions *options = (pmPSFOptions *) psAlloc(sizeof(pmPSFOptions)); -
trunk/psModules/src/objects/pmPSF.h
r21183 r23487 96 96 pmPSF *pmPSFAlloc (const pmPSFOptions *options); 97 97 bool psMemCheckPSF(psPtr ptr); 98 pmPSFOptions *pmPSFOptionsAlloc( );98 pmPSFOptions *pmPSFOptionsAlloc(void); 99 99 bool psMemCheckPSFOptions(psPtr ptr); 100 100 -
trunk/psModules/src/objects/pmSource.h
r23184 r23487 105 105 * 106 106 */ 107 pmSource *pmSourceAlloc( );107 pmSource *pmSourceAlloc(void); 108 108 109 109 /** pmSourceCopy() -
trunk/psModules/src/objects/pmSourceExtendedPars.c
r21363 r23487 46 46 } 47 47 48 pmSourceExtendedPars *pmSourceExtendedParsAlloc ( ) {48 pmSourceExtendedPars *pmSourceExtendedParsAlloc (void) { 49 49 pmSourceExtendedPars *pars = (pmSourceExtendedPars *) psAlloc(sizeof(pmSourceExtendedPars)); 50 50 psMemSetDeallocator(pars, (psFreeFunc) pmSourceExtendedParsFree); … … 75 75 } 76 76 77 pmSourceRadialProfile *pmSourceRadialProfileAlloc ( ) {77 pmSourceRadialProfile *pmSourceRadialProfileAlloc (void) { 78 78 79 79 pmSourceRadialProfile *profile = (pmSourceRadialProfile *) psAlloc(sizeof(pmSourceRadialProfile)); … … 99 99 } 100 100 101 pmSourceIsophotalValues *pmSourceIsophotalValuesAlloc ( ) {101 pmSourceIsophotalValues *pmSourceIsophotalValuesAlloc (void) { 102 102 103 103 pmSourceIsophotalValues *isophot = (pmSourceIsophotalValues *) psAlloc(sizeof(pmSourceIsophotalValues)); … … 125 125 } 126 126 127 pmSourcePetrosianValues *pmSourcePetrosianValuesAlloc ( ) {127 pmSourcePetrosianValues *pmSourcePetrosianValuesAlloc (void) { 128 128 129 129 pmSourcePetrosianValues *petrosian = (pmSourcePetrosianValues *) psAlloc(sizeof(pmSourcePetrosianValues)); … … 150 150 } 151 151 152 pmSourceKronValues *pmSourceKronValuesAlloc ( ) {152 pmSourceKronValues *pmSourceKronValuesAlloc (void) { 153 153 154 154 pmSourceKronValues *kron = (pmSourceKronValues *) psAlloc(sizeof(pmSourceKronValues)); … … 181 181 } 182 182 183 pmSourceAnnuli *pmSourceAnnuliAlloc ( ) {183 pmSourceAnnuli *pmSourceAnnuliAlloc (void) { 184 184 185 185 pmSourceAnnuli *annuli = (pmSourceAnnuli *) psAlloc(sizeof(pmSourceAnnuli)); -
trunk/psModules/src/objects/pmSourceExtendedPars.h
r21363 r23487 55 55 } pmSourceExtendedPars; 56 56 57 pmSourceExtendedPars *pmSourceExtendedParsAlloc ();57 pmSourceExtendedPars *pmSourceExtendedParsAlloc(void); 58 58 bool psMemCheckSourceExtendedPars(psPtr ptr); 59 pmSourceRadialProfile *pmSourceRadialProfileAlloc ();59 pmSourceRadialProfile *pmSourceRadialProfileAlloc(void); 60 60 bool psMemCheckSourceRadialProfile(psPtr ptr); 61 pmSourceIsophotalValues *pmSourceIsophotalValuesAlloc ();61 pmSourceIsophotalValues *pmSourceIsophotalValuesAlloc(void); 62 62 bool psMemCheckSourceIsophotalValues(psPtr ptr); 63 pmSourcePetrosianValues *pmSourcePetrosianValuesAlloc ();63 pmSourcePetrosianValues *pmSourcePetrosianValuesAlloc(void); 64 64 bool psMemCheckSourcePetrosianValues(psPtr ptr); 65 pmSourceKronValues *pmSourceKronValuesAlloc ();65 pmSourceKronValues *pmSourceKronValuesAlloc(void); 66 66 bool psMemCheckSourceKronValues(psPtr ptr); 67 pmSourceAnnuli *pmSourceAnnuliAlloc ();67 pmSourceAnnuli *pmSourceAnnuliAlloc(void); 68 68 bool psMemCheckSourceAnnuli(psPtr ptr); 69 69 -
trunk/psModules/src/objects/pmSourceFitSet.c
r23187 r23487 67 67 } 68 68 69 void pmSourceFitSetDone ( ) {69 void pmSourceFitSetDone (void) { 70 70 psFree (fitSets); 71 71 } … … 150 150 } 151 151 152 pmSourceFitSetData *pmSourceFitSetDataGet ( ) {152 pmSourceFitSetData *pmSourceFitSetDataGet (void) { 153 153 154 154 psAssert (fitSets, "pmSourceFitSetInit not called"); … … 172 172 } 173 173 174 void pmSourceFitSetDataClear ( ) {174 void pmSourceFitSetDataClear (void) { 175 175 176 176 int i; -
trunk/psModules/src/objects/pmSourceFitSet.h
r21183 r23487 24 24 // use this function to init the fit sets based on the number of threads 25 25 bool pmSourceFitSetInit (int nThreads); 26 void pmSourceFitSetDone ( );26 void pmSourceFitSetDone (void); 27 27 28 28 // initialize data for a group of object models … … 32 32 // functions for selecting the FitSet corresponding to the current thread 33 33 pmSourceFitSetData *pmSourceFitSetDataSet (psArray *modelSet); 34 pmSourceFitSetData *pmSourceFitSetDataGet ( );35 void pmSourceFitSetDataClear ( );34 pmSourceFitSetData *pmSourceFitSetDataGet (void); 35 void pmSourceFitSetDataClear (void); 36 36 37 37 // function used to set limits for a group of models … … 54 54 */ 55 55 bool pmSourceFitSet( 56 pmSource *source, ///< The input pmSource57 psArray *modelSet, ///< model to be fitted58 pmSourceFitMode mode, ///< define parameters to be fitted59 psImageMaskType maskVal ///< Vale to mask56 pmSource *source, ///< The input pmSource 57 psArray *modelSet, ///< model to be fitted 58 pmSourceFitMode mode, ///< define parameters to be fitted 59 psImageMaskType maskVal ///< Vale to mask 60 60 61 61 ); -
trunk/psModules/src/objects/pmSourcePlots.c
r19849 r23487 139 139 } 140 140 141 pmSourcePlotLayout *pmSourcePlotLayoutAlloc( )141 pmSourcePlotLayout *pmSourcePlotLayoutAlloc(void) 142 142 { 143 143 pmSourcePlotLayout *layout = (pmSourcePlotLayout *)psAlloc(sizeof(pmSourcePlotLayout)); -
trunk/psModules/src/objects/pmSourcePlots.h
r15562 r23487 29 29 // typedef bool (*pmSourcePlotFunction)(pmConfig *config, pmFPAview *view, pmSourcePlotLayout *layout); 30 30 31 pmSourcePlotLayout *pmSourcePlotLayoutAlloc( );31 pmSourcePlotLayout *pmSourcePlotLayoutAlloc(void); 32 32 bool psMemCheckSourcePlotLayout(psPtr ptr); 33 33
Note:
See TracChangeset
for help on using the changeset viewer.
