Skip to content

Commit 1f835df

Browse files
committedMay 28, 2020
[3d] Expose 3d algorithms provider to Python
Otherwise this provider cannot be initialized from standalone Python scripts Fixes #36661 Also cleanup 3d sip generation by correctly defining SIP_NO_FILE in headers we don't want to expose, so that the sip_include script can do its magic
1 parent 0496ce5 commit 1f835df

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+184
-4
lines changed
 

‎python/3d/3d_auto.sip

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Include auto-generated SIP files
2+
%Include auto_generated/processing/qgs3dalgorithms.sip
23
%Include auto_generated/qgs3dmapsettings.sip
34
%Include auto_generated/qgs3dtypes.sip
45
%Include auto_generated/qgsabstractvectorlayer3drenderer.sip
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
/************************************************************************
2+
* This file has been generated automatically from *
3+
* *
4+
* src/3d/processing/qgs3dalgorithms.h *
5+
* *
6+
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
7+
************************************************************************/
8+
9+
10+
11+
12+
class Qgs3DAlgorithms: QgsProcessingProvider
13+
{
14+
%Docstring
15+
QGIS 3D processing algorithm provider.
16+
17+
.. versionadded:: 3.0
18+
%End
19+
20+
%TypeHeaderCode
21+
#include "qgs3dalgorithms.h"
22+
%End
23+
public:
24+
25+
Qgs3DAlgorithms( QObject *parent = 0 );
26+
%Docstring
27+
Constructor for Qgs3DAlgorithms.
28+
%End
29+
30+
virtual QIcon icon() const;
31+
32+
virtual QString svgIconPath() const;
33+
34+
virtual QString id() const;
35+
36+
virtual QString helpId() const;
37+
38+
virtual QString name() const;
39+
40+
virtual bool supportsNonFileBasedOutput() const;
41+
42+
43+
protected:
44+
45+
virtual void loadAlgorithms();
46+
47+
48+
};
49+
50+
51+
52+
/************************************************************************
53+
* This file has been generated automatically from *
54+
* *
55+
* src/3d/processing/qgs3dalgorithms.h *
56+
* *
57+
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
58+
************************************************************************/

0 commit comments

Comments
 (0)
Please sign in to comment.