QGIS API Documentation
4.3.0-Master (16eddb2670e)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
core
pointcloud
qgspointcloudrequest.cpp
Go to the documentation of this file.
1
/***************************************************************************
2
qgspointcloudrequest.cpp
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
#include "
qgspointcloudrequest.h
"
19
20
#include "
qgis.h
"
21
#include "
qgspointcloudattribute.h
"
22
23
QgsPointCloudRequest::QgsPointCloudRequest
() =
default
;
24
25
bool
QgsPointCloudRequest::operator==
(
const
QgsPointCloudRequest
&other )
const
26
{
27
return
mIgnoreIndexFilter == other.
ignoreIndexFilterEnabled
() && mFilterRect == other.
filterRect
() && mAttributes.toFields() == other.
attributes
().
toFields
();
28
}
29
30
QgsPointCloudAttributeCollection
QgsPointCloudRequest::attributes
()
const
31
{
32
return
mAttributes;
33
}
34
35
void
QgsPointCloudRequest::setAttributes
(
const
QgsPointCloudAttributeCollection
&
attributes
)
36
{
37
mAttributes =
attributes
;
38
}
QgsPointCloudAttributeCollection
A collection of point cloud attributes.
Definition
qgspointcloudattribute.h:157
QgsPointCloudAttributeCollection::toFields
QgsFields toFields() const
Converts the attribute collection to an equivalent QgsFields collection.
Definition
qgspointcloudattribute.cpp:194
QgsPointCloudRequest::QgsPointCloudRequest
QgsPointCloudRequest()
QgsPointCloudRequest::ignoreIndexFilterEnabled
bool ignoreIndexFilterEnabled() const
Returns whether the request will ignore the point cloud index's filter expression,...
Definition
qgspointcloudrequest.h:82
QgsPointCloudRequest::attributes
QgsPointCloudAttributeCollection attributes() const
Returns attributes.
Definition
qgspointcloudrequest.cpp:30
QgsPointCloudRequest::filterRect
QgsRectangle filterRect() const
Returns the rectangle from which points will be taken, in point cloud's crs.
Definition
qgspointcloudrequest.h:57
QgsPointCloudRequest::setAttributes
void setAttributes(const QgsPointCloudAttributeCollection &attributes)
Set attributes filter in the request.
Definition
qgspointcloudrequest.cpp:35
QgsPointCloudRequest::operator==
bool operator==(const QgsPointCloudRequest &other) const
Definition
qgspointcloudrequest.cpp:25
qgis.h
qgspointcloudattribute.h
qgspointcloudrequest.h
Generated on
for QGIS API Documentation by
1.17.0