QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
w
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
z
Variables
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
c
e
f
g
h
k
l
m
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Related Functions
3
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
v
Files
File List
File Members
All
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
l
n
o
p
q
r
s
t
u
w
Typedefs
3
a
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Enumerator
c
l
s
t
Macros
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
w
x
y
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
src
core
pointcloud
qgspointcloudblock.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgspointcloudblock.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 QGSPOINTCLOUDBLOCK_H
19
#define QGSPOINTCLOUDBLOCK_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
#include "
qgspointcloudattribute.h
"
29
38
class
CORE_EXPORT
QgsPointCloudBlock
39
{
40
public
:
42
QgsPointCloudBlock
(
int
count,
43
const
QgsPointCloudAttributeCollection
&attributes,
44
const
QByteArray &data,
const
QgsVector3D
&scale,
const
QgsVector3D
&offset );
46
virtual
~
QgsPointCloudBlock
() =
default
;
47
49
const
char
*data()
const
;
50
52
int
pointCount()
const
;
53
59
int
pointRecordSize()
const
{
return
mRecordSize; }
60
62
QgsPointCloudAttributeCollection
attributes()
const
;
63
65
QgsVector3D
scale()
const
;
66
68
QgsVector3D
offset()
const
;
69
77
void
setPointCount(
int
size );
78
79
private
:
80
81
int
mPointCount = 0;
82
QgsPointCloudAttributeCollection
mAttributes;
83
int
mRecordSize = 0;
84
QByteArray mStorage;
85
QgsVector3D
mScale, mOffset;
86
};
87
88
89
#endif // QGSPOINTCLOUDBLOCK_H
QgsVector3D
Class for storage of 3D vectors similar to QVector3D, with the difference that it uses double precisi...
Definition:
qgsvector3d.h:31
qgis.h
qgspointcloudattribute.h
QgsPointCloudBlock
Base class for storing raw data from point cloud nodes.
Definition:
qgspointcloudblock.h:38
QgsPointCloudAttributeCollection
Collection of point cloud attributes.
Definition:
qgspointcloudattribute.h:141
Generated on Sun Sep 11 2022 00:03:17 for QGIS API Documentation by
1.8.17