QGIS API Documentation 3.41.0-Master (f75d66fa9f9)
|
Contains utility functions for editing point cloud layers. More...
#include <qgspointcloudlayereditutils.h>
Public Member Functions | |
QgsPointCloudLayerEditUtils ()=delete | |
Ctor. | |
Static Public Member Functions | |
static QByteArray | dataForAttributes (const QgsPointCloudAttributeCollection &allAttributes, const QByteArray &data, const QgsPointCloudRequest &request) |
Takes data comprising of allAttributes and returns a QByteArray with data only for the attributes included in the request. | |
static bool | isAttributeValueValid (const QgsPointCloudAttribute &attribute, double value) |
Check if value is within proper range for the attribute. | |
static QByteArray | updateChunkValues (QgsCopcPointCloudIndex *copcIndex, const QByteArray &chunkData, const QgsPointCloudAttribute &attribute, const QgsPointCloudNodeId &n, const QHash< int, double > &pointValues, std::optional< double > newValue=std::nullopt) |
Sets new classification value for the given points in voxel and return updated chunk data. | |
Contains utility functions for editing point cloud layers.
Definition at line 46 of file qgspointcloudlayereditutils.h.
|
delete |
Ctor.
|
static |
Takes data comprising of allAttributes and returns a QByteArray with data only for the attributes included in the request.
Definition at line 165 of file qgspointcloudlayereditutils.cpp.
|
static |
Check if value is within proper range for the attribute.
Definition at line 190 of file qgspointcloudlayereditutils.cpp.
|
static |
Sets new classification value for the given points in voxel and return updated chunk data.
Definition at line 127 of file qgspointcloudlayereditutils.cpp.