File tree 2 files changed +44
-0
lines changed
python/core/auto_generated/raster
2 files changed +44
-0
lines changed Original file line number Diff line number Diff line change @@ -40,14 +40,40 @@ a specified bounding range.
40
40
%Docstring
41
41
Sets the maximum ``value``.
42
42
43
+ .. seealso:: :py:func:`maximumValue`
44
+
43
45
.. seealso:: :py:func:`setMinimumValue`
44
46
%End
45
47
46
48
void setMinimumValue( double value );
47
49
%Docstring
48
50
Sets the minimum ``value``.
49
51
52
+ .. seealso:: :py:func:`minimumValue`
53
+
54
+ .. seealso:: :py:func:`setMaximumValue`
55
+ %End
56
+
57
+ double maximumValue() const;
58
+ %Docstring
59
+ Returns the maximum value.
60
+
50
61
.. seealso:: :py:func:`setMaximumValue`
62
+
63
+ .. seealso:: :py:func:`minimumValue`
64
+
65
+ .. versionadded:: 3.2
66
+ %End
67
+
68
+ double minimumValue() const;
69
+ %Docstring
70
+ Returns the minimum value.
71
+
72
+ .. seealso:: :py:func:`setMinimumValue`
73
+
74
+ .. seealso:: :py:func:`maximumValue`
75
+
76
+ .. versionadded:: 3.2
51
77
%End
52
78
53
79
protected:
Original file line number Diff line number Diff line change @@ -45,16 +45,34 @@ class CORE_EXPORT QgsContrastEnhancementFunction
45
45
46
46
/* *
47
47
* Sets the maximum \a value.
48
+ * \see maximumValue()
48
49
* \see setMinimumValue()
49
50
*/
50
51
void setMaximumValue ( double value );
51
52
52
53
/* *
53
54
* Sets the minimum \a value.
55
+ * \see minimumValue()
54
56
* \see setMaximumValue()
55
57
*/
56
58
void setMinimumValue ( double value );
57
59
60
+ /* *
61
+ * Returns the maximum value.
62
+ * \see setMaximumValue()
63
+ * \see minimumValue()
64
+ * \since QGIS 3.2
65
+ */
66
+ double maximumValue () const { return mMaximumValue ; }
67
+
68
+ /* *
69
+ * Returns the minimum value.
70
+ * \see setMinimumValue()
71
+ * \see maximumValue()
72
+ * \since QGIS 3.2
73
+ */
74
+ double minimumValue () const { return mMinimumValue ; }
75
+
58
76
protected:
59
77
// ! \brief User defineable maximum value for the band, used for enhanceContrasting
60
78
double mMaximumValue ;
You can’t perform that action at this time.
0 commit comments