QGIS API Documentation
3.24.2-Tisler (13c1a02865)
|
Represents all mesh renderer settings. More...
#include <qgsmeshrenderersettings.h>
Public Member Functions | |
QgsMeshRendererSettings () | |
Constructs renderer with default single layer averaging method. More... | |
~QgsMeshRendererSettings () | |
Destructor. More... | |
int | activeScalarDatasetGroup () const |
Returns the active scalar dataset group. More... | |
int | activeVectorDatasetGroup () const |
Returns the active vector dataset group. More... | |
QgsMesh3dAveragingMethod * | averagingMethod () const |
Returns averaging method for conversion of 3d stacked mesh data to 2d data. More... | |
QgsMeshRendererMeshSettings | edgeMeshSettings () const |
Returns edge mesh renderer settings. More... | |
bool | hasSettings (int datasetGroupIndex) const |
Returns whether the group with index has render settings (scalar or vector) More... | |
QgsMeshRendererMeshSettings | nativeMeshSettings () const |
Returns native mesh renderer settings. More... | |
void | readXml (const QDomElement &elem, const QgsReadWriteContext &context=QgsReadWriteContext()) |
Reads configuration from the given DOM element. More... | |
QgsMeshRendererScalarSettings | scalarSettings (int groupIndex) const |
Returns renderer settings. More... | |
void | setActiveScalarDatasetGroup (int activeScalarDatasetGroup) |
Sets the active scalar dataset group. More... | |
void | setActiveVectorDatasetGroup (int activeVectorDatasetGroup) |
Sets the active vector dataset group. More... | |
void | setAveragingMethod (QgsMesh3dAveragingMethod *method) |
Sets averaging method for conversion of 3d stacked mesh data to 2d data. More... | |
void | setEdgeMeshSettings (const QgsMeshRendererMeshSettings &settings) |
Sets new edge mesh renderer settings. More... | |
void | setNativeMeshSettings (const QgsMeshRendererMeshSettings &settings) |
Sets new native mesh renderer settings, triggers repaint. More... | |
void | setScalarSettings (int groupIndex, const QgsMeshRendererScalarSettings &settings) |
Sets new renderer settings. More... | |
void | setTriangularMeshSettings (const QgsMeshRendererMeshSettings &settings) |
Sets new triangular mesh renderer settings. More... | |
void | setVectorSettings (int groupIndex, const QgsMeshRendererVectorSettings &settings) |
Sets new renderer settings. More... | |
QgsMeshRendererMeshSettings | triangularMeshSettings () const |
Returns triangular mesh renderer settings. More... | |
QgsMeshRendererVectorSettings | vectorSettings (int groupIndex) const |
Returns renderer settings. More... | |
QDomElement | writeXml (QDomDocument &doc, const QgsReadWriteContext &context=QgsReadWriteContext()) const |
Writes configuration to a new DOM element. More... | |
Represents all mesh renderer settings.
Definition at line 590 of file qgsmeshrenderersettings.h.
QgsMeshRendererSettings::QgsMeshRendererSettings | ( | ) |
Constructs renderer with default single layer averaging method.
Definition at line 387 of file qgsmeshrenderersettings.cpp.
|
default |
Destructor.
int QgsMeshRendererSettings::activeScalarDatasetGroup | ( | ) | const |
Returns the active scalar dataset group.
Definition at line 507 of file qgsmeshrenderersettings.cpp.
int QgsMeshRendererSettings::activeVectorDatasetGroup | ( | ) | const |
Returns the active vector dataset group.
Definition at line 517 of file qgsmeshrenderersettings.cpp.
QgsMesh3dAveragingMethod * QgsMeshRendererSettings::averagingMethod | ( | ) | const |
Returns averaging method for conversion of 3d stacked mesh data to 2d data.
Caller does not own the resulting pointer
Definition at line 394 of file qgsmeshrenderersettings.cpp.
|
inline |
Returns edge mesh renderer settings.
Definition at line 615 of file qgsmeshrenderersettings.h.
bool QgsMeshRendererSettings::hasSettings | ( | int | datasetGroupIndex | ) | const |
Returns whether the group with index has render settings (scalar or vector)
Definition at line 743 of file qgsmeshrenderersettings.cpp.
|
inline |
Returns native mesh renderer settings.
Definition at line 602 of file qgsmeshrenderersettings.h.
void QgsMeshRendererSettings::readXml | ( | const QDomElement & | elem, |
const QgsReadWriteContext & | context = QgsReadWriteContext() |
||
) |
Reads configuration from the given DOM element.
Definition at line 456 of file qgsmeshrenderersettings.cpp.
|
inline |
Returns renderer settings.
Definition at line 624 of file qgsmeshrenderersettings.h.
void QgsMeshRendererSettings::setActiveScalarDatasetGroup | ( | int | activeScalarDatasetGroup | ) |
Sets the active scalar dataset group.
Definition at line 512 of file qgsmeshrenderersettings.cpp.
void QgsMeshRendererSettings::setActiveVectorDatasetGroup | ( | int | activeVectorDatasetGroup | ) |
Sets the active vector dataset group.
Definition at line 522 of file qgsmeshrenderersettings.cpp.
void QgsMeshRendererSettings::setAveragingMethod | ( | QgsMesh3dAveragingMethod * | method | ) |
Sets averaging method for conversion of 3d stacked mesh data to 2d data.
Ownership of the method is not transferred.
Definition at line 399 of file qgsmeshrenderersettings.cpp.
|
inline |
Sets new edge mesh renderer settings.
Definition at line 621 of file qgsmeshrenderersettings.h.
|
inline |
Sets new native mesh renderer settings, triggers repaint.
Definition at line 604 of file qgsmeshrenderersettings.h.
|
inline |
Sets new renderer settings.
Definition at line 626 of file qgsmeshrenderersettings.h.
|
inline |
Sets new triangular mesh renderer settings.
Definition at line 609 of file qgsmeshrenderersettings.h.
|
inline |
Sets new renderer settings.
Definition at line 631 of file qgsmeshrenderersettings.h.
|
inline |
Returns triangular mesh renderer settings.
Definition at line 607 of file qgsmeshrenderersettings.h.
|
inline |
Returns renderer settings.
Definition at line 629 of file qgsmeshrenderersettings.h.
QDomElement QgsMeshRendererSettings::writeXml | ( | QDomDocument & | doc, |
const QgsReadWriteContext & | context = QgsReadWriteContext() |
||
) | const |
Writes configuration to a new DOM element.
Definition at line 407 of file qgsmeshrenderersettings.cpp.