QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
qgscopcpointcloudblockrequest.h
Go to the documentation of this file.
1/***************************************************************************
2 qgscopcpointcloudblockrequest.h
3 --------------------
4 begin : March 2022
5 copyright : (C) 2022 by Belgacem Nedjima
6 email : belgacem dot nedjima at gmail dot com
7 ***************************************************************************/
8
9/***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
17
18#ifndef QGSCOPCPOINTCLOUDBLOCKREQUEST_H
19#define QGSCOPCPOINTCLOUDBLOCKREQUEST_H
20
21#include <QObject>
22
24#include "qgslazinfo.h"
25
26#define SIP_NO_FILE
27
30
40{
41 Q_OBJECT
42 public:
43
49 QgsCopcPointCloudBlockRequest( const IndexedPointCloudNode &node, const QString &Uri,
50 const QgsPointCloudAttributeCollection &attributes, const QgsPointCloudAttributeCollection &requestedAttributes,
51 const QgsVector3D &scale, const QgsVector3D &offset, const QgsPointCloudExpression &filterExpression,
52 uint64_t blockOffset, int32_t blockSize, int pointCount, const QgsLazInfo &lazInfo );
53
55 private:
56 uint64_t mBlockOffset;
57 int32_t mBlockSize;
58 int mPointCount;
59 QgsLazInfo mLazInfo;
60 private slots:
61 void blockFinishedLoading();
62};
63
64#endif // QGSCOPCPOINTCLOUDBLOCKREQUEST_H
Represents a indexed point cloud node in octree.
Base class for handling loading QgsPointCloudBlock asynchronously from a remote COPC dataset.
QgsCopcPointCloudBlockRequest(const IndexedPointCloudNode &node, const QString &Uri, const QgsPointCloudAttributeCollection &attributes, const QgsPointCloudAttributeCollection &requestedAttributes, const QgsVector3D &scale, const QgsVector3D &offset, const QgsPointCloudExpression &filterExpression, uint64_t blockOffset, int32_t blockSize, int pointCount, const QgsLazInfo &lazInfo)
QgsPointCloudBlockRequest constructor Requests the block data of size blockSize at offset blockOffset...
Class for extracting information contained in LAZ file such as the public header block and variable l...
Definition: qgslazinfo.h:39
Collection of point cloud attributes.
Base class for handling loading QgsPointCloudBlock asynchronously.
Base class for storing raw data from point cloud nodes.