QGIS API Documentation 3.41.0-Master (f75d66fa9f9)
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
QgsPointCloudLayerEditUtils Class Reference

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.
 

Detailed Description

Contains utility functions for editing point cloud layers.

Note
Not available in Python bindings
Since
QGIS 3.42

Definition at line 46 of file qgspointcloudlayereditutils.h.

Constructor & Destructor Documentation

◆ QgsPointCloudLayerEditUtils()

QgsPointCloudLayerEditUtils::QgsPointCloudLayerEditUtils ( )
delete

Ctor.

Member Function Documentation

◆ dataForAttributes()

QByteArray QgsPointCloudLayerEditUtils::dataForAttributes ( const QgsPointCloudAttributeCollection allAttributes,
const QByteArray &  data,
const QgsPointCloudRequest request 
)
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.

◆ isAttributeValueValid()

bool QgsPointCloudLayerEditUtils::isAttributeValueValid ( const QgsPointCloudAttribute attribute,
double  value 
)
static

Check if value is within proper range for the attribute.

Definition at line 190 of file qgspointcloudlayereditutils.cpp.

◆ updateChunkValues()

QByteArray QgsPointCloudLayerEditUtils::updateChunkValues ( QgsCopcPointCloudIndex *  copcIndex,
const QByteArray &  chunkData,
const QgsPointCloudAttribute attribute,
const QgsPointCloudNodeId n,
const QHash< int, double > &  pointValues,
std::optional< double >  newValue = std::nullopt 
)
static

Sets new classification value for the given points in voxel and return updated chunk data.

Definition at line 127 of file qgspointcloudlayereditutils.cpp.


The documentation for this class was generated from the following files: