QGIS API Documentation 3.99.0-Master (21b3aa880ba)
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
24#include <QByteArray>
25#include <QPair>
26#include <QString>
27#include <QVector>
28
29#define SIP_NO_FILE
30
32
33#include "qgsrectangle.h"
34
42class CORE_EXPORT QgsPointCloudRequest
43{
44 public:
45
47
48 bool operator==( const QgsPointCloudRequest &other ) const;
49
52
55
60 QgsRectangle filterRect() const { return mFilterRect; }
61
66 void setFilterRect( QgsRectangle extent ) { mFilterRect = extent; }
67
77 void setIgnoreIndexFilterEnabled( bool enable ) { mIgnoreIndexFilter = enable; }
78
85 bool ignoreIndexFilterEnabled() const { return mIgnoreIndexFilter; }
86
87 private:
89 QgsRectangle mFilterRect;
90 bool mIgnoreIndexFilter = false;
91};
92
94uint qHash( const QgsPointCloudRequest &request );
95
96#endif // QGSPOINTCLOUDREQUEST_H
A 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.
void setIgnoreIndexFilterEnabled(bool enable)
When enable is true, the request will ignore the point cloud index's filter expression and use an emp...
bool ignoreIndexFilterEnabled() const
Returns whether the request will ignore the point cloud index's filter expression,...
QgsPointCloudAttributeCollection attributes() const
Returns attributes.
QgsRectangle filterRect() const
Returns the rectangle from which points will be taken, in point cloud's crs.
void setAttributes(const QgsPointCloudAttributeCollection &attributes)
Set attributes filter in the request.
A rectangle specified with double values.
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
uint qHash(const QgsPointCloudRequest &request)
Hash function for QgsPointCloudRequest.