18#ifndef QGSALGORITHMTPSINTERPOLATION_H
19#define QGSALGORITHMTPSINTERPOLATION_H
21#include "qgis_analysis.h"
29using namespace Qt::StringLiterals;
37 QIcon
icon()
const override;
39 QString
group()
const override;
40 QString
groupId()
const override;
42 QList<QgsProcessingAlgorithm::ExternalLink>
externalLinks()
const override;
45 void addCommonParameters();
46 void addOutputParameters();
49 std::unique_ptr<QgsFeatureSource> mSource;
51 double mRegularization = 0;
53 double mPixelSize = 0;
55 QString mCreationOptions;
56 double mNoDataValue = 0;
63class ANALYSIS_EXPORT QgsLocalThinPlateSplineAlgorithm :
public QgsThinPlateSplineAlgorithmBase
66 QgsLocalThinPlateSplineAlgorithm();
68 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
69 QString
name()
const override;
71 QStringList
tags()
const override;
77 QVariantMap processAlgorithm( const QVariantMap ¶meters, QgsProcessingContext &context, QgsProcessingFeedback *feedback ) override;
83class ANALYSIS_EXPORT QgsGlobalThinPlateSplineAlgorithm : public QgsThinPlateSplineAlgorithmBase
86 QgsGlobalThinPlateSplineAlgorithm();
88 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
89 QString
name()
const override;
91 QStringList
tags()
const override;
97 QVariantMap processAlgorithm( const QVariantMap ¶meters, QgsProcessingContext &context, QgsProcessingFeedback *feedback ) override;
Abstract base class for processing algorithms.
virtual QgsProcessingAlgorithm * createInstance() const =0
Creates a new instance of the algorithm class.
virtual QString group() const
Returns the name of the group this algorithm belongs to.
virtual QString groupId() const
Returns the unique ID of the group this algorithm belongs to.
virtual QIcon icon() const
Returns an icon for the algorithm.
virtual QString shortHelpString() const
Returns a localised short helper string for the algorithm.
virtual QString shortDescription() const
Returns an optional translated short description of the algorithm.
virtual QString displayName() const =0
Returns the translated algorithm name, which should be used for any user-visible display of the algor...
virtual QStringList tags() const
Returns a list of tags which relate to the algorithm, and are used to assist users in searching for s...
virtual QString svgIconPath() const
Returns a path to an SVG version of the algorithm's icon.
virtual QList< QgsProcessingAlgorithm::ExternalLink > externalLinks() const
Returns a list of external links describing the algorithm's behavior or source.
virtual void initAlgorithm(const QVariantMap &configuration=QVariantMap())=0
Initializes the algorithm using the specified configuration.
virtual QString name() const =0
Returns the algorithm name, used for identifying the algorithm.
virtual QList< QgsAcademicReference > academicReferences() const
Returns the list of academic references describing the logic and processes used by the algorithm.
Contains information about the context in which a processing algorithm is executed.
Base class for providing feedback from a processing algorithm.
A rectangle specified with double values.