QgsMeshRendererScalarSettings class

Represents a mesh renderer settings for scalar datasets.

Contents

Public functions

auto classificationMaximum() const -> double
Returns max value used for creation of the color ramp shader.
auto classificationMinimum() const -> double
Returns min value used for creation of the color ramp shader.
auto colorRampShader() const -> QgsColorRampShader
Returns color ramp shader function.
auto opacity() const -> double
Returns opacity.
void readXml(const QDomElement& elem)
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 setOpacity(double opacity)
Sets opacity.
auto writeXml(QDomDocument& doc) const -> QDomElement
Writes configuration to a new DOM element.