QGIS API Documentation  3.26.3-Buenos Aires (65e4edfdad)
qgspointcloudblockrequest.cpp
Go to the documentation of this file.
1 /***************************************************************************
2  qgspointcloudblockrequest.cpp
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 
19 
20 //
21 // QgsPointCloudBlockRequest
22 //
23 
25 
27  const QgsPointCloudAttributeCollection &attributes, const QgsPointCloudAttributeCollection &requestedAttributes,
28  const QgsVector3D &scale, const QgsVector3D &offset, const QgsPointCloudExpression &filterExpression )
29  : mNode( node ), mUri( uri ),
30  mAttributes( attributes ), mRequestedAttributes( requestedAttributes ),
31  mScale( scale ), mOffset( offset ), mFilterExpression( filterExpression )
32 {
33 }
34 
36 
38 {
39  return mBlock;
40 }
41 
43 {
44  return mErrorStr;
45 }
46 
QgsPointCloudBlockRequest::block
QgsPointCloudBlock * block()
Returns the requested block.
qgspointcloudblockrequest.h
QgsVector3D
Class for storage of 3D vectors similar to QVector3D, with the difference that it uses double precisi...
Definition: qgsvector3d.h:31
QgsPointCloudBlock
Base class for storing raw data from point cloud nodes.
Definition: qgspointcloudblock.h:38
QgsPointCloudBlockRequest::QgsPointCloudBlockRequest
QgsPointCloudBlockRequest(const IndexedPointCloudNode &node, const QString &Uri, const QgsPointCloudAttributeCollection &attributes, const QgsPointCloudAttributeCollection &requestedAttributes, const QgsVector3D &scale, const QgsVector3D &offset, const QgsPointCloudExpression &filterExpression)
QgsPointCloudBlockRequest constructor Note: It is the responsablitiy of the caller to delete the bloc...
IndexedPointCloudNode
Represents a indexed point cloud node in octree.
Definition: qgspointcloudindex.h:57
QgsPointCloudBlockRequest::mBlock
QgsPointCloudBlock * mBlock
Definition: qgspointcloudblockrequest.h:71
QgsPointCloudAttributeCollection
Collection of point cloud attributes.
Definition: qgspointcloudattribute.h:141
QgsPointCloudBlockRequest::errorStr
QString errorStr()
Returns the error message string of the request.
QgsPointCloudBlockRequest::mErrorStr
QString mErrorStr
Definition: qgspointcloudblockrequest.h:72
QgsPointCloudBlockRequest::~QgsPointCloudBlockRequest
virtual ~QgsPointCloudBlockRequest()=0