mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-31 00:04:24 -05:00
Fix docstrings, thread access macro
This commit is contained in:
parent
3e773e798e
commit
d3ce302629
@ -24,9 +24,13 @@
|
||||
class QgsPointCloudLayer;
|
||||
|
||||
/**
|
||||
* The QgsPointCloudEditingIndex class is a QgsPointCloudIndex that is used as an editing
|
||||
* \ingroup core
|
||||
*
|
||||
* \brief The QgsPointCloudEditingIndex class is a QgsPointCloudIndex that is used as an editing
|
||||
* buffer when editing point cloud data.
|
||||
*
|
||||
* \note Not available in Python bindings
|
||||
*
|
||||
* \since QGIS 3.42
|
||||
*/
|
||||
class CORE_EXPORT QgsPointCloudEditingIndex : public QgsPointCloudIndex
|
||||
|
||||
@ -1081,7 +1081,7 @@ bool QgsPointCloudLayer::changeAttributeValue( const QgsPointCloudNodeId &n, con
|
||||
|
||||
QgsPointCloudIndex *QgsPointCloudLayer::index() const
|
||||
{
|
||||
QGIS_PROTECT_QOBJECT_THREAD_ACCESS
|
||||
QGIS_PROTECT_QOBJECT_THREAD_ACCESS_NON_FATAL
|
||||
if ( mEditIndex )
|
||||
return mEditIndex.get();
|
||||
|
||||
|
||||
@ -319,6 +319,16 @@ class CORE_EXPORT QgsPointCloudLayer : public QgsMapLayer, public QgsAbstractPro
|
||||
*/
|
||||
bool changeAttributeValue( const QgsPointCloudNodeId &n, const QVector<int> &points, const QgsPointCloudAttribute &attribute, double value ) SIP_SKIP;
|
||||
|
||||
/**
|
||||
* Returns the point cloud index associated with the layer.
|
||||
* If the layer is editable, its QgsPointCloudEditingIndex is returned,
|
||||
* otherwise the index is fetched from the data provider.
|
||||
*
|
||||
* Can be nullptr (e.g. the index is being created)
|
||||
*
|
||||
* \note Not available in Python bindings
|
||||
* \since QGIS 3.42
|
||||
*/
|
||||
QgsPointCloudIndex *index() const SIP_SKIP;
|
||||
|
||||
|
||||
|
||||
@ -16,6 +16,8 @@
|
||||
#ifndef QGSPOINTCLOUDLAYEREDITUTILS_H
|
||||
#define QGSPOINTCLOUDLAYEREDITUTILS_H
|
||||
|
||||
#include "qgis_core.h"
|
||||
|
||||
#include <QVector>
|
||||
#include <QByteArray>
|
||||
|
||||
@ -28,9 +30,19 @@ class QgsPointCloudAttribute;
|
||||
class QgsPointCloudAttributeCollection;
|
||||
class QgsPointCloudRequest;
|
||||
|
||||
class QgsPointCloudLayerEditUtils
|
||||
/**
|
||||
* \ingroup core
|
||||
*
|
||||
* \brief Contains utility functions for editing point cloud layers.
|
||||
*
|
||||
* \note Not available in Python bindings
|
||||
*
|
||||
* \since QGIS 3.42
|
||||
*/
|
||||
class CORE_EXPORT QgsPointCloudLayerEditUtils
|
||||
{
|
||||
public:
|
||||
//! Ctor
|
||||
QgsPointCloudLayerEditUtils( QgsPointCloudLayer *layer );
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user