QGIS API Documentation 3.41.0-Master (02257426e5a)
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 <QVector>
25#include <QByteArray>
26
27#define SIP_NO_FILE
28
34
35class QgsCopcPointCloudIndex;
36
47{
48 public:
51
53 static QByteArray dataForAttributes( const QgsPointCloudAttributeCollection &allAttributes, const QByteArray &data, const QgsPointCloudRequest &request );
54
56 static bool isAttributeValueValid( const QgsPointCloudAttribute &attribute, double value );
57
59 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 );
60
61};
62
63#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.