QGIS API Documentation
4.3.0-Master (16eddb2670e)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
core
pointcloud
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
"
22
#include "
qgspointcloudblockrequest.h
"
23
24
#include <QObject>
25
26
#define SIP_NO_FILE
27
28
class
QgsPointCloudAttributeCollection
;
29
class
QgsPointCloudBlock
;
30
39
class
CORE_EXPORT
QgsCopcPointCloudBlockRequest
:
public
QgsPointCloudBlockRequest
40
{
41
Q_OBJECT
42
public
:
48
QgsCopcPointCloudBlockRequest
(
49
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::QgsCopcPointCloudBlockRequest
QgsCopcPointCloudBlockRequest(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::~QgsCopcPointCloudBlockRequest
~QgsCopcPointCloudBlockRequest() override=default
QgsLazInfo
Extracts information contained in a LAZ file, such as the public header block and variable length rec...
Definition
qgslazinfo.h:38
QgsPointCloudAttributeCollection
A collection of point cloud attributes.
Definition
qgspointcloudattribute.h:157
QgsPointCloudBlockRequest::QgsPointCloudBlockRequest
QgsPointCloudBlockRequest(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...
QgsPointCloudBlock
Base class for storing raw data from point cloud nodes.
Definition
qgspointcloudblock.h:39
QgsPointCloudNodeId
Represents an indexed point cloud node's position in octree.
Definition
qgspointcloudindex.h:56
QgsRectangle
A rectangle specified with double values.
Definition
qgsrectangle.h:47
QgsVector3D
A 3D vector (similar to QVector3D) with the difference that it uses double precision instead of singl...
Definition
qgsvector3d.h:33
qgslazinfo.h
qgspointcloudblockrequest.h
Generated on
for QGIS API Documentation by
1.17.0