QGIS API Documentation
4.3.0-Master (52aa6503bed)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
analysis
processing
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
"
22
#include "
qgsprocessingalgorithm.h
"
23
24
#define SIP_NO_FILE
25
27
31
class
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
QgsProcessingAlgorithm
Abstract base class for processing algorithms.
Definition
qgsprocessingalgorithm.h:61
QgsProcessingAlgorithm::group
virtual QString group() const
Returns the name of the group this algorithm belongs to.
Definition
qgsprocessingalgorithm.h:259
QgsProcessingAlgorithm::groupId
virtual QString groupId() const
Returns the unique ID of the group this algorithm belongs to.
Definition
qgsprocessingalgorithm.h:268
QgsProcessingAlgorithm::externalLinks
virtual QList< QgsProcessingAlgorithm::ExternalLink > externalLinks() const
Returns a list of external links describing the algorithm's behavior or source.
Definition
qgsprocessingalgorithm.cpp:108
QgsProcessingAlgorithm::academicReferences
virtual QList< QgsAcademicReference > academicReferences() const
Returns the list of academic references describing the logic and processes used by the algorithm.
Definition
qgsprocessingalgorithm.cpp:103
QgsProcessingFeedback
Base class for providing feedback from a processing algorithm.
Definition
qgsprocessingfeedback.h:40
QgsRasterBlock
Raster data container.
Definition
qgsrasterblock.h:42
qgis_sip.h
qgsprocessingalgorithm.h
Generated on
for QGIS API Documentation by
1.17.0