QGIS API Documentation 3.41.0-Master (cea29feecf2)
|
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. | |
double | seedingDensity () const |
Returns the density used for seeding start points. | |
SeedingStartPointsMethod | seedingMethod () const |
Returns the method used for seeding start points of strealines. | |
void | setSeedingDensity (double seedingDensity) |
Sets the density used for seeding start points. | |
void | setSeedingMethod (const SeedingStartPointsMethod &seedingMethod) |
Sets the method used for seeding start points of strealines. | |
QDomElement | writeXml (QDomDocument &doc) const |
Writes configuration to a new DOM element. | |
Represents a streamline renderer settings for vector datasets displayed by streamlines.
Definition at line 323 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 327 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.