QGIS API Documentation 4.0.0-Norrköping (1ddcee3d0e4)
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:
49 const QgsPointCloudNodeId &node,
50 const QString &Uri,
51 const QgsPointCloudAttributeCollection &attributes,
52 const QgsPointCloudAttributeCollection &requestedAttributes,
53 const QgsVector3D &scale,
54 const QgsVector3D &offset,
55 const QgsPointCloudExpression &filterExpression,
56 const QgsRectangle &filterRect,
57 uint64_t blockOffset,
58 int32_t blockSize,
59 int pointCount,
60 const QgsLazInfo &lazInfo,
61 const QString &authcfg = QString()
62 );
63
64 ~QgsCopcPointCloudBlockRequest() override = default;
65
66 private:
67 uint64_t mBlockOffset;
68 int32_t mBlockSize;
69 int mPointCount;
70 QgsLazInfo mLazInfo;
71 private slots:
72 void blockFinishedLoading();
73};
74
75#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:33