QGIS API Documentation 3.29.0-Master (19d7edcfed)
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 QgsPointCloudAttributeCollection attributes() const;
49
51 void setAttributes( const QgsPointCloudAttributeCollection &attributes );
52
57 QgsRectangle filterRect() const { return mFilterRect; }
58
63 void setFilterRect( QgsRectangle extent ) { mFilterRect = extent; }
64 private:
66 QgsRectangle mFilterRect;
67};
68
69#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