Changeset 5227 for trunk/psLib/src/imageops/psImagePixelManip.h
- Timestamp:
- Oct 5, 2005, 4:41:07 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/imageops/psImagePixelManip.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/imageops/psImagePixelManip.h
r5064 r5227 8 8 * @author Robert DeSonia, MHPCC 9 9 * 10 * @version $Revision: 1.1 3$ $Name: not supported by cvs2svn $11 * @date $Date: 2005- 09-16 23:56:48$10 * @version $Revision: 1.14 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2005-10-06 02:41:07 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 87 87 const char *op ///< the operation to perform for overlay 88 88 ); 89 /** Sets the bits inside the region, ignoring pixels outside.90 *91 * The pixels are set by combining the existing pixel value and the given maskValue92 * with a logical operation. The allowed operations are =, AND, OR, and XOR.93 */94 void psImageMaskRegion(95 psImage *image, ///< the image to set96 psRegion region, ///< the specified region97 const char *op, ///< the logical operation98 psMaskType maskValue ///< the specified bits99 );100 101 /** Sets the bits outside the region, ignoring pixels inside.102 *103 * The pixels are set by combining the existing pixel value and the given maskValue104 * with a logical operation. The allowed operations are =, AND, OR, and XOR.105 */106 void psImageKeepRegion(107 psImage *image, ///< the image to set108 psRegion region, ///< the specified region109 const char *op, ///< the logical operation110 psMaskType maskValue ///< the specified bits111 );112 113 /** Sets the bits inside the circle, ignoring the pixels outside.114 *115 * The pixel values are set by combining the existing pixel value and the given maskValue116 * with a logical operation. The allowed operations are =, AND, OR, and XOR.117 */118 void psImageMaskCircle(119 psImage *image, ///< the image to set120 double x, ///< the x coordinate of the circle's center121 double y, ///< the y coordinate of the circle's center122 double radius, ///< the radius of the specified circle123 const char *op, ///< the logical operation124 psMaskType maskValue ///< the specified bits125 );126 127 /** Sets the bits outside the circle, ignoring the pixels inside.128 *129 * The pixel values are set by combining the existing pixel value and the given maskValue130 * with a logical operation. The allowed operations are =, AND, OR, and XOR.131 */132 void psImageKeepCircle(133 psImage *image, ///< the image to set134 double x, ///< the x coordinate of the circle's center135 double y, ///< the y coordinate of the circle's center136 double radius, ///< the radius of the specified circle137 const char *op, ///< the logical operation138 psMaskType maskValue ///< the specified bits139 );140 89 141 90 #endif // #ifndef PS_IMAGE_PIXEL_MANIP_H
Note:
See TracChangeset
for help on using the changeset viewer.
