Skip to content
Permalink
Browse files

add docs

  • Loading branch information
NEDJIMAbelgacem authored and nyalldawson committed Jan 4, 2021
1 parent 6b7be9c commit 839636635b9f6b6a3e953b4f56a1028071089a40
@@ -202,6 +202,10 @@ Renders a ``block`` of point cloud data using the specified render ``context``.
%End

QVector<QMap<QString, QVariant>> identify( QgsPointCloudLayer *layer, QgsRenderContext context, const QgsGeometry &geometry );
%Docstring
Returns the list of points of the point cloud layer ``layer`` and an extent defined by
a geometry in the 2D plane ``geometry`` and a range for z values ``extentZRange``
%End

virtual bool willRenderPoint( const QMap<QString, QVariant> &pointAttributes );
%Docstring
@@ -190,6 +190,8 @@ class CORE_EXPORT QgsPointCloudRenderContext
return;
}
}

//! Returns a map containing the attributes of a certain point from the point cloud
QMap<QString, QVariant> attributeMap( const char *data, std::size_t recordOffset, const QgsPointCloudAttributeCollection &attributeCollection )
{
QMap<QString, QVariant> map;
@@ -336,6 +338,10 @@ class CORE_EXPORT QgsPointCloudRenderer
*/
virtual void renderBlock( const QgsPointCloudBlock *block, QgsPointCloudRenderContext &context ) = 0;

/**
* Returns the list of points of the point cloud layer \a layer and an extent defined by
* a geometry in the 2D plane \a geometry and a range for z values \a extentZRange
*/
QVector<QMap<QString, QVariant>> identify( QgsPointCloudLayer *layer, QgsRenderContext context, const QgsGeometry &geometry );

/**

0 comments on commit 8396366

Please sign in to comment.
You can’t perform that action at this time.