Changeset 4293 for trunk/psLib/src/collections/psPixels.h
- Timestamp:
- Jun 16, 2005, 2:11:08 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/collections/psPixels.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/collections/psPixels.h
r4214 r4293 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1. 5$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-06-1 1 02:19:05$9 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-06-17 00:11:02 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 21 21 /// @{ 22 22 23 /** Data structure for storing psPixel coordinates */ 23 24 typedef struct 24 25 { 25 psS32 x; 26 psS32 y; 26 psS32 x; ///< x coordinate 27 psS32 y; ///< y coordinate 27 28 } 28 29 psPixelCoord; … … 32 33 * Usually an image mask is the best way to carry information about what 33 34 * pixels mean what. However, in the case where the number of pixels in which 34 * we are interested is limited, it is more ef ï¬cient to simply carry a list35 * we are interested is limited, it is more efficient to simply carry a list 35 36 * of pixels. An example of this is in the image combination code, where we 36 37 * want to perform an operation on a relatively small fraction of pixels, and 37 * it is inef ï¬cient to go through an entire mask image checking each pixel.38 * it is inefficient to go through an entire mask image checking each pixel. 38 39 * 39 40 */ 40 41 typedef struct 41 42 { 42 int n; 43 int nalloc; 44 psPixelCoord* data; 43 int n; ///< Number in usa 44 int nalloc; ///< Number allocated 45 psPixelCoord* data; ///< The pixel coordinates 45 46 } 46 47 psPixels; … … 136 137 ); 137 138 138 /** Prints a psPixels to specified destination. */ 139 /** Prints a psPixels to specified destination. 140 * 141 * @return bool: True if successful. 142 */ 139 143 bool p_psPixelsPrint( 140 FILE *fd, 141 psPixels* pixels, 142 const char *name 144 FILE *fd, ///< destination file descriptor 145 psPixels* pixels, ///< psPixels to print 146 const char *name ///< printf-style format of header line 143 147 ); 144 148
Note:
See TracChangeset
for help on using the changeset viewer.
