QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
|
Struct for storing properties of a distance transform operation. More...
#include <qgsimageoperation.h>
Public Member Functions | |
DistanceTransformProperties () | |
Public Attributes | |
QgsVectorColorRampV2 * | ramp |
Color ramp to use for shading the distance transform. More... | |
bool | shadeExterior |
Set to true to perform the distance transform on transparent pixels in the source image, set to false to perform the distance transform on opaque pixels. More... | |
double | spread |
Maximum distance (in pixels) for the distance transform shading to spread. More... | |
bool | useMaxDistance |
Set to true to automatically calculate the maximum distance in the transform to use as the spread value. More... | |
Struct for storing properties of a distance transform operation.
Definition at line 105 of file qgsimageoperation.h.
|
inline |
Definition at line 107 of file qgsimageoperation.h.
QgsVectorColorRampV2* QgsImageOperation::DistanceTransformProperties::ramp |
Color ramp to use for shading the distance transform.
Definition at line 129 of file qgsimageoperation.h.
bool QgsImageOperation::DistanceTransformProperties::shadeExterior |
Set to true to perform the distance transform on transparent pixels in the source image, set to false to perform the distance transform on opaque pixels.
Definition at line 118 of file qgsimageoperation.h.
double QgsImageOperation::DistanceTransformProperties::spread |
Maximum distance (in pixels) for the distance transform shading to spread.
Definition at line 126 of file qgsimageoperation.h.
bool QgsImageOperation::DistanceTransformProperties::useMaxDistance |
Set to true to automatically calculate the maximum distance in the transform to use as the spread value.
Definition at line 122 of file qgsimageoperation.h.