QGIS API Documentation 4.3.0-Master (45633be667c)
Loading...
Searching...
No Matches
qgsalgorithmd8base.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsalgorithmd8base.h
3 ---------------------
4 begin : September 2026
5 copyright : (C) 2026 by Nyall Dawson
6 email : nyall dot dawson at gmail dot com
7 ***************************************************************************/
8
9/***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
17
18#ifndef QGSALGORITHMD8BASE_H
19#define QGSALGORITHMD8BASE_H
20
21#include "qgis_sip.h"
23
24#define SIP_NO_FILE
25
27
31class QgsD8AnalysisAlgorithmBase : public QgsProcessingAlgorithm
32{
33 public:
34 QgsD8AnalysisAlgorithmBase() = default;
35
36 QString group() const override;
37 QString groupId() const override;
38 QList<QgsAcademicReference> academicReferences() const override;
39 QList<QgsProcessingAlgorithm::ExternalLink> externalLinks() const override;
40
41 protected:
45 void computeStrahlerOrder(
46 const QgsRasterBlock *demBlock, const std::vector<int8_t> &d8Directions, int width, int height, int threshold, int16_t *outOrder, QgsProcessingFeedback *feedback, int outputNoData
47 );
48};
49
51
52#endif // QGSALGORITHMD8BASE_H
Abstract base class for processing algorithms.
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 QList< QgsProcessingAlgorithm::ExternalLink > externalLinks() const
Returns a list of external links describing the algorithm's behavior or source.
virtual QList< QgsAcademicReference > academicReferences() const
Returns the list of academic references describing the logic and processes used by the algorithm.
Base class for providing feedback from a processing algorithm.
Raster data container.