| QGIS API Documentation 3.99.0-Master (f78f5286a64)
    | 
Represents a mesh renderer settings for scalar datasets. More...
#include <qgsmeshrenderersettings.h>
| Public Types | |
| enum | DataResamplingMethod { NoResampling = 0 , NeighbourAverage } | 
| Resampling of value from dataset.  More... | |
| Public Member Functions | |
| double | classificationMaximum () const | 
| Returns max value used for creation of the color ramp shader. | |
| double | classificationMinimum () const | 
| Returns min value used for creation of the color ramp shader. | |
| QgsColorRampShader | colorRampShader () const | 
| Returns color ramp shader function. | |
| DataResamplingMethod | dataResamplingMethod () const | 
| Returns the type of interpolation to use to convert face defined datasets to values on vertices. | |
| QgsInterpolatedLineWidth | edgeStrokeWidth () const | 
| Returns the stroke width used to render edges scalar dataset. | |
| Qgis::RenderUnit | edgeStrokeWidthUnit () const | 
| Returns the stroke width unit used to render edges scalar dataset. | |
| Qgis::MeshRangeExtent | extent () const | 
| Returns the mesh extent for minimum maximum calculation. | |
| Qgis::MeshRangeLimit | limits () const | 
| Returns the range limits type for minimum maximum calculation. | |
| double | opacity () const | 
| Returns opacity. | |
| void | readXml (const QDomElement &elem, const QgsReadWriteContext &context=QgsReadWriteContext()) | 
| Reads configuration from the given DOM element. | |
| void | setClassificationMinimumMaximum (double minimum, double maximum) | 
| Sets min/max values used for creation of the color ramp shader. | |
| void | setColorRampShader (const QgsColorRampShader &shader) | 
| Sets color ramp shader function. | |
| void | setDataResamplingMethod (const DataResamplingMethod &dataResamplingMethod) | 
| Sets data interpolation method. | |
| void | setEdgeStrokeWidth (const QgsInterpolatedLineWidth &strokeWidth) | 
| Sets the stroke width used to render edges scalar dataset. | |
| void | setEdgeStrokeWidthUnit (Qgis::RenderUnit edgeStrokeWidthUnit) | 
| Sets the stroke width unit used to render edges scalar dataset. | |
| void | setExtent (Qgis::MeshRangeExtent extent) | 
| Sets the mesh extent for minimum maximum calculation. | |
| void | setLimits (Qgis::MeshRangeLimit limits) | 
| Sets the range limits type for minimum maximum calculation. | |
| void | setOpacity (double opacity) | 
| Sets opacity. | |
| QDomElement | writeXml (QDomDocument &doc, const QgsReadWriteContext &context=QgsReadWriteContext()) const | 
| Writes configuration to a new DOM element. | |
Represents a mesh renderer settings for scalar datasets.
Definition at line 92 of file qgsmeshrenderersettings.h.
Resampling of value from dataset.
| Enumerator | |
|---|---|
| NoResampling | Does not use resampling. | 
| NeighbourAverage | Does a simple average of values defined for all surrounding faces/vertices. | 
Definition at line 103 of file qgsmeshrenderersettings.h.
| double QgsMeshRendererScalarSettings::classificationMaximum | ( | ) | const | 
Returns max value used for creation of the color ramp shader.
Definition at line 94 of file qgsmeshrenderersettings.cpp.
| double QgsMeshRendererScalarSettings::classificationMinimum | ( | ) | const | 
Returns min value used for creation of the color ramp shader.
Definition at line 92 of file qgsmeshrenderersettings.cpp.
| QgsColorRampShader QgsMeshRendererScalarSettings::colorRampShader | ( | ) | const | 
Returns color ramp shader function.
Definition at line 82 of file qgsmeshrenderersettings.cpp.
| QgsMeshRendererScalarSettings::DataResamplingMethod QgsMeshRendererScalarSettings::dataResamplingMethod | ( | ) | const | 
Returns the type of interpolation to use to convert face defined datasets to values on vertices.
Definition at line 107 of file qgsmeshrenderersettings.cpp.
| QgsInterpolatedLineWidth QgsMeshRendererScalarSettings::edgeStrokeWidth | ( | ) | const | 
Returns the stroke width used to render edges scalar dataset.
Definition at line 181 of file qgsmeshrenderersettings.cpp.
| Qgis::RenderUnit QgsMeshRendererScalarSettings::edgeStrokeWidthUnit | ( | ) | const | 
Returns the stroke width unit used to render edges scalar dataset.
Definition at line 191 of file qgsmeshrenderersettings.cpp.
| 
 | inline | 
Returns the mesh extent for minimum maximum calculation.
Definition at line 204 of file qgsmeshrenderersettings.h.
| 
 | inline | 
Returns the range limits type for minimum maximum calculation.
Definition at line 190 of file qgsmeshrenderersettings.h.
| double QgsMeshRendererScalarSettings::opacity | ( | ) | const | 
Returns opacity.
Definition at line 103 of file qgsmeshrenderersettings.cpp.
| void QgsMeshRendererScalarSettings::readXml | ( | const QDomElement & | elem, | 
| const QgsReadWriteContext & | context = QgsReadWriteContext() | ||
| ) | 
Reads configuration from the given DOM element.
Definition at line 152 of file qgsmeshrenderersettings.cpp.
| void QgsMeshRendererScalarSettings::setClassificationMinimumMaximum | ( | double | minimum, | 
| double | maximum | ||
| ) | 
Sets min/max values used for creation of the color ramp shader.
Definition at line 96 of file qgsmeshrenderersettings.cpp.
| void QgsMeshRendererScalarSettings::setColorRampShader | ( | const QgsColorRampShader & | shader | ) | 
Sets color ramp shader function.
Definition at line 87 of file qgsmeshrenderersettings.cpp.
| void QgsMeshRendererScalarSettings::setDataResamplingMethod | ( | const DataResamplingMethod & | dataResamplingMethod | ) | 
Sets data interpolation method.
Definition at line 112 of file qgsmeshrenderersettings.cpp.
| void QgsMeshRendererScalarSettings::setEdgeStrokeWidth | ( | const QgsInterpolatedLineWidth & | strokeWidth | ) | 
Sets the stroke width used to render edges scalar dataset.
Definition at line 186 of file qgsmeshrenderersettings.cpp.
| void QgsMeshRendererScalarSettings::setEdgeStrokeWidthUnit | ( | Qgis::RenderUnit | edgeStrokeWidthUnit | ) | 
Sets the stroke width unit used to render edges scalar dataset.
Definition at line 196 of file qgsmeshrenderersettings.cpp.
| 
 | inline | 
Sets the mesh extent for minimum maximum calculation.
Definition at line 197 of file qgsmeshrenderersettings.h.
| 
 | inline | 
Sets the range limits type for minimum maximum calculation.
Definition at line 183 of file qgsmeshrenderersettings.h.
| void QgsMeshRendererScalarSettings::setOpacity | ( | double | opacity | ) | 
Sets opacity.
Definition at line 105 of file qgsmeshrenderersettings.cpp.
| QDomElement QgsMeshRendererScalarSettings::writeXml | ( | QDomDocument & | doc, | 
| const QgsReadWriteContext & | context = QgsReadWriteContext() | ||
| ) | const | 
Writes configuration to a new DOM element.
Definition at line 117 of file qgsmeshrenderersettings.cpp.