shared
depthai-shared
include
depthai-shared
common
RotatedRect.hpp
Go to the documentation of this file.
1
#pragma once
2
3
// std
4
#include <cstdint>
5
6
// shared
7
#include "
depthai-shared/common/Point2f.hpp
"
8
#include "
depthai-shared/common/Size2f.hpp
"
9
#include "
depthai-shared/utility/Serialization.hpp
"
10
11
namespace
dai
{
12
14
struct
RotatedRect
{
15
Point2f
center
;
16
Size2f
size
;
18
float
angle
= 0.f;
19
};
20
21
DEPTHAI_SERIALIZE_EXT
(
RotatedRect
, center,
size
, angle);
22
23
}
// namespace dai
dai::RotatedRect
RotatedRect structure.
Definition:
RotatedRect.hpp:14
dai::DEPTHAI_SERIALIZE_EXT
DEPTHAI_SERIALIZE_EXT(CameraSensorConfig, width, height, minFps, maxFps, fov, type)
dai::RotatedRect::angle
float angle
degrees, increasing clockwise
Definition:
RotatedRect.hpp:18
dai::Point2f
Definition:
Point2f.hpp:16
DAI_SPAN_NAMESPACE_NAME::detail::size
constexpr auto size(const C &c) -> decltype(c.size())
Definition:
span.hpp:167
dai::Size2f
Definition:
Size2f.hpp:15
Serialization.hpp
Size2f.hpp
dai::RotatedRect::size
Size2f size
Definition:
RotatedRect.hpp:16
Point2f.hpp
dai::RotatedRect::center
Point2f center
Definition:
RotatedRect.hpp:15
dai
Definition:
CameraExposureOffset.hpp:6
depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19