QGIS API Documentation  3.6.0-Noosa (5873452)
Public Member Functions | List of all members
QgsMeshRendererSettings Class Reference

Represents all mesh renderer settings. More...

#include <qgsmeshrenderersettings.h>

Public Member Functions

QgsMeshDatasetIndex activeScalarDataset () const
 Returns active scalar dataset. More...
 
QgsMeshDatasetIndex activeVectorDataset () const
 Returns active vector dataset. More...
 
QgsMeshRendererMeshSettings nativeMeshSettings () const
 Returns renderer settings. More...
 
void readXml (const QDomElement &elem)
 Reads configuration from the given DOM element. More...
 
QgsMeshRendererScalarSettings scalarSettings (int groupIndex) const
 Returns renderer settings. More...
 
void setActiveScalarDataset (QgsMeshDatasetIndex index=QgsMeshDatasetIndex())
 Sets active scalar dataset for rendering. More...
 
void setActiveVectorDataset (QgsMeshDatasetIndex index=QgsMeshDatasetIndex())
 Sets active vector dataset for rendering. More...
 
void setNativeMeshSettings (const QgsMeshRendererMeshSettings &settings)
 Sets new renderer settings, triggers repaint. More...
 
void setScalarSettings (int groupIndex, const QgsMeshRendererScalarSettings &settings)
 Sets new renderer settings. More...
 
void setTriangularMeshSettings (const QgsMeshRendererMeshSettings &settings)
 Sets new renderer settings. More...
 
void setVectorSettings (int groupIndex, const QgsMeshRendererVectorSettings &settings)
 Sets new renderer settings. More...
 
QgsMeshRendererMeshSettings triangularMeshSettings () const
 Returns renderer settings. More...
 
QgsMeshRendererVectorSettings vectorSettings (int groupIndex) const
 Returns renderer settings. More...
 
QDomElement writeXml (QDomDocument &doc) const
 Writes configuration to a new DOM element. More...
 

Detailed Description

Represents all mesh renderer settings.

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

Definition at line 296 of file qgsmeshrenderersettings.h.

Member Function Documentation

◆ activeScalarDataset()

QgsMeshDatasetIndex QgsMeshRendererSettings::activeScalarDataset ( ) const
inline

Returns active scalar dataset.

Definition at line 321 of file qgsmeshrenderersettings.h.

◆ activeVectorDataset()

QgsMeshDatasetIndex QgsMeshRendererSettings::activeVectorDataset ( ) const
inline

Returns active vector dataset.

Definition at line 326 of file qgsmeshrenderersettings.h.

◆ nativeMeshSettings()

QgsMeshRendererMeshSettings QgsMeshRendererSettings::nativeMeshSettings ( ) const
inline

Returns renderer settings.

Definition at line 301 of file qgsmeshrenderersettings.h.

◆ readXml()

void QgsMeshRendererSettings::readXml ( const QDomElement &  elem)

Reads configuration from the given DOM element.

Definition at line 364 of file qgsmeshrenderersettings.cpp.

◆ scalarSettings()

QgsMeshRendererScalarSettings QgsMeshRendererSettings::scalarSettings ( int  groupIndex) const
inline

Returns renderer settings.

Definition at line 311 of file qgsmeshrenderersettings.h.

◆ setActiveScalarDataset()

void QgsMeshRendererSettings::setActiveScalarDataset ( QgsMeshDatasetIndex  index = QgsMeshDatasetIndex())
inline

Sets active scalar dataset for rendering.

Definition at line 323 of file qgsmeshrenderersettings.h.

◆ setActiveVectorDataset()

void QgsMeshRendererSettings::setActiveVectorDataset ( QgsMeshDatasetIndex  index = QgsMeshDatasetIndex())
inline

Sets active vector dataset for rendering.

Definition at line 328 of file qgsmeshrenderersettings.h.

◆ setNativeMeshSettings()

void QgsMeshRendererSettings::setNativeMeshSettings ( const QgsMeshRendererMeshSettings settings)
inline

Sets new renderer settings, triggers repaint.

Definition at line 303 of file qgsmeshrenderersettings.h.

◆ setScalarSettings()

void QgsMeshRendererSettings::setScalarSettings ( int  groupIndex,
const QgsMeshRendererScalarSettings settings 
)
inline

Sets new renderer settings.

Definition at line 313 of file qgsmeshrenderersettings.h.

◆ setTriangularMeshSettings()

void QgsMeshRendererSettings::setTriangularMeshSettings ( const QgsMeshRendererMeshSettings settings)
inline

Sets new renderer settings.

Definition at line 308 of file qgsmeshrenderersettings.h.

◆ setVectorSettings()

void QgsMeshRendererSettings::setVectorSettings ( int  groupIndex,
const QgsMeshRendererVectorSettings settings 
)
inline

Sets new renderer settings.

Definition at line 318 of file qgsmeshrenderersettings.h.

◆ triangularMeshSettings()

QgsMeshRendererMeshSettings QgsMeshRendererSettings::triangularMeshSettings ( ) const
inline

Returns renderer settings.

Definition at line 306 of file qgsmeshrenderersettings.h.

◆ vectorSettings()

QgsMeshRendererVectorSettings QgsMeshRendererSettings::vectorSettings ( int  groupIndex) const
inline

Returns renderer settings.

Definition at line 316 of file qgsmeshrenderersettings.h.

◆ writeXml()

QDomElement QgsMeshRendererSettings::writeXml ( QDomDocument &  doc) const

Writes configuration to a new DOM element.

Definition at line 326 of file qgsmeshrenderersettings.cpp.


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