Skip to content

Commit

Permalink
fix broken see also
Browse files Browse the repository at this point in the history
  • Loading branch information
NEDJIMAbelgacem authored and wonder-sk committed Dec 3, 2020
1 parent 16b4faa commit 3766712
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 14 deletions.
8 changes: 3 additions & 5 deletions python/3d/auto_generated/symbols/qgspointcloud3dsymbol.sip.in
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
15 changes: 6 additions & 9 deletions src/3d/symbols/qgspointcloud3dsymbol.h
Expand Up @@ -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:
Expand Down Expand Up @@ -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 );
Expand Down

0 comments on commit 3766712

Please sign in to comment.