QGIS API Documentation 3.43.0-Master (b60ef06885e)
qgscachedpointcloudblockrequest.cpp
Go to the documentation of this file.
1/***************************************************************************
2 qgscachedpointcloudblockrequest.cpp
3 -----------------------------------
4 begin : January 2024
5 copyright : (C) 2024 by Stefanos Natsis
6 email : stefanos.natsis 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
19#include "moc_qgscachedpointcloudblockrequest.cpp"
20
22
24 const QgsPointCloudAttributeCollection &attributes, const QgsPointCloudAttributeCollection &requestedAttributes,
25 const QgsVector3D &scale, const QgsVector3D &offset, const QgsPointCloudExpression &filterExpression, const QgsRectangle &filterRect )
26 : QgsPointCloudBlockRequest( node, uri, attributes, requestedAttributes, scale, offset, filterExpression, filterRect )
27{
28 mBlock.reset( block );
29 QMetaObject::invokeMethod( this, &QgsCachedPointCloudBlockRequest::finished, Qt::QueuedConnection );
30}
31
QgsCachedPointCloudBlockRequest(QgsPointCloudBlock *block, const QgsPointCloudNodeId &node, const QString &uri, const QgsPointCloudAttributeCollection &attributes, const QgsPointCloudAttributeCollection &requestedAttributes, const QgsVector3D &scale, const QgsVector3D &offset, const QgsPointCloudExpression &filterExpression, const QgsRectangle &filterRect)
QgsCachedPointCloudBlockRequest constructor using an existing block Note: Ownership of block is trans...
A collection of point cloud attributes.
Base class for handling loading QgsPointCloudBlock asynchronously.
void finished()
Emitted when the request processing has finished.
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