QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
|
Defines the transparency for a RGB pixel value. More...
#include <qgsrastertransparency.h>
Public Member Functions | |
TransparentThreeValuePixel (double red=0, double green=0, double blue=0, double opacity=0, double fuzzyToleranceRed=4 *std::numeric_limits< double >::epsilon(), double fuzzyToleranceGreen=4 *std::numeric_limits< double >::epsilon(), double fuzzyToleranceBlue=4 *std::numeric_limits< double >::epsilon()) | |
Constructor for TransparentThreeValuePixel. | |
bool | operator!= (const QgsRasterTransparency::TransparentThreeValuePixel &other) const |
bool | operator== (const QgsRasterTransparency::TransparentThreeValuePixel &other) const |
Public Attributes | |
double | blue |
Blue pixel value. | |
double | fuzzyToleranceBlue = 4 * std::numeric_limits<double>::epsilon() |
Fuzzy tolerance for blue values. | |
double | fuzzyToleranceGreen = 4 * std::numeric_limits<double>::epsilon() |
Fuzzy tolerance for green values. | |
double | fuzzyToleranceRed = 4 * std::numeric_limits<double>::epsilon() |
Fuzzy tolerance for red values. | |
double | green |
Green pixel value. | |
double | opacity = 0 |
Opacity for pixel, between 0 and 1.0. | |
double | red |
Red pixel value. | |
Defines the transparency for a RGB pixel value.
Definition at line 44 of file qgsrastertransparency.h.
|
inline |
Constructor for TransparentThreeValuePixel.
red | red pixel value |
green | green pixel value |
blue | blue pixel value |
opacity | opacity for pixel, between 0 and 1.0 |
fuzzyToleranceRed | (since QGIS 3.40) allows specifying a tolerance for the red color component, where the pixel's red component can deviate from values specified here by a maximum of this tolerance amount |
fuzzyToleranceGreen | (since QGIS 3.40) allows specifying a tolerance for the green color component, where the pixel's green component can deviate from values specified here by a maximum of this tolerance amount |
fuzzyToleranceBlue | (since QGIS 3.40) allows specifying a tolerance for the blue color component, where the pixel's blue component can deviate from values specified here by a maximum of this tolerance amount |
Definition at line 58 of file qgsrastertransparency.h.
|
inline |
Definition at line 139 of file qgsrastertransparency.h.
|
inline |
Definition at line 129 of file qgsrastertransparency.h.
double QgsRasterTransparency::TransparentThreeValuePixel::blue |
Blue pixel value.
Definition at line 81 of file qgsrastertransparency.h.
double QgsRasterTransparency::TransparentThreeValuePixel::fuzzyToleranceBlue = 4 * std::numeric_limits<double>::epsilon() |
Fuzzy tolerance for blue values.
If non zero, the pixel's blue component can deviate from values specified in this object by a maximum of this tolerance amount.
Definition at line 124 of file qgsrastertransparency.h.
double QgsRasterTransparency::TransparentThreeValuePixel::fuzzyToleranceGreen = 4 * std::numeric_limits<double>::epsilon() |
Fuzzy tolerance for green values.
If non zero, the pixel's green component can deviate from values specified in this object by a maximum of this tolerance amount.
Definition at line 111 of file qgsrastertransparency.h.
double QgsRasterTransparency::TransparentThreeValuePixel::fuzzyToleranceRed = 4 * std::numeric_limits<double>::epsilon() |
Fuzzy tolerance for red values.
If non zero, the pixel's red component can deviate from values specified in this object by a maximum of this tolerance amount.
Definition at line 98 of file qgsrastertransparency.h.
double QgsRasterTransparency::TransparentThreeValuePixel::green |
Green pixel value.
Definition at line 76 of file qgsrastertransparency.h.
double QgsRasterTransparency::TransparentThreeValuePixel::opacity = 0 |
Opacity for pixel, between 0 and 1.0.
Definition at line 88 of file qgsrastertransparency.h.
double QgsRasterTransparency::TransparentThreeValuePixel::red |
Red pixel value.
Definition at line 71 of file qgsrastertransparency.h.