QGIS API Documentation
4.3.0-Master (16eddb2670e)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
core
pointcloud
qgspointcloudsubindex.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgspointcloudsubindex.h
3
-----------------------
4
begin : March 2023
5
copyright : (C) 2023 by Stefanos Natsis
6
email : uclaros 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 QGSPOINTCLOUDSUBINDEX_H
19
#define QGSPOINTCLOUDSUBINDEX_H
20
21
#include "
qgsgeometry.h
"
22
#include "
qgspointcloudindex.h
"
23
#include "
qgsrange.h
"
24
#include "
qgsrectangle.h
"
25
26
#include <QString>
27
29
30
38
class
CORE_EXPORT QgsPointCloudSubIndex
39
{
40
public
:
42
QgsPointCloudSubIndex(
const
QString &uri,
const
QgsGeometry &geometry,
const
QgsRectangle &extent,
const
QgsDoubleRange &zRange, qint64 count )
43
: mUri( uri )
44
, mExtent( extent )
45
, mGeometry( geometry )
46
, mPointCount( count )
47
, mZRange( zRange )
48
{}
49
51
QgsPointCloudIndex index()
const
{
return
mIndex; }
52
54
void
setIndex( QgsPointCloudIndex index ) { mIndex = index; }
55
57
QString uri()
const
{
return
mUri; }
58
60
QgsRectangle extent()
const
{
return
mExtent; }
61
63
QgsDoubleRange zRange()
const
{
return
mZRange; }
64
69
QgsGeometry polygonBounds()
const
{
return
mGeometry; }
70
72
qint64 pointCount()
const
{
return
mPointCount; }
73
74
private
:
75
QgsPointCloudIndex mIndex = QgsPointCloudIndex(
nullptr
);
76
QString mUri;
77
QgsRectangle mExtent;
78
QgsGeometry mGeometry;
79
qint64 mPointCount = 0;
80
QgsDoubleRange mZRange;
81
};
82
84
#endif
// QGSPOINTCLOUDSUBINDEX_H
qgsgeometry.h
qgspointcloudindex.h
qgsrange.h
qgsrectangle.h
Generated on
for QGIS API Documentation by
1.17.0