18#ifndef QGSALGORITHMDISSOLVE_H
19#define QGSALGORITHMDISSOLVE_H
38 bool separateDisjoint =
false );
44class QgsDissolveAlgorithm :
public QgsCollectorAlgorithm
49 QgsDissolveAlgorithm() =
default;
50 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
52 QString svgIconPath()
const override {
return QgsApplication::iconPath( QStringLiteral(
"/algorithms/mAlgorithmDissolve.svg" ) ); }
53 QString name()
const override;
54 QString displayName()
const override;
55 QStringList tags()
const override;
56 QString group()
const override;
57 QString groupId()
const override;
58 QString shortHelpString()
const override;
59 QgsDissolveAlgorithm *createInstance() const override
SIP_FACTORY;
63 QVariantMap processAlgorithm( const QVariantMap ¶meters,
71class QgsCollectAlgorithm : public QgsCollectorAlgorithm
76 QgsCollectAlgorithm() =
default;
78 QString svgIconPath()
const override {
return QgsApplication::iconPath( QStringLiteral(
"/algorithms/mAlgorithmCollect.svg" ) ); }
79 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
80 QString name()
const override;
81 QString displayName()
const override;
82 QStringList tags()
const override;
83 QString group()
const override;
84 QString groupId()
const override;
85 QString shortHelpString()
const override;
86 QgsCollectAlgorithm *createInstance() const override
SIP_FACTORY;
90 QVariantMap processAlgorithm( const QVariantMap ¶meters,
QFlags< ProcessingFeatureSourceFlag > ProcessingFeatureSourceFlags
Flags which control how QgsProcessingFeatureSource fetches features.
static QIcon getThemeIcon(const QString &name, const QColor &fillColor=QColor(), const QColor &strokeColor=QColor())
Helper to get a theme icon.
static QString iconPath(const QString &iconFile)
Returns path to the desired icon file.
A geometry is the spatial representation of a feature.
Abstract base class for processing algorithms.
Contains information about the context in which a processing algorithm is executed.
Base class for providing feedback from a processing algorithm.