QGIS API Documentation 3.41.0-Master (cea29feecf2)
Loading...
Searching...
No Matches
qgs3dalgorithms.h
Go to the documentation of this file.
1/***************************************************************************
2 qgs3dalgorithms.h
3 ---------------------
4 begin : November 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#ifndef QGS3DALGORITHMS_H
19#define QGS3DALGORITHMS_H
20
21#include "qgis_3d.h"
22#include "qgis.h"
24
30class _3D_EXPORT Qgs3DAlgorithms : public QgsProcessingProvider
31{
32 Q_OBJECT
33
34 public:
38 Qgs3DAlgorithms( QObject *parent = nullptr );
39
40 QIcon icon() const override;
41 QString svgIconPath() const override;
42 QString id() const override;
43 QString helpId() const override;
44 QString name() const override;
45 bool supportsNonFileBasedOutput() const override;
46
47 protected:
48 void loadAlgorithms() override;
49};
50
51#endif // QGS3DALGORITHMS_H
QGIS 3D processing algorithm provider.
QString name() const override
Returns the provider name, which is used to describe the provider within the GUI.
QString id() const override
Returns the unique provider id, used for identifying the provider.
QString svgIconPath() const override
Returns a path to an SVG version of the provider's icon.
void loadAlgorithms() override
Loads all algorithms belonging to this provider.
bool supportsNonFileBasedOutput() const override
Returns true if the provider supports non-file based outputs (such as memory layers or direct databas...
QIcon icon() const override
Returns an icon for the provider.
QString helpId() const override
Returns the provider help id string, used for creating QgsHelp urls for algorithms belong to this pro...
Qgs3DAlgorithms(QObject *parent=nullptr)
Constructor for Qgs3DAlgorithms.
Abstract base class for processing providers.