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
src
pipeline
node
PointCloud.cpp
Go to the documentation of this file.
1
#include "
depthai/pipeline/node/PointCloud.hpp
"
2
3
#include "spdlog/fmt/fmt.h"
4
5
namespace
dai
{
6
namespace
node {
7
8
PointCloud::PointCloud
(
const
std::shared_ptr<PipelineImpl>& par, int64_t nodeId) :
PointCloud
(par, nodeId,
std
::make_unique<
PointCloud
::
Properties
>()) {}
9
PointCloud::PointCloud
(
const
std::shared_ptr<PipelineImpl>& par, int64_t nodeId, std::unique_ptr<Properties> props)
10
:
NodeCRTP
<
Node
,
PointCloud
,
PointCloudProperties
>(par, nodeId,
std
::move(props)),
11
rawConfig(
std
::make_shared<
RawPointCloudConfig
>()),
12
initialConfig(rawConfig) {
13
setInputRefs
({&
inputConfig
, &
inputDepth
});
14
setOutputRefs
({&
outputPointCloud
, &
passthroughDepth
});
15
}
16
17
PointCloud::Properties
&
PointCloud::getProperties
() {
18
properties
.
initialConfig
= *
rawConfig
;
19
return
properties
;
20
}
21
22
void
PointCloud::setNumFramesPool
(
int
numFramesPool) {
23
properties
.
numFramesPool
= numFramesPool;
24
}
25
26
}
// namespace node
27
}
// namespace dai
dai::NodeCRTP< Node, PointCloud, PointCloudProperties >::properties
Properties & properties
Underlying properties.
Definition:
Node.hpp:346
dai::PointCloudProperties::initialConfig
RawPointCloudConfig initialConfig
Definition:
PointCloudProperties.hpp:15
dai::node::PointCloud::setNumFramesPool
void setNumFramesPool(int numFramesPool)
Definition:
PointCloud.cpp:22
dai::node::PointCloud::inputDepth
Input inputDepth
Definition:
PointCloud.hpp:48
dai::PointCloudProperties::numFramesPool
int numFramesPool
Definition:
PointCloudProperties.hpp:17
dai::Node::setInputRefs
void setInputRefs(std::initializer_list< Input * > l)
dai::Node
Abstract Node.
Definition:
Node.hpp:29
dai::PointCloudProperties
Definition:
PointCloudProperties.hpp:14
dai::NodeCRTP
Definition:
Node.hpp:342
dai::node::PointCloud::getProperties
Properties & getProperties()
Definition:
PointCloud.cpp:17
dai::node::PointCloud::outputPointCloud
Output outputPointCloud
Definition:
PointCloud.hpp:53
dai::Properties
Base Properties structure.
Definition:
Properties.hpp:8
dai::Node::setOutputRefs
void setOutputRefs(std::initializer_list< Output * > l)
std
Definition:
Node.hpp:366
dai::node::PointCloud::passthroughDepth
Output passthroughDepth
Definition:
PointCloud.hpp:59
dai::node::PointCloud
PointCloud node. Computes point cloud from depth frames.
Definition:
PointCloud.hpp:19
dai::RawPointCloudConfig
RawPointCloudConfig configuration structure.
Definition:
RawPointCloudConfig.hpp:14
dai::node::PointCloud::inputConfig
Input inputConfig
Definition:
PointCloud.hpp:42
dai
Definition:
CameraExposureOffset.hpp:6
PointCloud.hpp
dai::node::PointCloud::PointCloud
PointCloud(const std::shared_ptr< PipelineImpl > &par, int64_t nodeId)
Definition:
PointCloud.cpp:8
dai::node::PointCloud::rawConfig
std::shared_ptr< RawPointCloudConfig > rawConfig
Definition:
PointCloud.hpp:27
depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19