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
datatype
AprilTagConfig.cpp
Go to the documentation of this file.
1
#include "
depthai/pipeline/datatype/AprilTagConfig.hpp
"
2
3
namespace
dai
{
4
5
std::shared_ptr<RawBuffer>
AprilTagConfig::serialize
()
const
{
6
return
raw
;
7
}
8
9
AprilTagConfig::AprilTagConfig
() :
Buffer
(
std
::make_shared<
RawAprilTagConfig
>()), cfg(*dynamic_cast<
RawAprilTagConfig
*>(raw.
get
())) {}
10
AprilTagConfig::AprilTagConfig
(std::shared_ptr<RawAprilTagConfig> ptr) :
Buffer
(
std
::move(ptr)), cfg(*dynamic_cast<
RawAprilTagConfig
*>(raw.
get
())) {}
11
12
AprilTagConfig
&
AprilTagConfig::setFamily
(
Family
family) {
13
cfg
.
family
= family;
14
return
*
this
;
15
}
16
17
dai::RawAprilTagConfig
AprilTagConfig::get
()
const
{
18
return
cfg
;
19
}
20
21
AprilTagConfig
&
AprilTagConfig::set
(
dai::RawAprilTagConfig
config) {
22
cfg
= config;
23
return
*
this
;
24
}
25
26
}
// namespace dai
DAI_SPAN_NAMESPACE_NAME::get
constexpr auto get(span< E, S > s) -> decltype(s[N])
Definition:
span.hpp:491
AprilTagConfig.hpp
dai::AprilTagConfig::AprilTagConfig
AprilTagConfig()
Definition:
AprilTagConfig.cpp:9
dai::RawAprilTagConfig::Family
Family
Definition:
RawAprilTagConfig.hpp:17
dai::RawAprilTagConfig
RawAprilTags configuration structure.
Definition:
RawAprilTagConfig.hpp:13
dai::AprilTagConfig
Definition:
AprilTagConfig.hpp:14
dai::AprilTagConfig::set
AprilTagConfig & set(dai::RawAprilTagConfig config)
Definition:
AprilTagConfig.cpp:21
dai::Buffer
Base message - buffer of binary data.
Definition:
Buffer.hpp:13
std
Definition:
Node.hpp:366
dai::AprilTagConfig::setFamily
AprilTagConfig & setFamily(Family family)
Definition:
AprilTagConfig.cpp:12
dai::AprilTagConfig::cfg
RawAprilTagConfig & cfg
Definition:
AprilTagConfig.hpp:16
dai::ADatatype::raw
std::shared_ptr< RawBuffer > raw
Definition:
ADatatype.hpp:15
dai::AprilTagConfig::serialize
std::shared_ptr< RawBuffer > serialize() const override
Definition:
AprilTagConfig.cpp:5
dai::AprilTagConfig::get
dai::RawAprilTagConfig get() const
Definition:
AprilTagConfig.cpp:17
dai::RawAprilTagConfig::family
Family family
Definition:
RawAprilTagConfig.hpp:22
dai
Definition:
CameraExposureOffset.hpp:6
depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:18