|
QGIS API Documentation 4.0.0-Norrköping (1ddcee3d0e4)
|
Defines the transparency for a range of single-band pixel values. More...
#include <qgsrastertransparency.h>
Public Member Functions | |
| TransparentSingleValuePixel (double minimum=0, double maximum=0, double opacity=0, bool includeMinimum=true, bool includeMaximum=true) | |
| Constructor for TransparentSingleValuePixel. | |
| bool | operator!= (const QgsRasterTransparency::TransparentSingleValuePixel &other) const |
| bool | operator== (const QgsRasterTransparency::TransparentSingleValuePixel &other) const |
Public Attributes | |
| bool | includeMaximum = true |
true if pixels matching the max value should be considered transparent, or false if only pixels less than the max value should be transparent. | |
| bool | includeMinimum = true |
true if pixels matching the min value should be considered transparent, or false if only pixels greater than the min value should be transparent. | |
| double | max |
| Maximum pixel value to include in range. | |
| double | min |
| Minimum pixel value to include in range. | |
| double | opacity = 0 |
| Opacity for pixel, between 0 and 1.0. | |
Defines the transparency for a range of single-band pixel values.
Definition at line 170 of file qgsrastertransparency.h.
|
inline |
Constructor for TransparentSingleValuePixel.
| minimum | minimum pixel value to include in range |
| maximum | maximum pixel value to include in range |
| opacity | opacity for pixel, between 0 and 1.0 |
| includeMinimum | whether the minimum value should be included in the range |
| includeMaximum | whether the maximum value should be included in the range |
Definition at line 182 of file qgsrastertransparency.h.
|
inline |
Definition at line 231 of file qgsrastertransparency.h.
|
inline |
Definition at line 223 of file qgsrastertransparency.h.
| bool QgsRasterTransparency::TransparentSingleValuePixel::includeMaximum = true |
true if pixels matching the max value should be considered transparent, or false if only pixels less than the max value should be transparent.
Definition at line 221 of file qgsrastertransparency.h.
| bool QgsRasterTransparency::TransparentSingleValuePixel::includeMinimum = true |
true if pixels matching the min value should be considered transparent, or false if only pixels greater than the min value should be transparent.
Definition at line 213 of file qgsrastertransparency.h.
| double QgsRasterTransparency::TransparentSingleValuePixel::max |
Maximum pixel value to include in range.
Definition at line 198 of file qgsrastertransparency.h.
| double QgsRasterTransparency::TransparentSingleValuePixel::min |
Minimum pixel value to include in range.
Definition at line 193 of file qgsrastertransparency.h.
| double QgsRasterTransparency::TransparentSingleValuePixel::opacity = 0 |
Opacity for pixel, between 0 and 1.0.
Definition at line 205 of file qgsrastertransparency.h.