|
QGIS API Documentation 4.1.0-Master (ca2ac17535b)
|
Contains the configuration of the scene's color grading settings, such as exposure and tone mapping. More...
#include <qgscolorgradingsettings.h>
Public Member Functions | |
| QgsColorGradingSettings ()=default | |
| QgsColorGradingSettings (const QgsColorGradingSettings &other) | |
| double | exposureAdjustment () const |
| Returns the exposure adjustment value. | |
| QgsColorGradingSettings & | operator= (QgsColorGradingSettings const &rhs) |
| void | readXml (const QDomElement &element, const QgsReadWriteContext &context) |
| Reads settings from a DOM element. | |
| void | setExposureAdjustment (double adjustment) |
| Sets the exposure adjustment value. | |
| void | setToneMapping (Qgis::ToneMappingMethod mapping) |
| Sets the tone mapping method. | |
| Qgis::ToneMappingMethod | toneMapping () const |
| Returns the tone mapping method applied to the scene. | |
| void | writeXml (QDomElement &element, const QgsReadWriteContext &context) const |
| Writes settings to a DOM element. | |
Contains the configuration of the scene's color grading settings, such as exposure and tone mapping.
Definition at line 37 of file qgscolorgradingsettings.h.
|
default |
| QgsColorGradingSettings::QgsColorGradingSettings | ( | const QgsColorGradingSettings & | other | ) |
Definition at line 25 of file qgscolorgradingsettings.cpp.
|
inline |
Returns the exposure adjustment value.
Exposure adjustment is applied to the linear color values before bloom and tone mapping are evaluated.
A value of 0.0 represents no adjustment. Positive values will brighten the scene, while negative values will darken it.
Definition at line 68 of file qgscolorgradingsettings.h.
| QgsColorGradingSettings & QgsColorGradingSettings::operator= | ( | QgsColorGradingSettings const & | rhs | ) |
Definition at line 30 of file qgscolorgradingsettings.cpp.
| void QgsColorGradingSettings::readXml | ( | const QDomElement & | element, |
| const QgsReadWriteContext & | context ) |
Reads settings from a DOM element.
Definition at line 40 of file qgscolorgradingsettings.cpp.
|
inline |
Sets the exposure adjustment value.
Definition at line 75 of file qgscolorgradingsettings.h.
|
inline |
Sets the tone mapping method.
Definition at line 92 of file qgscolorgradingsettings.h.
|
inline |
Returns the tone mapping method applied to the scene.
Tone mapping handles the transformation of High Dynamic Range (HDR) colors into the Low Dynamic Range (LDR) range. It is evaluated after exposure and bloom effects have been applied.
Definition at line 86 of file qgscolorgradingsettings.h.
| void QgsColorGradingSettings::writeXml | ( | QDomElement & | element, |
| const QgsReadWriteContext & | context ) const |
Writes settings to a DOM element.
Definition at line 46 of file qgscolorgradingsettings.cpp.