This commit is contained in:
NEDJIMAbelgacem 2020-12-05 21:13:52 +01:00 committed by Martin Dobias
parent e3dcb5b028
commit df3c30e113
2 changed files with 39 additions and 0 deletions

View File

@ -394,6 +394,16 @@ Ownership of ``enhancement`` is transferred.
class QgsClassificationPointCloud3DSymbol : QgsPointCloud3DSymbol
{
%Docstring
3D symbol that draws point cloud geometries as 3D objects using classification of the dataset
.. warning::
This is not considered stable API, and may change in future QGIS releases. It is
exposed to the Python bindings as a tech preview only.
.. versionadded:: 3.18
%End
%TypeHeaderCode
#include "qgspointcloud3dsymbol.h"
@ -429,7 +439,18 @@ Sets the parameter used to select the color of the point cloud
%End
QgsPointCloudCategoryList categoriesList() const;
%Docstring
Returns the list of categories of the classification
.. seealso:: :py:func:`setCategoriesList`
%End
void setCategoriesList( const QgsPointCloudCategoryList &categories );
%Docstring
Sets the list of categories of the classification
.. seealso:: :py:func:`categoriesList`
%End
QgsColorRampShader colorRampShader() const;
%Docstring

View File

@ -361,6 +361,15 @@ class _3D_EXPORT QgsRgbPointCloud3DSymbol : public QgsPointCloud3DSymbol
};
/**
* \ingroup 3d
* 3D symbol that draws point cloud geometries as 3D objects using classification of the dataset
*
* \warning This is not considered stable API, and may change in future QGIS releases. It is
* exposed to the Python bindings as a tech preview only.
*
* \since QGIS 3.18
*/
class _3D_EXPORT QgsClassificationPointCloud3DSymbol : public QgsPointCloud3DSymbol
{
public:
@ -385,7 +394,16 @@ class _3D_EXPORT QgsClassificationPointCloud3DSymbol : public QgsPointCloud3DSym
*/
void setRenderingParameter( const QString &parameter );
/**
* Returns the list of categories of the classification
* \see setCategoriesList()
*/
QgsPointCloudCategoryList categoriesList() const { return mCategoriesList; }
/**
* Sets the list of categories of the classification
* \see categoriesList()
*/
void setCategoriesList( const QgsPointCloudCategoryList &categories );
/**