QGIS API Documentation 3.41.0-Master (cea29feecf2)
Loading...
Searching...
No Matches
qgspointcloudrequest.h
Go to the documentation of this file.
1/***************************************************************************
2 qgspointcloudrequest.h
3 ---------------------
4 begin : October 2020
5 copyright : (C) 2020 by Peter Petrik
6 email : zilolv 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 QGSPOINTCLOUDREQUEST_H
19#define QGSPOINTCLOUDREQUEST_H
20
21#include "qgis.h"
22#include "qgis_core.h"
23#include <QPair>
24#include <QString>
25#include <QVector>
26#include <QByteArray>
27
28#define SIP_NO_FILE
29
31
32#include "qgsrectangle.h"
33
41class CORE_EXPORT QgsPointCloudRequest
42{
43 public:
44
46
47 bool operator==( const QgsPointCloudRequest &other ) const;
48
50 QgsPointCloudAttributeCollection attributes() const;
51
53 void setAttributes( const QgsPointCloudAttributeCollection &attributes );
54
59 QgsRectangle filterRect() const { return mFilterRect; }
60
65 void setFilterRect( QgsRectangle extent ) { mFilterRect = extent; }
66 private:
68 QgsRectangle mFilterRect;
69};
70
72uint qHash( const QgsPointCloudRequest &request );
73
74#endif // QGSPOINTCLOUDREQUEST_H
Collection of point cloud attributes.
Point cloud data request.
void setFilterRect(QgsRectangle extent)
Sets the rectangle from which points will be taken, in point cloud's crs.
QgsRectangle filterRect() const
Returns the rectangle from which points will be taken, in point cloud's crs.
A rectangle specified with double values.
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
uint qHash(const QgsPointCloudRequest &request)
Hash function for QgsPointCloudRequest.