QGIS API Documentation 3.43.0-Master (ebb4087afc0)
Loading...
Searching...
No Matches
qgspointcloudlayereditutils.h
Go to the documentation of this file.
1/***************************************************************************
2 qgspointcloudlayereditutils.h
3 ---------------------
4 begin : December 2024
5 copyright : (C) 2024 by Stefanos Natsis
6 email : uclaros at gmail dot com
7 ***************************************************************************
8 * *
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
13 * *
14 ***************************************************************************/
15
16#ifndef QGSPOINTCLOUDLAYEREDITUTILS_H
17#define QGSPOINTCLOUDLAYEREDITUTILS_H
18
19#include "qgis_core.h"
20#include "qgspointcloudindex.h"
21
22#include <optional>
23
24#include <QByteArray>
25
26#define SIP_NO_FILE
27
33class QgsCopcPointCloudIndex;
34
45{
46 public:
49
51 static bool isAttributeValueValid( const QgsPointCloudAttribute &attribute, double value );
52
54 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 );
55
56};
57
58#endif // QGSPOINTCLOUDLAYEREDITUTILS_H
Collection of point cloud attributes.
Attribute for point cloud data pair of name and size in bytes.
Contains utility functions for editing point cloud layers.
QgsPointCloudLayerEditUtils()=delete
Ctor.
Represents a map layer supporting display of point clouds.
Represents a indexed point cloud node's position in octree.
Point cloud data request.