QGIS API Documentation
4.3.0-Master (52aa6503bed)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
core
vectorfield
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
31
class
CORE_EXPORT
QgsVectorFieldStreamlineSettings
32
{
33
public
:
35
Qgis::VectorFieldSeedingMethod
seedingMethod
()
const
;
37
void
setSeedingMethod
(
const
Qgis::VectorFieldSeedingMethod
&
seedingMethod
);
39
double
seedingDensity
()
const
;
41
void
setSeedingDensity
(
double
seedingDensity
);
43
void
readXml
(
const
QDomElement &elem );
45
QDomElement
writeXml
( QDomDocument &doc )
const
;
46
47
private
:
48
Qgis::VectorFieldSeedingMethod
mSeedingMethod =
Qgis::VectorFieldSeedingMethod::Gridded
;
49
double
mSeedingDensity = 0.15;
50
};
51
52
#endif
// QGSVECTORFIELDSTREAMLINESETTINGS_H
Qgis::VectorFieldSeedingMethod
VectorFieldSeedingMethod
Method used to define start points that are used to draw streamlines.
Definition
qgis.h:7250
Qgis::VectorFieldSeedingMethod::Gridded
@ Gridded
Seeds start points on data grid or user regular grid.
Definition
qgis.h:7251
QgsVectorFieldStreamlineSettings
Represents a streamline renderer settings for vector datasets displayed by streamlines.
Definition
qgsvectorfieldstreamlinesettings.h:32
QgsVectorFieldStreamlineSettings::setSeedingMethod
void setSeedingMethod(const Qgis::VectorFieldSeedingMethod &seedingMethod)
Sets the method used for seeding start points of strealines.
Definition
qgsvectorfieldstreamlinesettings.cpp:27
QgsVectorFieldStreamlineSettings::readXml
void readXml(const QDomElement &elem)
Reads configuration from the given DOM element.
Definition
qgsvectorfieldstreamlinesettings.cpp:52
QgsVectorFieldStreamlineSettings::seedingMethod
Qgis::VectorFieldSeedingMethod seedingMethod() const
Returns the method used for seeding start points of strealines.
Definition
qgsvectorfieldstreamlinesettings.cpp:22
QgsVectorFieldStreamlineSettings::seedingDensity
double seedingDensity() const
Returns the density used for seeding start points.
Definition
qgsvectorfieldstreamlinesettings.cpp:32
QgsVectorFieldStreamlineSettings::setSeedingDensity
void setSeedingDensity(double seedingDensity)
Sets the density used for seeding start points.
Definition
qgsvectorfieldstreamlinesettings.cpp:37
QgsVectorFieldStreamlineSettings::writeXml
QDomElement writeXml(QDomDocument &doc) const
Writes configuration to a new DOM element.
Definition
qgsvectorfieldstreamlinesettings.cpp:42
qgis.h
Generated on
for QGIS API Documentation by
1.17.0