IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 5, 2005, 5:04:35 PM (21 years ago)
Author:
drobbin
Message:

made changes based on revisions in psLib SDRS rev. 15

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/collections/psPixels.h

    r4401 r4457  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-06-27 20:38:12 $
     9 *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-07-06 03:04:35 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    2424typedef struct
    2525{
    26     psS32 x;                           ///< x coordinate
    27     psS32 y;                           ///< y coordinate
     26    int x;                             ///< x coordinate
     27    int y;                             ///< y coordinate
    2828}
    2929psPixelCoord;
     
    4141typedef struct
    4242{
    43     int n;                             ///< Number in usa
    44     int nalloc;                        ///< Number allocated
     43    long n;                            ///< Number in usa
     44    long nalloc;                       ///< Number allocated
    4545    psPixelCoord* data;                ///< The pixel coordinates
     46    void *lock;                        ///< Option lock for thread safety
    4647}
    4748psPixels;
     
    5354 */
    5455psPixels* psPixelsAlloc(
    55     psU32 nalloc                       ///< the size of the coordinate vectors
    56 );
     56    long nalloc                       ///< the size of the coordinate vectors
     57)
     58;
    5759
    5860/** resizes a psPixels structure
     
    6264psPixels* psPixelsRealloc(
    6365    psPixels* pixels,                  ///< psPixels to resize, or NULL to create new psPixels
    64     psU32 nalloc                       ///< the size of the coordinate vectors
     66    long nalloc                       ///< the size of the coordinate vectors
    6567);
    6668
     
    7173psPixels* p_psPixelsAppend(
    7274    psPixels* pixels,                  ///< psPixels to append new coordinate to.  NULL creates a new one.
    73     int growth,                        ///< number of elements to grow the psPixels list, if necessary.  if growth < 1, 10 is used.
    74     psS32 x,                           ///< x coordinate to append
    75     psS32 y                            ///< y coordinate to append
     75    long growth,                        ///< number of elements to grow the psPixels list, if necessary.  if growth < 1, 10 is used.
     76    int x,                             ///< x coordinate to append
     77    int y                              ///< y coordinate to append
    7678);
    7779
     
    138140
    139141/** Prints a psPixels to specified destination.
    140  * 
     142 *
    141143 *  @return bool:    True if successful.
    142144*/
Note: See TracChangeset for help on using the changeset viewer.