QGIS API Documentation
3.22.4-Białowieża (ce8e65e95e)
|
Represents a streamline renderer settings for vector datasets displayed by streamlines. More...
#include <qgsmeshrenderersettings.h>
Public Types | |
enum | SeedingStartPointsMethod { MeshGridded = 0 , Random } |
Method used to define start points that are used to draw streamlines. More... | |
Public Member Functions | |
void | readXml (const QDomElement &elem) |
Reads configuration from the given DOM element. More... | |
double | seedingDensity () const |
Returns the density used for seeding start points. More... | |
SeedingStartPointsMethod | seedingMethod () const |
Returns the method used for seeding start points of strealines. More... | |
void | setSeedingDensity (double seedingDensity) |
Sets the density used for seeding start points. More... | |
void | setSeedingMethod (const SeedingStartPointsMethod &seedingMethod) |
Sets the method used for seeding start points of strealines. More... | |
QDomElement | writeXml (QDomDocument &doc) const |
Writes configuration to a new DOM element. More... | |
Represents a streamline renderer settings for vector datasets displayed by streamlines.
Definition at line 324 of file qgsmeshrenderersettings.h.
Method used to define start points that are used to draw streamlines.
Enumerator | |
---|---|
MeshGridded | Seeds start points on the vertices mesh or user regular grid. |
Random | Seeds start points randomly on the mesh. |
Definition at line 328 of file qgsmeshrenderersettings.h.
void QgsMeshRendererVectorStreamlineSettings::readXml | ( | const QDomElement & | elem | ) |
Reads configuration from the given DOM element.
Definition at line 557 of file qgsmeshrenderersettings.cpp.
double QgsMeshRendererVectorStreamlineSettings::seedingDensity | ( | ) | const |
Returns the density used for seeding start points.
Definition at line 537 of file qgsmeshrenderersettings.cpp.
QgsMeshRendererVectorStreamlineSettings::SeedingStartPointsMethod QgsMeshRendererVectorStreamlineSettings::seedingMethod | ( | ) | const |
Returns the method used for seeding start points of strealines.
Definition at line 527 of file qgsmeshrenderersettings.cpp.
void QgsMeshRendererVectorStreamlineSettings::setSeedingDensity | ( | double | seedingDensity | ) |
Sets the density used for seeding start points.
Definition at line 542 of file qgsmeshrenderersettings.cpp.
void QgsMeshRendererVectorStreamlineSettings::setSeedingMethod | ( | const SeedingStartPointsMethod & | seedingMethod | ) |
Sets the method used for seeding start points of strealines.
Definition at line 532 of file qgsmeshrenderersettings.cpp.
QDomElement QgsMeshRendererVectorStreamlineSettings::writeXml | ( | QDomDocument & | doc | ) | const |
Writes configuration to a new DOM element.
Definition at line 547 of file qgsmeshrenderersettings.cpp.