QGIS API Documentation 4.3.0-Master (2b7e6c9893e)
Loading...
Searching...
No Matches
qgsvectorfieldstreamlinesettings.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsvectorfieldstreamlinesettings.h
3 ---------------------
4 begin : September 2026
5 copyright : (C) 2026 by Stefanos Natsis
6 email : uclaros at gmail dot com
7 ***************************************************************************
8 * *
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
13 * *
14 ***************************************************************************/
15
16#ifndef QGSVECTORFIELDSTREAMLINESETTINGS_H
17#define QGSVECTORFIELDSTREAMLINESETTINGS_H
18
19#include "qgis.h"
20#include "qgis_core.h"
21
22#include <QDomElement>
23
32{
33 public:
39 double seedingDensity() const;
41 void setSeedingDensity( double seedingDensity );
43 void readXml( const QDomElement &elem );
45 QDomElement writeXml( QDomDocument &doc ) const;
46
47 private:
49 double mSeedingDensity = 0.15;
50};
51
52#endif // QGSVECTORFIELDSTREAMLINESETTINGS_H
VectorFieldSeedingMethod
Method used to define start points that are used to draw streamlines.
Definition qgis.h:7150
@ Gridded
Seeds start points on data grid or user regular grid.
Definition qgis.h:7151
Represents a streamline renderer settings for vector datasets displayed by streamlines.
void setSeedingMethod(const Qgis::VectorFieldSeedingMethod &seedingMethod)
Sets the method used for seeding start points of strealines.
void readXml(const QDomElement &elem)
Reads configuration from the given DOM element.
Qgis::VectorFieldSeedingMethod seedingMethod() const
Returns the method used for seeding start points of strealines.
double seedingDensity() const
Returns the density used for seeding start points.
void setSeedingDensity(double seedingDensity)
Sets the density used for seeding start points.
QDomElement writeXml(QDomDocument &doc) const
Writes configuration to a new DOM element.