QGIS API Documentation  3.2.0-Bonn (bc43194)
Public Member Functions | List of all members
QgsMeshRendererScalarSettings Class Reference

Represents a mesh renderer settings for scalar datasets. More...

#include <qgsmeshrenderersettings.h>

Public Member Functions

QColor maxColor () const
 Returns color representing maximum scalar value in the dataset. More...
 
double maxValue () const
 Returns max scalar value that represents maxColor() More...
 
QColor minColor () const
 Returns color representing minimum scalar value in the dataset. More...
 
double minValue () const
 Returns min scalar value that represents minColor() More...
 
void setMaxColor (const QColor &maxColor)
 Sets color representing maximum scalar value in the dataset. More...
 
void setMaxValue (double maxValue)
 Sets min scalar value that represents minColor() More...
 
void setMinColor (const QColor &minColor)
 Sets color representing maximum scalar value in the dataset. More...
 
void setMinValue (double minValue)
 Sets min scalar value that represents minColor() More...
 

Detailed Description

Represents a mesh renderer settings for scalar datasets.

Note
The API is considered EXPERIMENTAL and can be changed without a notice
Since
QGIS 3.2

Definition at line 69 of file qgsmeshrenderersettings.h.

Member Function Documentation

◆ maxColor()

QColor QgsMeshRendererScalarSettings::maxColor ( ) const

Returns color representing maximum scalar value in the dataset.

Definition at line 50 of file qgsmeshrenderersettings.cpp.

◆ maxValue()

double QgsMeshRendererScalarSettings::maxValue ( ) const

Returns max scalar value that represents maxColor()

if set to numerical_limits<double>::quiet_NaN(), value for maxColor() is taken from maximum value of active scalar dataset

Definition at line 80 of file qgsmeshrenderersettings.cpp.

◆ minColor()

QColor QgsMeshRendererScalarSettings::minColor ( ) const

Returns color representing minimum scalar value in the dataset.

Definition at line 60 of file qgsmeshrenderersettings.cpp.

◆ minValue()

double QgsMeshRendererScalarSettings::minValue ( ) const

Returns min scalar value that represents minColor()

if set to numerical_limits<double>::quiet_NaN(), value for minColor() is taken from minimum value of active scalar dataset

Definition at line 70 of file qgsmeshrenderersettings.cpp.

◆ setMaxColor()

void QgsMeshRendererScalarSettings::setMaxColor ( const QColor &  maxColor)

Sets color representing maximum scalar value in the dataset.

Definition at line 55 of file qgsmeshrenderersettings.cpp.

◆ setMaxValue()

void QgsMeshRendererScalarSettings::setMaxValue ( double  maxValue)

Sets min scalar value that represents minColor()

See also
QgsMeshRendererScalarSettings::maxValue()

Definition at line 85 of file qgsmeshrenderersettings.cpp.

◆ setMinColor()

void QgsMeshRendererScalarSettings::setMinColor ( const QColor &  minColor)

Sets color representing maximum scalar value in the dataset.

Definition at line 65 of file qgsmeshrenderersettings.cpp.

◆ setMinValue()

void QgsMeshRendererScalarSettings::setMinValue ( double  minValue)

Sets min scalar value that represents minColor()

See also
QgsMeshRendererScalarSettings::minValue()

Definition at line 75 of file qgsmeshrenderersettings.cpp.


The documentation for this class was generated from the following files: