QGIS API Documentation 3.37.0-Master (fdefdf9c27f)
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:
46
48 bool operator==( const QgsPointCloudRequest &other ) const;
49
51 QgsPointCloudAttributeCollection attributes() const;
52
54 void setAttributes( const QgsPointCloudAttributeCollection &attributes );
55
60 QgsRectangle filterRect() const { return mFilterRect; }
61
66 void setFilterRect( QgsRectangle extent ) { mFilterRect = extent; }
67 private:
69 QgsRectangle mFilterRect;
70};
71
73uint qHash( const QgsPointCloudRequest &request );
74
75#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.
Definition: qgsrectangle.h:42
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
uint qHash(const QgsPointCloudRequest &request)
Hash function for QgsPointCloudRequest.