QGIS API Documentation 3.41.0-Master (af5edcb665c)
Loading...
Searching...
No Matches
qgsnativealgorithms.cpp
Go to the documentation of this file.
1/***************************************************************************
2 qgsnativealgorithms.cpp
3 ---------------------
4 begin : April 2017
5 copyright : (C) 2017 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#include "qgsnativealgorithms.h"
19#include "moc_qgsnativealgorithms.cpp"
20#include "qgsruntimeprofiler.h"
32#include "qgsalgorithmaspect.h"
40#include "qgsalgorithmbuffer.h"
46#include "qgsalgorithmclip.h"
66#include "qgsalgorithmdrape.h"
76#include "qgsalgorithmexplode.h"
96#include "qgsalgorithmfilter.h"
101#include "qgsalgorithmforcerhr.h"
106#if QT_CONFIG( process )
108#endif
109#include "qgsalgorithmgrid.h"
144#include "qgsalgorithmpackage.h"
188#include "qgsalgorithmrotate.h"
193#include "qgsalgorithmsavelog.h"
207#include "qgsalgorithmsimplify.h"
209#include "qgsalgorithmslope.h"
210#include "qgsalgorithmsmooth.h"
223#include "qgsalgorithmswapxy.h"
227#include "qgsalgorithmtransect.h"
231#include "qgsalgorithmunion.h"
240#include "qgsalgorithmxyztiles.h"
249#include "qgsstylealgorithms.h"
250
252
254 : QgsProcessingProvider( parent )
255{}
256
257QIcon QgsNativeAlgorithms::icon() const
258{
259 return QgsApplication::getThemeIcon( QStringLiteral( "/providerQgis.svg" ) );
260}
261
263{
264 return QgsApplication::iconPath( QStringLiteral( "providerQgis.svg" ) );
265}
266
267QString QgsNativeAlgorithms::id() const
268{
269 return QStringLiteral( "native" );
270}
271
272QString QgsNativeAlgorithms::helpId() const
273{
274 return QStringLiteral( "qgis" );
275}
276
277QString QgsNativeAlgorithms::name() const
278{
279 return tr( "QGIS (native c++)" );
280}
281
283{
284 return true;
285}
286
288{
290}
291
293{
294 const QgsScopedRuntimeProfile profile( QObject::tr( "QGIS native provider" ) );
295 addAlgorithm( new QgsAddHistoryMetadataAlgorithm() );
296 addAlgorithm( new QgsAddIncrementalFieldAlgorithm() );
297 addAlgorithm( new QgsAddTableFieldAlgorithm() );
298 addAlgorithm( new QgsAddXYFieldsAlgorithm() );
299 addAlgorithm( new QgsAddUniqueValueIndexAlgorithm() );
300 addAlgorithm( new QgsAffineTransformationAlgorithm() );
301 addAlgorithm( new QgsAggregateAlgorithm() );
302 addAlgorithm( new QgsAlignRastersAlgorithm() );
303 addAlgorithm( new QgsAlignSingleRasterAlgorithm() );
304 addAlgorithm( new QgsAngleToNearestAlgorithm() );
305 addAlgorithm( new QgsApplyLayerMetadataAlgorithm() );
306 addAlgorithm( new QgsApplyLayerStyleAlgorithm() );
307 addAlgorithm( new QgsArrayTranslatedFeaturesAlgorithm() );
308 addAlgorithm( new QgsAspectAlgorithm() );
309 addAlgorithm( new QgsAssignProjectionAlgorithm() );
310 addAlgorithm( new QgsAttributeIndexAlgorithm() );
311 addAlgorithm( new QgsB3DMToGltfAlgorithm() );
312 addAlgorithm( new QgsBasicStatisticsAlgorithm() );
313 addAlgorithm( new QgsBatchNominatimGeocodeAlgorithm() );
314 addAlgorithm( new QgsBookmarksToLayerAlgorithm() );
315 addAlgorithm( new QgsBoundaryAlgorithm() );
316 addAlgorithm( new QgsBoundingBoxAlgorithm() );
317 addAlgorithm( new QgsBufferAlgorithm() );
318 addAlgorithm( new QgsCalculateExpressionAlgorithm() );
319 addAlgorithm( new QgsCalculateVectorOverlapsAlgorithm() );
320 addAlgorithm( new QgsCategorizeUsingStyleAlgorithm() );
321 addAlgorithm( new QgsCellStatisticsAlgorithm() );
322 addAlgorithm( new QgsCellStatisticsPercentileAlgorithm() );
323 addAlgorithm( new QgsCellStatisticsPercentRankFromRasterAlgorithm() );
324 addAlgorithm( new QgsCellStatisticsPercentRankFromValueAlgorithm() );
325 addAlgorithm( new QgsCentroidAlgorithm() );
326 addAlgorithm( new QgsClipAlgorithm() );
327 addAlgorithm( new QgsCollectAlgorithm() );
328 addAlgorithm( new QgsCombineStylesAlgorithm() );
329 addAlgorithm( new QgsConcaveHullAlgorithm() );
330 addAlgorithm( new QgsConditionalBranchAlgorithm() );
331 addAlgorithm( new QgsConstantRasterAlgorithm() );
332 addAlgorithm( new QgsConvertToCurvesAlgorithm() );
333 addAlgorithm( new QgsConvexHullAlgorithm() );
334 addAlgorithm( new QgsCopyLayerMetadataAlgorithm() );
335 addAlgorithm( new QgsCoverageSimplifyAlgorithm() );
336 addAlgorithm( new QgsCoverageUnionAlgorithm() );
337 addAlgorithm( new QgsCoverageValidateAlgorithm() );
338 addAlgorithm( new QgsCreateDirectoryAlgorithm() );
339 addAlgorithm( new QgsDbscanClusteringAlgorithm() );
340 addAlgorithm( new QgsDelaunayTriangulationAlgorithm() );
341 addAlgorithm( new QgsDeleteDuplicateGeometriesAlgorithm() );
342 addAlgorithm( new QgsDetectVectorChangesAlgorithm() );
343 addAlgorithm( new QgsDifferenceAlgorithm() );
344 addAlgorithm( new QgsDissolveAlgorithm() );
345 addAlgorithm( new QgsDownloadVectorTilesAlgorithm() );
346 addAlgorithm( new QgsDrapeToMAlgorithm() );
347 addAlgorithm( new QgsDrapeToZAlgorithm() );
348 addAlgorithm( new QgsDropTableFieldsAlgorithm() );
349 addAlgorithm( new QgsDropGeometryAlgorithm() );
350 addAlgorithm( new QgsDropMZValuesAlgorithm() );
351 addAlgorithm( new QgsDxfExportAlgorithm() );
352 addAlgorithm( new QgsExecutePostgisQueryAlgorithm() );
353 addAlgorithm( new QgsExecuteRegisteredSpatialiteQueryAlgorithm() );
354 addAlgorithm( new QgsExecuteSpatialiteQueryAlgorithm() );
355 addAlgorithm( new QgsExplodeAlgorithm() );
356 addAlgorithm( new QgsExplodeHstoreAlgorithm() );
357 addAlgorithm( new QgsExportLayersInformationAlgorithm() );
358 addAlgorithm( new QgsExportLayerMetadataAlgorithm() );
359 addAlgorithm( new QgsExportMeshVerticesAlgorithm );
360 addAlgorithm( new QgsExportMeshFacesAlgorithm );
361 addAlgorithm( new QgsExportMeshEdgesAlgorithm );
362 addAlgorithm( new QgsExportMeshOnGridAlgorithm );
363 addAlgorithm( new QgsExportToPostgresqlAlgorithm );
364 addAlgorithm( new QgsExportToSpreadsheetAlgorithm() );
365 addAlgorithm( new QgsExtendLinesAlgorithm() );
366 addAlgorithm( new QgsExtentFromLayerAlgorithm() );
367 addAlgorithm( new QgsExtentToLayerAlgorithm() );
368 addAlgorithm( new QgsExtractBinaryFieldAlgorithm() );
369 addAlgorithm( new QgsExtractByAttributeAlgorithm() );
370 addAlgorithm( new QgsExtractByExpressionAlgorithm() );
371 addAlgorithm( new QgsExtractByExtentAlgorithm() );
372 addAlgorithm( new QgsExtractByLocationAlgorithm() );
373 addAlgorithm( new QgsExtractLabelsAlgorithm() );
374 addAlgorithm( new QgsExtractMValuesAlgorithm() );
375 addAlgorithm( new QgsExtractVerticesAlgorithm() );
376 addAlgorithm( new QgsExtractSpecificVerticesAlgorithm() );
377 addAlgorithm( new QgsExtractWithinDistanceAlgorithm() );
378 addAlgorithm( new QgsExtractZValuesAlgorithm() );
379 addAlgorithm( new QgsFieldCalculatorAlgorithm() );
380 addAlgorithm( new QgsFileDownloaderAlgorithm() );
381 addAlgorithm( new QgsFillNoDataAlgorithm() );
382 addAlgorithm( new QgsFilterAlgorithm() );
383 addAlgorithm( new QgsFilterByGeometryAlgorithm() );
384 addAlgorithm( new QgsFilterByLayerTypeAlgorithm() );
385 addAlgorithm( new QgsFilterVerticesByM() );
386 addAlgorithm( new QgsFilterVerticesByZ() );
387 addAlgorithm( new QgsFixGeometriesAlgorithm() );
388 addAlgorithm( new QgsFlattenRelationshipsAlgorithm() );
389 addAlgorithm( new QgsForceRHRAlgorithm() );
390 addAlgorithm( new QgsFuzzifyRasterLinearMembershipAlgorithm() );
391 addAlgorithm( new QgsFuzzifyRasterPowerMembershipAlgorithm() );
392 addAlgorithm( new QgsFuzzifyRasterLargeMembershipAlgorithm() );
393 addAlgorithm( new QgsFuzzifyRasterSmallMembershipAlgorithm() );
394 addAlgorithm( new QgsFuzzifyRasterGaussianMembershipAlgorithm() );
395 addAlgorithm( new QgsFuzzifyRasterNearMembershipAlgorithm() );
396 addAlgorithm( new QgsGenerateElevationProfileAlgorithm() );
397 addAlgorithm( new QgsGeometryByExpressionAlgorithm() );
398 addAlgorithm( new QgsGltfToVectorFeaturesAlgorithm() );
399#if QT_CONFIG( process )
400 addAlgorithm( new QgsConvertGpxFeatureTypeAlgorithm() );
401 addAlgorithm( new QgsConvertGpsDataAlgorithm() );
402 addAlgorithm( new QgsDownloadGpsDataAlgorithm() );
403 addAlgorithm( new QgsUploadGpsDataAlgorithm() );
404#endif
405 addAlgorithm( new QgsGridAlgorithm() );
406 addAlgorithm( new QgsHillshadeAlgorithm() );
407 addAlgorithm( new QgsImportPhotosAlgorithm() );
408 addAlgorithm( new QgsInterpolatePointAlgorithm() );
409 addAlgorithm( new QgsIntersectionAlgorithm() );
410 addAlgorithm( new QgsJoinByAttributeAlgorithm() );
411 addAlgorithm( new QgsJoinByLocationAlgorithm() );
412 addAlgorithm( new QgsJoinByLocationSummaryAlgorithm() );
413 addAlgorithm( new QgsJoinByNearestAlgorithm() );
414 addAlgorithm( new QgsJoinWithLinesAlgorithm() );
415 addAlgorithm( new QgsKeepNBiggestPartsAlgorithm() );
416 addAlgorithm( new QgsKMeansClusteringAlgorithm() );
417 addAlgorithm( new QgsLayerToBookmarksAlgorithm() );
418 addAlgorithm( new QgsLayoutMapExtentToLayerAlgorithm() );
419 addAlgorithm( new QgsLayoutAtlasToImageAlgorithm() );
420 addAlgorithm( new QgsLayoutAtlasToPdfAlgorithm() );
421 addAlgorithm( new QgsLayoutAtlasToMultiplePdfAlgorithm() );
422 addAlgorithm( new QgsLayoutToImageAlgorithm() );
423 addAlgorithm( new QgsLayoutToPdfAlgorithm() );
424 addAlgorithm( new QgsLineDensityAlgorithm() );
425 addAlgorithm( new QgsLineIntersectionAlgorithm() );
426 addAlgorithm( new QgsLineSubstringAlgorithm() );
427 addAlgorithm( new QgsLoadLayerAlgorithm() );
428 addAlgorithm( new QgsMeanCoordinatesAlgorithm() );
429 addAlgorithm( new QgsMergeLinesAlgorithm() );
430 addAlgorithm( new QgsMergeVectorAlgorithm() );
431 addAlgorithm( new QgsMeshRasterizeAlgorithm );
432 addAlgorithm( new QgsMeshContoursAlgorithm );
433 addAlgorithm( new QgsMeshExportCrossSection );
434 addAlgorithm( new QgsMeshExportTimeSeries );
435 addAlgorithm( new QgsMeshSurfaceToPolygonAlgorithm() );
436 addAlgorithm( new QgsMinimumEnclosingCircleAlgorithm() );
437 addAlgorithm( new QgsMultiDifferenceAlgorithm() );
438 addAlgorithm( new QgsMultiIntersectionAlgorithm() );
439 addAlgorithm( new QgsMultipartToSinglepartAlgorithm() );
440 addAlgorithm( new QgsMultiRingConstantBufferAlgorithm() );
441 addAlgorithm( new QgsMultiUnionAlgorithm() );
442 addAlgorithm( new QgsNearestNeighbourAnalysisAlgorithm() );
443 addAlgorithm( new QgsOffsetLinesAlgorithm() );
444 addAlgorithm( new QgsOrderByExpressionAlgorithm() );
445 addAlgorithm( new QgsOrientedMinimumBoundingBoxAlgorithm() );
446 addAlgorithm( new QgsOrthogonalizeAlgorithm() );
447 addAlgorithm( new QgsPackageAlgorithm() );
448 addAlgorithm( new QgsPixelCentroidsFromPolygonsAlgorithm() );
449 addAlgorithm( new QgsCreateArrayOffsetLinesAlgorithm() );
450 addAlgorithm( new QgsPointsInPolygonAlgorithm() );
451 addAlgorithm( new QgsPointOnSurfaceAlgorithm() );
452 addAlgorithm( new QgsPointToLayerAlgorithm() );
453 addAlgorithm( new QgsPointsAlongGeometryAlgorithm() );
454 addAlgorithm( new QgsPointsLayerFromTableAlgorithm() );
455 addAlgorithm( new QgsPointsToPathsAlgorithm() );
456 addAlgorithm( new QgsPoleOfInaccessibilityAlgorithm() );
457 addAlgorithm( new QgsPolygonizeAlgorithm() );
458 addAlgorithm( new QgsProjectPointCartesianAlgorithm() );
459 addAlgorithm( new QgsPromoteToMultipartAlgorithm() );
460 addAlgorithm( new QgsRaiseExceptionAlgorithm() );
461 addAlgorithm( new QgsRaiseWarningAlgorithm() );
462 addAlgorithm( new QgsRaiseMessageAlgorithm() );
463 addAlgorithm( new QgsRandomBinomialRasterAlgorithm() );
464 addAlgorithm( new QgsRandomExponentialRasterAlgorithm() );
465 addAlgorithm( new QgsRandomExtractAlgorithm() );
466 addAlgorithm( new QgsRandomGammaRasterAlgorithm() );
467 addAlgorithm( new QgsRandomGeometricRasterAlgorithm() );
468 addAlgorithm( new QgsRandomNegativeBinomialRasterAlgorithm() );
469 addAlgorithm( new QgsRandomNormalRasterAlgorithm() );
470 addAlgorithm( new QgsRandomPointsExtentAlgorithm() );
471 addAlgorithm( new QgsRandomPointsInPolygonsAlgorithm() );
472 addAlgorithm( new QgsRandomPointsOnLinesAlgorithm() );
473 addAlgorithm( new QgsRandomPoissonRasterAlgorithm() );
474 addAlgorithm( new QgsRandomUniformRasterAlgorithm() );
475 addAlgorithm( new QgsRasterCalculatorAlgorithm() );
476 addAlgorithm( new QgsRasterCalculatorModelerAlgorithm() );
477 addAlgorithm( new QgsRasterDtmSlopeBasedFilterAlgorithm() );
478 addAlgorithm( new QgsRasterFrequencyByEqualOperatorAlgorithm() );
479 addAlgorithm( new QgsRasterFrequencyByGreaterThanOperatorAlgorithm() );
480 addAlgorithm( new QgsRasterFrequencyByLessThanOperatorAlgorithm() );
481 addAlgorithm( new QgsRasterLayerPropertiesAlgorithm() );
482 addAlgorithm( new QgsRasterLayerUniqueValuesReportAlgorithm() );
483 addAlgorithm( new QgsRasterLayerZonalStatsAlgorithm() );
484 addAlgorithm( new QgsRasterLogicalAndAlgorithm() );
485 addAlgorithm( new QgsRasterLogicalOrAlgorithm() );
486 addAlgorithm( new QgsRasterMinMaxAlgorithm() );
487 addAlgorithm( new QgsRasterizeAlgorithm() );
488 addAlgorithm( new QgsRasterPixelsToPointsAlgorithm() );
489 addAlgorithm( new QgsRasterPixelsToPolygonsAlgorithm() );
490 addAlgorithm( new QgsRasterSamplingAlgorithm() );
491 addAlgorithm( new QgsRasterStackHighestPositionAlgorithm() );
492 addAlgorithm( new QgsRasterStackLowestPositionAlgorithm() );
493 addAlgorithm( new QgsRasterStatisticsAlgorithm() );
494 addAlgorithm( new QgsRasterSurfaceVolumeAlgorithm() );
495 addAlgorithm( new QgsAlgorithmRemoveDuplicateVertices() );
496 addAlgorithm( new QgsReclassifyByLayerAlgorithm() );
497 addAlgorithm( new QgsReclassifyByTableAlgorithm() );
498 addAlgorithm( new QgsRectanglesOvalsDiamondsAlgorithm() );
499 addAlgorithm( new QgsRefactorFieldsAlgorithm() );
500 addAlgorithm( new QgsRemoveDuplicatesByAttributeAlgorithm() );
501 addAlgorithm( new QgsRemoveHolesAlgorithm() );
502 addAlgorithm( new QgsRemoveNullGeometryAlgorithm() );
503 addAlgorithm( new QgsRenameLayerAlgorithm() );
504 addAlgorithm( new QgsRenameTableFieldAlgorithm() );
505 addAlgorithm( new QgsRepairShapefileAlgorithm() );
506 addAlgorithm( new QgsRescaleRasterAlgorithm() );
507 addAlgorithm( new QgsRetainTableFieldsAlgorithm() );
508 addAlgorithm( new QgsReverseLineDirectionAlgorithm() );
509 addAlgorithm( new QgsRotateFeaturesAlgorithm() );
510 addAlgorithm( new QgsRoundnessAlgorithm() );
511 addAlgorithm( new QgsRoundRasterValuesAlgorithm() );
512 addAlgorithm( new QgsRuggednessAlgorithm() );
513 addAlgorithm( new QgsSaveFeaturesAlgorithm() );
514 addAlgorithm( new QgsSaveLogToFileAlgorithm() );
515 addAlgorithm( new QgsSaveSelectedFeatures() );
516 addAlgorithm( new QgsSegmentizeByMaximumAngleAlgorithm() );
517 addAlgorithm( new QgsSegmentizeByMaximumDistanceAlgorithm() );
518 addAlgorithm( new QgsSelectByLocationAlgorithm() );
519 addAlgorithm( new QgsSelectWithinDistanceAlgorithm() );
520 addAlgorithm( new QgsServiceAreaFromLayerAlgorithm() );
521 addAlgorithm( new QgsServiceAreaFromPointAlgorithm() );
522 addAlgorithm( new QgsSetLayerEncodingAlgorithm() );
523 addAlgorithm( new QgsSetMetadataFieldsAlgorithm() );
524 addAlgorithm( new QgsSetMValueAlgorithm() );
525 addAlgorithm( new QgsSetProjectVariableAlgorithm() );
526 addAlgorithm( new QgsSetZValueAlgorithm() );
527 addAlgorithm( new QgsShapefileEncodingInfoAlgorithm() );
528 addAlgorithm( new QgsShortestLineAlgorithm() );
529 addAlgorithm( new QgsShortestPathLayerToPointAlgorithm() );
530 addAlgorithm( new QgsShortestPathPointToLayerAlgorithm() );
531 addAlgorithm( new QgsShortestPathPointToPointAlgorithm() );
532 addAlgorithm( new QgsSimplifyAlgorithm() );
533 addAlgorithm( new QgsSingleSidedBufferAlgorithm() );
534 addAlgorithm( new QgsSlopeAlgorithm() );
535 addAlgorithm( new QgsSmoothAlgorithm() );
536 addAlgorithm( new QgsSnapGeometriesAlgorithm() );
537 addAlgorithm( new QgsSnapToGridAlgorithm() );
538 addAlgorithm( new QgsSpatialIndexAlgorithm() );
539 addAlgorithm( new QgsSplitFeaturesByAttributeCharacterAlgorithm() );
540 addAlgorithm( new QgsSplitGeometryAtAntimeridianAlgorithm() );
541 addAlgorithm( new QgsSplitLinesByLengthAlgorithm() );
542 addAlgorithm( new QgsSplitVectorLayerAlgorithm() );
543 addAlgorithm( new QgsSplitWithLinesAlgorithm() );
544 addAlgorithm( new QgsStDbscanClusteringAlgorithm() );
545 addAlgorithm( new QgsStringConcatenationAlgorithm() );
546 addAlgorithm( new QgsStyleFromProjectAlgorithm() );
547 addAlgorithm( new QgsSubdivideAlgorithm() );
548 addAlgorithm( new QgsSumLineLengthAlgorithm() );
549 addAlgorithm( new QgsSwapXYAlgorithm() );
550 addAlgorithm( new QgsSymmetricalDifferenceAlgorithm() );
551 addAlgorithm( new QgsTaperedBufferAlgorithm() );
552 addAlgorithm( new QgsTinMeshCreationAlgorithm() );
553 addAlgorithm( new QgsTransectAlgorithm() );
554 addAlgorithm( new QgsTransferAnnotationsFromMainAlgorithm() );
555 addAlgorithm( new QgsTransformAlgorithm() );
556 addAlgorithm( new QgsTranslateAlgorithm() );
557 addAlgorithm( new QgsTruncateTableAlgorithm() );
558 addAlgorithm( new QgsUnionAlgorithm() );
559 addAlgorithm( new QgsUpdateLayerMetadataAlgorithm() );
560 addAlgorithm( new QgsOpenUrlAlgorithm() );
561 addAlgorithm( new QgsHttpRequestAlgorithm() );
562 addAlgorithm( new QgsVariableWidthBufferByMAlgorithm() );
563 addAlgorithm( new QgsVirtualRasterCalculatorAlgorithm() );
564 addAlgorithm( new QgsVirtualRasterCalculatorModelerAlgorithm() );
565 addAlgorithm( new QgsVoronoiPolygonsAlgorithm() );
566 addAlgorithm( new QgsWedgeBuffersAlgorithm() );
567 addAlgorithm( new QgsWriteVectorTilesXyzAlgorithm() );
568 addAlgorithm( new QgsWriteVectorTilesMbtilesAlgorithm() );
569 addAlgorithm( new QgsXyzTilesDirectoryAlgorithm() );
570 addAlgorithm( new QgsXyzTilesMbtilesAlgorithm() );
571 addAlgorithm( new QgsZonalHistogramAlgorithm() );
572 addAlgorithm( new QgsZonalMinimumMaximumPointAlgorithm() );
573 addAlgorithm( new QgsZonalStatisticsAlgorithm() );
574 addAlgorithm( new QgsZonalStatisticsFeatureBasedAlgorithm() );
575 addAlgorithm( new QgsPolygonsToLinesAlgorithm() );
576 addAlgorithm( new QgsDensifyGeometriesByIntervalAlgorithm() );
577 addAlgorithm( new QgsDensifyGeometriesByCountAlgorithm() );
578}
579
@ CompatibleWithVirtualRaster
The processing provider's algorithms can work with QGIS virtualraster data provider.
QFlags< ProcessingProviderFlag > ProcessingProviderFlags
Flags indicating how and when an processing provider operates and should be exposed to users.
Definition qgis.h:3372
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.
void loadAlgorithms() override
Loads all algorithms belonging to this provider.
QString helpId() const override
Returns the provider help id string, used for creating QgsHelp urls for algorithms belong to this pro...
QString id() const override
Returns the unique provider id, used for identifying the provider.
bool supportsNonFileBasedOutput() const override
Returns true if the provider supports non-file based outputs (such as memory layers or direct databas...
QString svgIconPath() const override
Returns a path to an SVG version of the provider's icon.
QString name() const override
Returns the provider name, which is used to describe the provider within the GUI.
QIcon icon() const override
Returns an icon for the provider.
QgsNativeAlgorithms(QObject *parent=nullptr)
Constructor for QgsNativeAlgorithms.
Qgis::ProcessingProviderFlags flags() const override
Returns the flags indicating how and when the provider operates and should be exposed to users.
Abstract base class for processing providers.
bool addAlgorithm(QgsProcessingAlgorithm *algorithm)
Adds an algorithm to the provider.
Scoped object for logging of the runtime for a single operation or group of operations.