Changeset 4815 for trunk/psLib/src/imageops/psImagePixelManip.h
- Timestamp:
- Aug 18, 2005, 11:44:40 AM (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
r4589 r4815 8 8 * @author Robert DeSonia, MHPCC 9 9 * 10 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $11 * @date $Date: 2005-0 7-21 01:40:10 $10 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2005-08-18 21:44:40 $ 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 maskValue 92 * with a logical operation. The allowed operations are =, AND, OR, and XOR. 93 */ 94 void psImageMaskRegion( 95 psImage *image, ///< the image to set 96 psRegion *region, ///< the specified region 97 bool logical_and, ///< the logical operation 98 int maskValue ///< the specified bits 99 ); 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 maskValue 104 * with a logical operation. The allowed operations are =, AND, OR, and XOR. 105 */ 106 void psImageKeepRegion( 107 psImage *image, ///< the image to set 108 psRegion *region, ///< the specified region 109 bool logical_and, ///< the logical operation 110 int maskValue ///< the specified bits 111 ); 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 maskValue 116 * with a logical operation. The allowed operations are =, AND, OR, and XOR. 117 */ 118 void psImageMaskCircle( 119 psImage *image, ///< the image to set 120 double x, ///< the x coordinate of the circle's center 121 double y, ///< the y coordinate of the circle's center 122 double radius, ///< the radius of the specified circle 123 bool logical_and, ///< the logical operation 124 int maskValue ///< the specified bits 125 ); 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 maskValue 130 * with a logical operation. The allowed operations are =, AND, OR, and XOR. 131 */ 132 void psImageKeepCircle( 133 psImage *image, ///< the image to set 134 double x, ///< the x coordinate of the circle's center 135 double y, ///< the y coordinate of the circle's center 136 double radius, ///< the radius of the specified circle 137 bool logical_and, ///< the logical operation 138 int maskValue ///< the specified bits 139 ); 89 140 90 141 #endif // #ifndef PS_IMAGE_PIXEL_MANIP_H
Note:
See TracChangeset
for help on using the changeset viewer.
