18 #ifndef QGSRECLASSIFYUTILS 19 #define QGSRECLASSIFYUTILS 24 #include "qgis_analysis.h" 40 class ANALYSIS_EXPORT QgsReclassifyUtils
53 RasterClass() =
default;
77 static void checkForOverlaps(
const QVector< RasterClass > &classes,
QgsProcessingFeedback *feedback );
100 static void reclassify(
const QVector< RasterClass > &classes,
104 int sourceWidthPixels,
105 int sourceHeightPixels,
107 double destNoDataValue,
bool useNoDataForMissingValues,
119 static double reclassifyValue(
const QVector< RasterClass > &classes,
double input,
bool &reclassified )
121 reclassified =
false;
122 for (
const QgsReclassifyUtils::RasterClass &
c : classes )
124 if (
c.contains( input ) )
140 #endif // QGSRECLASSIFYUTILS
A rectangle specified with double values.
Q_DECLARE_TYPEINFO(QgsMargins, Q_MOVABLE_TYPE)
Base class for providing feedback from a processing algorithm.
BoundsType
Handling for min and max bounds.
Raster values range container.
As part of the API refactoring and improvements which landed in the Processing API was substantially reworked from the x version This was done in order to allow much of the underlying Processing framework to be ported into c
Base class for processing filters like renderers, reprojector, resampler etc.
Base class for raster data providers.