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
include
depthai
pipeline
node
Cast.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
depthai/pipeline/Node.hpp
>
4
5
// shared
6
#include <
depthai-shared/properties/CastProperties.hpp
>
7
8
namespace
dai
{
9
namespace
node {
10
14
class
Cast
:
public
NodeCRTP
<Node, Cast, CastProperties> {
15
public
:
16
constexpr
static
const
char
*
NAME
=
"Cast"
;
17
18
Cast
(
const
std::shared_ptr<PipelineImpl>& par, int64_t nodeId);
19
Cast
(
const
std::shared_ptr<PipelineImpl>& par, int64_t nodeId, std::unique_ptr<Properties> props);
20
24
Input
input
{*
this
,
"input"
, Input::Type::SReceiver,
false
, 4,
true
, {{
DatatypeEnum::ImgFrame
,
false
}, {
DatatypeEnum::NNData
,
false
}}};
25
29
Output
output
{*
this
,
"output"
, Output::Type::MSender, {{
DatatypeEnum::ImgFrame
,
false
}}};
30
34
Output
passthroughInput
{*
this
,
"passthroughInput"
, Output::Type::MSender, {{
DatatypeEnum::ImgFrame
,
false
}, {
DatatypeEnum::NNData
,
false
}}};
35
40
Cast
&
setNumFramesPool
(
int
numFramesPool);
41
46
Cast
&
setOutputFrameType
(
dai::RawImgFrame::Type
outputType);
47
52
Cast
&
setScale
(
float
scale);
53
58
Cast
&
setOffset
(
float
offset);
59
};
60
61
}
// namespace node
62
}
// namespace dai
dai::node::Cast::setOutputFrameType
Cast & setOutputFrameType(dai::RawImgFrame::Type outputType)
Definition:
Cast.cpp:18
dai::node::Cast
Cast node.
Definition:
Cast.hpp:14
dai::RawImgFrame::Type
Type
Definition:
RawImgFrame.hpp:13
dai::node::Cast::output
Output output
Definition:
Cast.hpp:29
dai::node::Cast::NAME
constexpr static const char * NAME
Definition:
Cast.hpp:16
dai::node::Cast::input
Input input
Definition:
Cast.hpp:24
dai::node::Cast::setScale
Cast & setScale(float scale)
Definition:
Cast.cpp:23
dai::Node::Output
Definition:
Node.hpp:67
dai::NodeCRTP
Definition:
Node.hpp:342
CastProperties.hpp
dai::node::Cast::Cast
Cast(const std::shared_ptr< PipelineImpl > &par, int64_t nodeId)
Definition:
Cast.cpp:6
dai::node::Cast::setNumFramesPool
Cast & setNumFramesPool(int numFramesPool)
Definition:
Cast.cpp:13
dai::DatatypeEnum::NNData
@ NNData
dai::DatatypeEnum::ImgFrame
@ ImgFrame
dai::node::Cast::setOffset
Cast & setOffset(float offset)
Definition:
Cast.cpp:28
dai
Definition:
CameraExposureOffset.hpp:6
Node.hpp
dai::node::Cast::passthroughInput
Output passthroughInput
Definition:
Cast.hpp:34
depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:18