IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 14, 2007, 3:24:38 PM (18 years ago)
Author:
Paul Price
Message:

Adding const in some appropriate places.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmModel.h

    r15562 r15843  
    55 * @author EAM, IfA
    66 *
    7  * @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
    8  * @date $Date: 2007-11-10 01:09:20 $
     7 * @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
     8 * @date $Date: 2007-12-15 01:21:33 $
    99 *
    1010 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    6363//  This function constructs the PSF model for the given source based on the
    6464//  supplied psf and the EXT model for the object.
    65 typedef bool (*pmModelFromPSFFunc)(pmModel *modelPSF, pmModel *modelEXT, pmPSF *psf);
     65typedef bool (*pmModelFromPSFFunc)(pmModel *modelPSF, pmModel *modelEXT, const pmPSF *psf);
    6666
    6767//  This function sets the model parameters based on the PSF for a given coordinate and central
    6868//  intensity
    69 typedef bool (*pmModelParamsFromPSF)(pmModel *model, pmPSF *psf, float Xo, float Yo, float Io);
     69typedef bool (*pmModelParamsFromPSF)(pmModel *model, const pmPSF *psf, float Xo, float Yo, float Io);
    7070
    7171//  This function returns the success / failure status of the given model fit
     
    166166
    167167bool pmModelAddWithOffset(psImage *image,
    168                           psImage *mask,
    169                           pmModel *model,
    170                           pmModelOpMode mode,
    171                           psMaskType maskVal,
    172                           int dx,
    173                           int dy);
     168                          psImage *mask,
     169                          pmModel *model,
     170                          pmModelOpMode mode,
     171                          psMaskType maskVal,
     172                          int dx,
     173                          int dy);
    174174
    175175bool pmModelSubWithOffset(psImage *image,
    176                           psImage *mask,
    177                           pmModel *model,
    178                           pmModelOpMode mode,
    179                           psMaskType maskVal,
    180                           int dx,
    181                           int dy);
     176                          psImage *mask,
     177                          pmModel *model,
     178                          pmModelOpMode mode,
     179                          psMaskType maskVal,
     180                          int dx,
     181                          int dy);
    182182
    183183/** pmModelFitStatus()
Note: See TracChangeset for help on using the changeset viewer.