QGIS API Documentation
4.3.0-Master (16eddb2670e)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
core
pointcloud
qgspointcloudblockrequest.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgspointcloudblockrequest.h
3
--------------------
4
begin : March 2021
5
copyright : (C) 2021 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 QGSPOINTCLOUDBLOCKREQUEST_H
19
#define QGSPOINTCLOUDBLOCKREQUEST_H
20
21
#include "
qgspointcloudindex.h
"
22
#include "
qgstiledownloadmanager.h
"
23
24
#include <QObject>
25
26
#define SIP_NO_FILE
27
36
class
CORE_EXPORT
QgsPointCloudBlockRequest
:
public
QObject
37
{
38
Q_OBJECT
39
public
:
44
QgsPointCloudBlockRequest
(
45
QgsPointCloudNodeId
node,
46
const
QString &Uri,
47
const
QgsPointCloudAttributeCollection
&attributes,
48
const
QgsPointCloudAttributeCollection
&requestedAttributes,
49
const
QgsVector3D
&scale,
50
const
QgsVector3D
&offset,
51
const
QgsPointCloudExpression &filterExpression,
52
const
QgsRectangle
&filterRect
53
);
54
55
56
~QgsPointCloudBlockRequest
()
override
= 0;
57
61
std::unique_ptr<QgsPointCloudBlock>
takeBlock
();
62
64
QString
errorStr
()
const
;
65
66
signals:
68
void
finished
();
69
70
protected
:
71
QgsPointCloudNodeId
mNode
;
72
QString
mUri
;
73
QgsPointCloudAttributeCollection
mAttributes
;
74
QgsPointCloudAttributeCollection
mRequestedAttributes
;
75
std::unique_ptr<QgsTileDownloadManagerReply>
mTileDownloadManagerReply
=
nullptr
;
76
std::unique_ptr<QgsPointCloudBlock>
mBlock
;
77
QString
mErrorStr
;
78
QgsVector3D
mScale
,
mOffset
;
79
QgsPointCloudExpression
mFilterExpression
;
80
QgsRectangle
mFilterRect
;
81
};
82
83
#endif
// QGSPOINTCLOUDBLOCKREQUEST_H
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...
QgsPointCloudBlockRequest::mRequestedAttributes
QgsPointCloudAttributeCollection mRequestedAttributes
Definition
qgspointcloudblockrequest.h:74
QgsPointCloudBlockRequest::mTileDownloadManagerReply
std::unique_ptr< QgsTileDownloadManagerReply > mTileDownloadManagerReply
Definition
qgspointcloudblockrequest.h:75
QgsPointCloudBlockRequest::mUri
QString mUri
Definition
qgspointcloudblockrequest.h:72
QgsPointCloudBlockRequest::mAttributes
QgsPointCloudAttributeCollection mAttributes
Definition
qgspointcloudblockrequest.h:73
QgsPointCloudBlockRequest::mBlock
std::unique_ptr< QgsPointCloudBlock > mBlock
Definition
qgspointcloudblockrequest.h:76
QgsPointCloudBlockRequest::mFilterRect
QgsRectangle mFilterRect
Definition
qgspointcloudblockrequest.h:80
QgsPointCloudBlockRequest::mNode
QgsPointCloudNodeId mNode
Definition
qgspointcloudblockrequest.h:71
QgsPointCloudBlockRequest::mErrorStr
QString mErrorStr
Definition
qgspointcloudblockrequest.h:77
QgsPointCloudBlockRequest::mFilterExpression
QgsPointCloudExpression mFilterExpression
Definition
qgspointcloudblockrequest.h:79
QgsPointCloudBlockRequest::errorStr
QString errorStr() const
Returns the error message string of the request.
QgsPointCloudBlockRequest::~QgsPointCloudBlockRequest
~QgsPointCloudBlockRequest() override=0
QgsPointCloudBlockRequest::mScale
QgsVector3D mScale
Definition
qgspointcloudblockrequest.h:78
QgsPointCloudBlockRequest::mOffset
QgsVector3D mOffset
Definition
qgspointcloudblockrequest.h:78
QgsPointCloudBlockRequest::finished
void finished()
Emitted when the request processing has finished.
QgsPointCloudBlockRequest::takeBlock
std::unique_ptr< QgsPointCloudBlock > takeBlock()
Returns the requested block.
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
qgspointcloudindex.h
qgstiledownloadmanager.h
Generated on
for QGIS API Documentation by
1.17.0