PCL
|
Functions | |
void | pcl::Bitmap::ReplaceColor (const pcl::Rect &rect, RGBA replaceThis, RGBA replaceWith) |
void | pcl::Bitmap::ReplaceColor (RGBA replaceThis, RGBA replaceWith) |
void | pcl::Bitmap::SetAlpha (const pcl::Rect &rect, uint8 newAlpha) |
void | pcl::Bitmap::SetAlpha (uint8 newAlpha) |
Replaces all occurrences of a specified pixel value in a rectangular region of this bitmap with a new value.
rect | Rectangular region. |
replaceThis | Pixel value to be replaced. |
replaceWith | New pixel value for replacement. |
Replaces all occurrences of a specified pixel value in this bitmap with a new value.
replaceThis | Pixel value to be replaced. |
replaceWith | New pixel value for replacement. |
This function is equivalent to:
ReplaceColor( Bounds(), replaceThis, replaceWith );
Replaces the alpha (transparency) components of all pixels in a rectangular region of this bitmap with a new alpha value.
rect | Rectangular region. |
newAlpha | New alpha (transparency) value in the range [0,255]. |
|
inline |
Replaces the alpha (transparency) components of all pixels in this bitmap with a new alpha value.
newAlpha | New alpha (transparency) value in the range [0,255]. |
This function is equivalent to:
SetAlpha( Bounds(), newAlpha );
Definition at line 1391 of file Bitmap.h.
References pcl::SetAlpha().