QGIS API Documentation  2.8.2-Wien
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
QgsImageOperation::DistanceTransformProperties Struct Reference

Struct for storing properties of a distance transform operation. More...

#include <qgsimageoperation.h>

Public Member Functions

 DistanceTransformProperties ()

Public Attributes

QgsVectorColorRampV2ramp
 Color ramp to use for shading the distance transform.
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.
double spread
 Maximum distance (in pixels) for the distance transform shading to spread.
bool useMaxDistance
 Set to true to automatically calculate the maximum distance in the transform to use as the spread value.

Detailed Description

Struct for storing properties of a distance transform operation.

Definition at line 104 of file qgsimageoperation.h.

Constructor & Destructor Documentation

QgsImageOperation::DistanceTransformProperties::DistanceTransformProperties ( )
inline

Definition at line 106 of file qgsimageoperation.h.

Member Data Documentation

QgsVectorColorRampV2* QgsImageOperation::DistanceTransformProperties::ramp

Color ramp to use for shading the distance transform.

Definition at line 128 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 117 of file qgsimageoperation.h.

double QgsImageOperation::DistanceTransformProperties::spread

Maximum distance (in pixels) for the distance transform shading to spread.

Definition at line 125 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 121 of file qgsimageoperation.h.


The documentation for this struct was generated from the following file: