You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/core/raster/qgscolorrampshader.h
+16-7
Original file line number
Diff line number
Diff line change
@@ -96,7 +96,11 @@ class CORE_EXPORT QgsColorRampShader : public QgsRasterShaderFunction
96
96
intmCurrentColorRampItemIndex;
97
97
98
98
//TODO: Consider pulling this out as a separate class and internally storing as a QMap rather than a QList
99
-
/** This vector holds the information for classification based on values. Each item holds a value, a label and a color. The member mDiscreteClassification holds if one color is applied for all values between two class breaks (true) or if the item values are (linearly) interpolated for values between the item values (false)*/
99
+
/** This vector holds the information for classification based on values.
100
+
* Each item holds a value, a label and a color. The member
101
+
* mDiscreteClassification holds if one color is applied for all values
102
+
* between two class breaks (true) or if the item values are (linearly)
103
+
* interpolated for values between the item values (false)*/
@@ -105,18 +109,23 @@ class CORE_EXPORT QgsColorRampShader : public QgsRasterShaderFunction
105
109
/** \brief Cache of values that have already been looked up */
106
110
QMap<double, QColor> mColorCache;
107
111
108
-
/** Maximum size of the color cache. The color cache could eat a ton of memory if you have 32-bit data */
112
+
/** Maximum size of the color cache. The color cache could eat a ton of
113
+
* memory if you have 32-bit data */
109
114
intmMaximumColorCacheSize;
110
115
111
-
112
-
113
-
/** Gets the color for a pixel value from the classification vector mValueClassification. Assigns the color of the lower class for every pixel between two class breaks.*/
116
+
/** Gets the color for a pixel value from the classification vector
117
+
* mValueClassification. Assigns the color of the lower class for every
118
+
* pixel between two class breaks.*/
114
119
booldiscreteColor( double, int*, int*, int* );
115
120
116
-
/** Gets the color for a pixel value from the classification vector mValueClassification. Assigns the color of the exact matching value in the color ramp item list */
121
+
/** Gets the color for a pixel value from the classification vector
122
+
* mValueClassification. Assigns the color of the exact matching value in
123
+
* the color ramp item list */
117
124
boolexactColor( double, int*, int*, int* );
118
125
119
-
/** Gets the color for a pixel value from the classification vector mValueClassification. Interpolates the color between two class breaks linearly.*/
126
+
/** Gets the color for a pixel value from the classification vector
127
+
* mValueClassification. Interpolates the color between two class breaks
0 commit comments