QGIS API Documentation 3.99.0-Master (2fe06baccd8)
Loading...
Searching...
No Matches
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 "qgslazinfo.h"
23
24#include <QObject>
25
26#define SIP_NO_FILE
27
30
40{
41 Q_OBJECT
42 public:
43
49 QgsCopcPointCloudBlockRequest( const QgsPointCloudNodeId &node, const QString &Uri,
50 const QgsPointCloudAttributeCollection &attributes, const QgsPointCloudAttributeCollection &requestedAttributes,
51 const QgsVector3D &scale, const QgsVector3D &offset, const QgsPointCloudExpression &filterExpression, const QgsRectangle &filterRect,
52 uint64_t blockOffset, int32_t blockSize, int pointCount, const QgsLazInfo &lazInfo,
53 const QString &authcfg = QString() );
54
55 ~QgsCopcPointCloudBlockRequest() override = default;
56 private:
57 uint64_t mBlockOffset;
58 int32_t mBlockSize;
59 int mPointCount;
60 QgsLazInfo mLazInfo;
61 private slots:
62 void blockFinishedLoading();
63};
64
65#endif // QGSCOPCPOINTCLOUDBLOCKREQUEST_H
QgsCopcPointCloudBlockRequest(const QgsPointCloudNodeId &node, const QString &Uri, const QgsPointCloudAttributeCollection &attributes, const QgsPointCloudAttributeCollection &requestedAttributes, const QgsVector3D &scale, const QgsVector3D &offset, const QgsPointCloudExpression &filterExpression, const QgsRectangle &filterRect, uint64_t blockOffset, int32_t blockSize, int pointCount, const QgsLazInfo &lazInfo, const QString &authcfg=QString())
QgsPointCloudBlockRequest constructor Requests the block data of size blockSize at offset blockOffset...
~QgsCopcPointCloudBlockRequest() override=default
Extracts information contained in a LAZ file, such as the public header block and variable length rec...
Definition qgslazinfo.h:38
A collection of point cloud attributes.
QgsPointCloudBlockRequest(const QgsPointCloudNodeId &node, const QString &Uri, const QgsPointCloudAttributeCollection &attributes, const QgsPointCloudAttributeCollection &requestedAttributes, const QgsVector3D &scale, const QgsVector3D &offset, const QgsPointCloudExpression &filterExpression, const QgsRectangle &filterRect)
QgsPointCloudBlockRequest constructor Note: It is the responsablitiy of the caller to delete the bloc...
Base class for storing raw data from point cloud nodes.
Represents an indexed point cloud node's position in octree.
A rectangle specified with double values.
A 3D vector (similar to QVector3D) with the difference that it uses double precision instead of singl...
Definition qgsvector3d.h:30