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
ToF.cpp
Go to the documentation of this file.
1
#include "
depthai/pipeline/node/ToF.hpp
"
2
3
namespace
dai
{
4
namespace
node {
5
6
ToF::ToF
(
const
std::shared_ptr<PipelineImpl>& par, int64_t nodeId) :
ToF
(par, nodeId,
std
::make_unique<
ToF
::
Properties
>()) {}
7
ToF::ToF
(
const
std::shared_ptr<PipelineImpl>& par, int64_t nodeId, std::unique_ptr<Properties> props)
8
:
NodeCRTP
<
Node
,
ToF
,
ToFProperties
>(par, nodeId,
std
::move(props)), rawConfig(
std
::make_shared<
RawToFConfig
>()), initialConfig(rawConfig) {
9
setInputRefs
({&
inputConfig
, &
input
});
10
setOutputRefs
({&
depth
, &
amplitude
, &
intensity
, &
phase
});
11
}
12
13
ToF::Properties
&
ToF::getProperties
() {
14
properties
.
initialConfig
= *
rawConfig
;
15
return
properties
;
16
}
17
18
ToF
&
ToF::setNumShaves
(
int
numShaves) {
19
properties
.
numShaves
= numShaves;
20
return
*
this
;
21
}
22
23
ToF
&
ToF::setNumFramesPool
(
int
numFramesPool) {
24
properties
.
numFramesPool
= numFramesPool;
25
return
*
this
;
26
}
27
28
}
// namespace node
29
}
// namespace dai
dai::NodeCRTP< Node, ToF, ToFProperties >::properties
Properties & properties
Underlying properties.
Definition:
Node.hpp:346
dai::node::ToF::intensity
Output intensity
Definition:
ToF.hpp:61
dai::node::ToF::amplitude
Output amplitude
Definition:
ToF.hpp:57
dai::node::ToF::rawConfig
std::shared_ptr< RawToFConfig > rawConfig
Definition:
ToF.hpp:24
dai::Node::setInputRefs
void setInputRefs(std::initializer_list< Input * > l)
dai::Node
Abstract Node.
Definition:
Node.hpp:29
dai::node::ToF::setNumShaves
ToF & setNumShaves(int numShaves)
Definition:
ToF.cpp:18
dai::node::ToF::ToF
ToF(const std::shared_ptr< PipelineImpl > &par, int64_t nodeId)
Definition:
ToF.cpp:6
dai::NodeCRTP
Definition:
Node.hpp:342
dai::node::ToF::setNumFramesPool
ToF & setNumFramesPool(int numFramesPool)
Definition:
ToF.cpp:23
dai::RawToFConfig
RawToFConfig configuration structure.
Definition:
RawToFConfig.hpp:14
ToF.hpp
dai::node::ToF::getProperties
Properties & getProperties()
Definition:
ToF.cpp:13
dai::ToFProperties
Definition:
ToFProperties.hpp:11
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::ToFProperties::initialConfig
RawToFConfig initialConfig
Definition:
ToFProperties.hpp:15
dai::node::ToF::phase
Output phase
Definition:
ToF.hpp:65
dai::node::ToF::input
Input input
Definition:
ToF.hpp:48
dai::node::ToF::depth
Output depth
Definition:
ToF.hpp:53
dai::ToFProperties::numShaves
std::int32_t numShaves
Definition:
ToFProperties.hpp:25
dai
Definition:
CameraExposureOffset.hpp:6
dai::ToFProperties::numFramesPool
int numFramesPool
Definition:
ToFProperties.hpp:20
dai::node::ToF::inputConfig
Input inputConfig
Definition:
ToF.hpp:42
dai::node::ToF
ToF node.
Definition:
ToF.hpp:16
depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19