QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
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 559 of file qgsmeshrenderersettings.cpp.
double QgsMeshRendererVectorStreamlineSettings::seedingDensity | ( | ) | const |
Returns the density used for seeding start points.
Definition at line 539 of file qgsmeshrenderersettings.cpp.
QgsMeshRendererVectorStreamlineSettings::SeedingStartPointsMethod QgsMeshRendererVectorStreamlineSettings::seedingMethod | ( | ) | const |
Returns the method used for seeding start points of strealines.
Definition at line 529 of file qgsmeshrenderersettings.cpp.
void QgsMeshRendererVectorStreamlineSettings::setSeedingDensity | ( | double | seedingDensity | ) |
Sets the density used for seeding start points.
Definition at line 544 of file qgsmeshrenderersettings.cpp.
void QgsMeshRendererVectorStreamlineSettings::setSeedingMethod | ( | const SeedingStartPointsMethod & | seedingMethod | ) |
Sets the method used for seeding start points of strealines.
Definition at line 534 of file qgsmeshrenderersettings.cpp.
QDomElement QgsMeshRendererVectorStreamlineSettings::writeXml | ( | QDomDocument & | doc | ) | const |
Writes configuration to a new DOM element.
Definition at line 549 of file qgsmeshrenderersettings.cpp.