IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 22, 2005, 1:56:04 PM (21 years ago)
Author:
desonia
Message:

reformated psPixels according to bug#371.

-rdd

File:
1 edited

Legend:

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

    r3746 r3760  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-04-22 00:06:41 $
     9 *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-04-22 23:56:04 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    2020/// @addtogroup Image
    2121/// @{
     22
     23typedef struct
     24{
     25    psS32 x;
     26    psS32 y;
     27}
     28psPixelCoord;
    2229
    2330/** list of pixel coordinates
     
    3340typedef struct
    3441{
    35     psVector *x;                       ///< x coordinate
    36     psVector *y;                       ///< y coordinate
     42    int n;
     43    int nalloc;
     44    psPixelCoord* data;
    3745}
    3846psPixels;
     
    5462    psPixels* pixels,                  ///< psPixels to resize, or NULL to create new psPixels
    5563    int size                           ///< the size of the coordinate vectors
     64);
     65
     66/** Copies a psPixels object
     67 *
     68 *  Makes a deep copy of the data in a psPixels object.  Any data in the OUT
     69 *  parameter will be destroyed and OUT will be resized, if necessary.
     70 *
     71 *  @return psPixels*   a new psPixels that is a duplicate to IN
     72 */
     73psPixels* psPixelsCopy(
     74    psPixels* out,                     ///< psPixels struct to recycle, or NULL
     75    const psPixels* in                 ///< psPixels struct to copy
    5676);
    5777
Note: See TracChangeset for help on using the changeset viewer.