Skip to content

Commit 45c9ae9

Browse files
committed
Add warnings about the QGIS 3D API being unstable / tech preview only
1 parent 8814e40 commit 45c9ae9

14 files changed

+61
-0
lines changed

python/3d/auto_generated/qgs3dtypes.sip.in

+5
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ class Qgs3DTypes
1313
%Docstring
1414
Defines enumerations and other auxilliary types for QGIS 3D
1515

16+
.. warning::
17+
18+
This is not considered stable API, and may change in future QGIS releases. It is
19+
exposed to the Python bindings as a tech preview only.
20+
1621
.. versionadded:: 3.4
1722
%End
1823

python/3d/auto_generated/qgsphongmaterialsettings.sip.in

+5
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ class QgsPhongMaterialSettings
1616
Basic shading material used for rendering based on the Phong shading model
1717
with three color components: ambient, diffuse and specular.
1818

19+
.. warning::
20+
21+
This is not considered stable API, and may change in future QGIS releases. It is
22+
exposed to the Python bindings as a tech preview only.
23+
1924
.. versionadded:: 3.0
2025
%End
2126

python/3d/auto_generated/qgsvectorlayer3drenderer.sip.in

+5
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ class QgsVectorLayer3DRendererMetadata : Qgs3DRendererAbstractMetadata
1919
%Docstring
2020
Metadata for vector layer 3D renderer to allow creation of its instances from XML
2121

22+
.. warning::
23+
24+
This is not considered stable API, and may change in future QGIS releases. It is
25+
exposed to the Python bindings as a tech preview only.
26+
2227
.. versionadded:: 3.0
2328
%End
2429

python/3d/auto_generated/symbols/qgsabstract3dsymbol.sip.in

+5
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ Abstract base class for 3D symbols that are used by VectorLayer3DRenderer object
1919

2020
3D symbol objects define appearance of GIS data.
2121

22+
.. warning::
23+
24+
This is not considered stable API, and may change in future QGIS releases. It is
25+
exposed to the Python bindings as a tech preview only.
26+
2227
.. versionadded:: 3.0
2328
%End
2429

python/3d/auto_generated/symbols/qgsline3dsymbol.sip.in

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ class QgsLine3DSymbol : QgsAbstract3DSymbol
1515
%Docstring
1616
3D symbol that draws linestring geometries as planar polygons (created from lines using a buffer with given thickness).
1717

18+
.. warning::
19+
20+
This is not considered stable API, and may change in future QGIS releases. It is
21+
exposed to the Python bindings as a tech preview only.
22+
1823
.. versionadded:: 3.0
1924
%End
2025

python/3d/auto_generated/symbols/qgspoint3dsymbol.sip.in

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ class QgsPoint3DSymbol : QgsAbstract3DSymbol
1515
%Docstring
1616
3D symbol that draws point geometries as 3D objects using one of the predefined shapes.
1717

18+
.. warning::
19+
20+
This is not considered stable API, and may change in future QGIS releases. It is
21+
exposed to the Python bindings as a tech preview only.
22+
1823
.. versionadded:: 3.0
1924
%End
2025

python/3d/auto_generated/symbols/qgspolygon3dsymbol.sip.in

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ class QgsPolygon3DSymbol : QgsAbstract3DSymbol
1515
%Docstring
1616
3D symbol that draws polygon geometries as planar polygons, optionally extruded (with added walls).
1717

18+
.. warning::
19+
20+
This is not considered stable API, and may change in future QGIS releases. It is
21+
exposed to the Python bindings as a tech preview only.
22+
1823
.. versionadded:: 3.0
1924
%End
2025

src/3d/qgs3dtypes.h

+4
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
/**
2222
* \ingroup 3d
2323
* Defines enumerations and other auxilliary types for QGIS 3D
24+
*
25+
* \warning This is not considered stable API, and may change in future QGIS releases. It is
26+
* exposed to the Python bindings as a tech preview only.
27+
*
2428
* \since QGIS 3.4
2529
*/
2630
class _3D_EXPORT Qgs3DTypes

src/3d/qgsphongmaterialsettings.h

+4
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ class QDomElement;
2626
* \ingroup 3d
2727
* Basic shading material used for rendering based on the Phong shading model
2828
* with three color components: ambient, diffuse and specular.
29+
*
30+
* \warning This is not considered stable API, and may change in future QGIS releases. It is
31+
* exposed to the Python bindings as a tech preview only.
32+
*
2933
* \since QGIS 3.0
3034
*/
3135
class _3D_EXPORT QgsPhongMaterialSettings

src/3d/qgsvectorlayer3drenderer.h

+4
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ class QgsVectorLayer;
3535
/**
3636
* \ingroup core
3737
* Metadata for vector layer 3D renderer to allow creation of its instances from XML
38+
*
39+
* \warning This is not considered stable API, and may change in future QGIS releases. It is
40+
* exposed to the Python bindings as a tech preview only.
41+
*
3842
* \since QGIS 3.0
3943
*/
4044
class _3D_EXPORT QgsVectorLayer3DRendererMetadata : public Qgs3DRendererAbstractMetadata

src/3d/symbols/qgsabstract3dsymbol.h

+3
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ class QgsReadWriteContext;
3333
*
3434
* 3D symbol objects define appearance of GIS data.
3535
*
36+
* \warning This is not considered stable API, and may change in future QGIS releases. It is
37+
* exposed to the Python bindings as a tech preview only.
38+
*
3639
* \since QGIS 3.0
3740
*/
3841
class _3D_EXPORT QgsAbstract3DSymbol

src/3d/symbols/qgsline3dsymbol.h

+4
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@
2626
/**
2727
* \ingroup 3d
2828
* 3D symbol that draws linestring geometries as planar polygons (created from lines using a buffer with given thickness).
29+
*
30+
* \warning This is not considered stable API, and may change in future QGIS releases. It is
31+
* exposed to the Python bindings as a tech preview only.
32+
*
2933
* \since QGIS 3.0
3034
*/
3135
class _3D_EXPORT QgsLine3DSymbol : public QgsAbstract3DSymbol

src/3d/symbols/qgspoint3dsymbol.h

+3
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828
* \ingroup 3d
2929
* 3D symbol that draws point geometries as 3D objects using one of the predefined shapes.
3030
*
31+
* \warning This is not considered stable API, and may change in future QGIS releases. It is
32+
* exposed to the Python bindings as a tech preview only.
33+
*
3134
* \since QGIS 3.0
3235
*/
3336
class _3D_EXPORT QgsPoint3DSymbol : public QgsAbstract3DSymbol

src/3d/symbols/qgspolygon3dsymbol.h

+4
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@
2727
/**
2828
* \ingroup 3d
2929
* 3D symbol that draws polygon geometries as planar polygons, optionally extruded (with added walls).
30+
*
31+
* \warning This is not considered stable API, and may change in future QGIS releases. It is
32+
* exposed to the Python bindings as a tech preview only.
33+
*
3034
* \since QGIS 3.0
3135
*/
3236
class _3D_EXPORT QgsPolygon3DSymbol : public QgsAbstract3DSymbol

0 commit comments

Comments
 (0)