QGIS API Documentation 3.41.0-Master (64d82d4c163)
|
Point cloud data request. More...
#include <qgspointcloudrequest.h>
Public Member Functions | |
QgsPointCloudRequest () | |
QgsPointCloudAttributeCollection | attributes () const |
Returns attributes. | |
QgsRectangle | filterRect () const |
Returns the rectangle from which points will be taken, in point cloud's crs. | |
bool | ignoreIndexFilterEnabled () const |
Returns whether the request will ignore the point cloud index's filter expression, practically returning all the points. | |
bool | operator== (const QgsPointCloudRequest &other) const |
void | setAttributes (const QgsPointCloudAttributeCollection &attributes) |
Set attributes filter in the 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 empty subsetString practically returning all the points. | |
|
default |
QgsPointCloudAttributeCollection QgsPointCloudRequest::attributes | ( | ) | const |
Returns attributes.
Definition at line 31 of file qgspointcloudrequest.cpp.
|
inline |
Returns the rectangle from which points will be taken, in point cloud's crs.
If the returned rectangle is empty, then no filter rectangle is set.
Definition at line 59 of file qgspointcloudrequest.h.
|
inline |
Returns whether the request will ignore the point cloud index's filter expression, practically returning all the points.
Definition at line 84 of file qgspointcloudrequest.h.
bool QgsPointCloudRequest::operator== | ( | const QgsPointCloudRequest & | other | ) | const |
Definition at line 24 of file qgspointcloudrequest.cpp.
void QgsPointCloudRequest::setAttributes | ( | const QgsPointCloudAttributeCollection & | attributes | ) |
Set attributes filter in the request.
Definition at line 36 of file qgspointcloudrequest.cpp.
|
inline |
Sets the rectangle from which points will be taken, in point cloud's crs.
An empty rectangle removes the filter.
Definition at line 65 of file qgspointcloudrequest.h.
|
inline |
When enable is true
, the request will ignore the point cloud index's filter expression and use an empty subsetString practically returning all the points.
Defaults to false
, which means the returned points will be filtered using the point cloud index's filter expression. This is used in point cloud editing where we want to iterate all points so we have the correct point indexes within each node.
Definition at line 76 of file qgspointcloudrequest.h.