From 376671215abc300e25b0f5c1d7e577e13a7ee8b1 Mon Sep 17 00:00:00 2001 From: NEDJIMAbelgacem Date: Tue, 24 Nov 2020 06:57:59 +0100 Subject: [PATCH] fix broken see also --- .../symbols/qgspointcloud3dsymbol.sip.in | 8 +++----- src/3d/symbols/qgspointcloud3dsymbol.h | 15 ++++++--------- 2 files changed, 9 insertions(+), 14 deletions(-) diff --git a/python/3d/auto_generated/symbols/qgspointcloud3dsymbol.sip.in b/python/3d/auto_generated/symbols/qgspointcloud3dsymbol.sip.in index ece4cb178b0..35c624d0de7 100644 --- a/python/3d/auto_generated/symbols/qgspointcloud3dsymbol.sip.in +++ b/python/3d/auto_generated/symbols/qgspointcloud3dsymbol.sip.in @@ -52,9 +52,7 @@ Constructor for QgsPointCloud3DSymbol QgsPointCloud3DSymbol::RenderingStyle renderingStyle() const; %Docstring -Returns the rendering style - -.. seealso:: :py:func:`setRenderingStyle` +Returns the rendering style used to render the point cloud %End protected: @@ -195,14 +193,14 @@ Sets the point size QgsColorRampPointCloud3DSymbol::RenderingParameter renderingParameter() const; %Docstring -Returns the parameter used to select the color of the point cloud when using color ramp coloring +Returns the parameter used to select the color of the point cloud .. seealso:: :py:func:`setRenderingParameter` %End void setRenderingParameter( QgsColorRampPointCloud3DSymbol::RenderingParameter parameter ); %Docstring -Sets the parameter used to select the color of the point cloud when using color ramp coloring +Sets the parameter used to select the color of the point cloud .. seealso:: :py:func:`renderingParameter` %End diff --git a/src/3d/symbols/qgspointcloud3dsymbol.h b/src/3d/symbols/qgspointcloud3dsymbol.h index 76b6cbf3f52..533300a2671 100644 --- a/src/3d/symbols/qgspointcloud3dsymbol.h +++ b/src/3d/symbols/qgspointcloud3dsymbol.h @@ -54,15 +54,12 @@ class _3D_EXPORT QgsPointCloud3DSymbol : public QgsAbstract3DSymbol QgsAbstract3DSymbol *clone() const override SIP_FACTORY { return nullptr; } - void writeXml( QDomElement &elem, const QgsReadWriteContext &context ) const override { Q_UNUSED( context ); } - void readXml( const QDomElement &elem, const QgsReadWriteContext &context ) override { Q_UNUSED( context ); } + void writeXml( QDomElement &elem, const QgsReadWriteContext &context ) const override { Q_UNUSED( elem ); Q_UNUSED( context ); } + void readXml( const QDomElement &elem, const QgsReadWriteContext &context ) override { Q_UNUSED( elem ); Q_UNUSED( context ); } QString type() const override { return "pointcloud"; } - /** - * Returns the rendering style - * \see setRenderingStyle( QgsPointCloud3DSymbol::RenderingStyle style ) - */ + //! Returns the rendering style used to render the point cloud QgsPointCloud3DSymbol::RenderingStyle renderingStyle() const { return mRenderingStyle; } protected: @@ -179,13 +176,13 @@ class _3D_EXPORT QgsColorRampPointCloud3DSymbol : public QgsPointCloud3DSymbol void setPointSize( float size ); /** - * Returns the parameter used to select the color of the point cloud when using color ramp coloring - * \see setRenderingParameter( QgsPointCloud3DSymbol::RenderingParameter parameter ) + * Returns the parameter used to select the color of the point cloud + * \see setRenderingParameter( QgsColorRampPointCloud3DSymbol::RenderingParameter parameter ) */ QgsColorRampPointCloud3DSymbol::RenderingParameter renderingParameter() const; /** - * Sets the parameter used to select the color of the point cloud when using color ramp coloring + * Sets the parameter used to select the color of the point cloud * \see renderingParameter() */ void setRenderingParameter( QgsColorRampPointCloud3DSymbol::RenderingParameter parameter );