IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 29, 2006, 4:20:43 PM (20 years ago)
Author:
Paul Price
Message:

Moved PS_ASSERT functions into appropriate places. Created psAssert.h for general PS_ASSERT functions. Vector-specific assertions went to psVector.h; image-specific assertions went to psImage.h, etc. psConstants.h remains, but only contains specific math constants and functions, as the name implies.

Location:
trunk/psLib/src/imageops
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/imageops/psImageBackground.c

    r7380 r7766  
    77#include "psStats.h"
    88#include "psType.h"
    9 #include "psConstants.h"
     9#include "psAssert.h"
    1010#include "psRandom.h"
    1111#include "psError.h"
  • trunk/psLib/src/imageops/psImageGeomManip.c

    r7524 r7766  
    1010 *  @author Ross Harman, MHPCC
    1111 *
    12  *  @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2006-06-12 20:44:04 $
     12 *  @version $Revision: 1.26 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2006-06-30 02:20:06 $
    1414 *
    1515 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    2929#include "psStats.h"
    3030#include "psMemory.h"
    31 #include "psConstants.h"
     31#include "psAssert.h"
    3232#include "psErrorText.h"
    3333#include "psCoord.h"
  • trunk/psLib/src/imageops/psImageMaskOps.c

    r5256 r7766  
    88 *  @author David Robbins, MHPCC
    99 *
    10  *  @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
    11  *  @date $Date: 2005-10-10 20:12:13 $
     10 *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
     11 *  @date $Date: 2006-06-30 02:20:06 $
    1212 *
    1313 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    2525#include "psStats.h"
    2626#include "psMemory.h"
    27 #include "psConstants.h"
     27#include "psAssert.h"
    2828#include "psErrorText.h"
    2929#include "psCoord.h"
  • trunk/psLib/src/imageops/psImagePixelManip.c

    r7380 r7766  
    1010 *  @author Ross Harman, MHPCC
    1111 *
    12  *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2006-06-07 03:22:06 $
     12 *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2006-06-30 02:20:06 $
    1414 *
    1515 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    2727#include "psStats.h"
    2828#include "psMemory.h"
    29 #include "psConstants.h"
     29#include "psAssert.h"
    3030#include "psErrorText.h"
    3131#include "psCoord.h"
  • trunk/psLib/src/imageops/psImageStats.c

    r7612 r7766  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.97 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2006-06-21 21:03:49 $
     11 *  @version $Revision: 1.98 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2006-06-30 02:20:06 $
    1313 *
    1414 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    2929#include "psPolynomial.h"
    3030#include "psImageStats.h"
    31 #include "psConstants.h"
     31#include "psAssert.h"
    3232#include "psErrorText.h"
    3333#include "psRegion.h"
     
    592592        return -1;
    593593    }/* else if (col0 == col1 && row0 == row1) {
    594                                     psError(PS_ERR_BAD_PARAMETER_VALUE, true,
    595                                             "Invalid psRegion specified.  Region contains only 1 pixel.\n");
    596                                     return -1;
    597                                 }
    598                             */
     594                                        psError(PS_ERR_BAD_PARAMETER_VALUE, true,
     595                                                "Invalid psRegion specified.  Region contains only 1 pixel.\n");
     596                                        return -1;
     597                                    }
     598                                */
    599599    x0 = col0;
    600600    x1 = col1;
  • trunk/psLib/src/imageops/psImageUnbin.c

    r7381 r7766  
    33#include "psError.h"
    44#include "psImage.h"
    5 #include "psConstants.h"
     5#include "psAssert.h"
    66#include "psImageUnbin.h"
    77
Note: See TracChangeset for help on using the changeset viewer.