Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
b
c
d
e
h
i
l
m
n
p
r
s
u
x
Typedefs
b
c
d
e
f
g
i
m
p
r
u
v
Enumerations
Enumerator
a
b
f
g
i
m
n
r
s
u
Classes
Class List
Class Hierarchy
Class Members
All
_
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
l
m
n
o
p
r
s
t
u
v
w
x
y
~
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
b
c
d
e
f
h
i
m
n
p
q
r
s
t
u
v
x
Enumerations
a
c
d
e
f
k
l
m
p
r
s
t
v
w
Enumerator
a
b
d
f
g
h
i
l
m
n
o
p
r
s
u
v
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
u
v
w
Functions
b
c
d
e
f
g
m
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
w
Typedefs
Enumerations
Enumerator
Macros
_
d
f
i
m
n
p
s
t
u
shared
depthai-shared
include
depthai-shared
datatype
RawPointCloudData.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <cstdint>
4
5
#include "
depthai-shared/datatype/DatatypeEnum.hpp
"
6
#include "
depthai-shared/datatype/RawBuffer.hpp
"
7
8
namespace
dai
{
9
10
struct
RawPointCloudData
:
public
RawBuffer
{
11
unsigned
int
width
;
// width in pixels
12
unsigned
int
height
;
// height in pixels
13
uint32_t
instanceNum
= 0;
// Which source created this frame (color, mono, ...)
14
float
minx
,
miny
,
minz
;
15
float
maxx
,
maxy
,
maxz
;
16
bool
sparse
=
false
;
17
18
public
:
19
void
serialize
(std::vector<std::uint8_t>& metadata,
DatatypeEnum
& datatype)
const override
{
20
metadata =
utility::serialize
(*
this
);
21
datatype =
DatatypeEnum::PointCloudData
;
22
};
23
24
DatatypeEnum
getType
()
const override
{
25
return
DatatypeEnum::PointCloudData
;
26
}
27
28
DEPTHAI_SERIALIZE
(
29
RawPointCloudData
,
width
,
height
,
minx
,
miny
,
minz
,
maxx
,
maxy
,
maxz
,
sparse
,
instanceNum
,
RawBuffer::ts
,
RawBuffer::tsDevice
,
RawBuffer::sequenceNum
);
30
};
31
32
}
// namespace dai
dai::RawPointCloudData::getType
DatatypeEnum getType() const override
Definition:
RawPointCloudData.hpp:24
dai::DatatypeEnum
DatatypeEnum
Definition:
DatatypeEnum.hpp:7
dai::RawPointCloudData::maxy
float maxy
Definition:
RawPointCloudData.hpp:15
dai::RawPointCloudData::minz
float minz
Definition:
RawPointCloudData.hpp:14
dai::RawPointCloudData::serialize
void serialize(std::vector< std::uint8_t > &metadata, DatatypeEnum &datatype) const override
Definition:
RawPointCloudData.hpp:19
dai::RawPointCloudData::maxz
float maxz
Definition:
RawPointCloudData.hpp:15
dai::utility::serialize
bool serialize(const T &obj, std::vector< std::uint8_t > &data)
Definition:
Serialization.hpp:38
dai::DatatypeEnum::PointCloudData
@ PointCloudData
dai::RawPointCloudData::miny
float miny
Definition:
RawPointCloudData.hpp:14
DatatypeEnum.hpp
dai::RawBuffer::sequenceNum
int64_t sequenceNum
Definition:
RawBuffer.hpp:16
dai::RawPointCloudData
Definition:
RawPointCloudData.hpp:10
dai::RawPointCloudData::width
unsigned int width
Definition:
RawPointCloudData.hpp:11
dai::RawBuffer::tsDevice
Timestamp tsDevice
Definition:
RawBuffer.hpp:18
RawBuffer.hpp
dai::RawPointCloudData::DEPTHAI_SERIALIZE
DEPTHAI_SERIALIZE(RawPointCloudData, width, height, minx, miny, minz, maxx, maxy, maxz, sparse, instanceNum, RawBuffer::ts, RawBuffer::tsDevice, RawBuffer::sequenceNum)
dai::RawPointCloudData::height
unsigned int height
Definition:
RawPointCloudData.hpp:12
dai::RawPointCloudData::maxx
float maxx
Definition:
RawPointCloudData.hpp:15
dai::RawPointCloudData::minx
float minx
Definition:
RawPointCloudData.hpp:14
dai::RawBuffer
RawBuffer structure.
Definition:
RawBuffer.hpp:12
dai::RawPointCloudData::sparse
bool sparse
Definition:
RawPointCloudData.hpp:16
dai::RawPointCloudData::instanceNum
uint32_t instanceNum
Definition:
RawPointCloudData.hpp:13
dai
Definition:
CameraExposureOffset.hpp:6
dai::RawBuffer::ts
Timestamp ts
Definition:
RawBuffer.hpp:17
depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19