Size2f.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 // std
4 #include <cstdint>
5 
7 
8 namespace dai {
9 
15 struct Size2f {
16  Size2f() = default;
17  Size2f(float width, float height) : width(width), height(height) {}
18  float width = 0, height = 0;
19 };
20 
21 DEPTHAI_SERIALIZE_EXT(Size2f, width, height);
22 
23 } // namespace dai
dai::Size2f::height
float height
Definition: Size2f.hpp:18
dai::Size2f::Size2f
Size2f(float width, float height)
Definition: Size2f.hpp:17
dai::DEPTHAI_SERIALIZE_EXT
DEPTHAI_SERIALIZE_EXT(CameraSensorConfig, width, height, minFps, maxFps, fov, type)
dai::Size2f::width
float width
Definition: Size2f.hpp:18
dai::Size2f::Size2f
Size2f()=default
dai::Size2f
Definition: Size2f.hpp:15
Serialization.hpp
dai
Definition: CameraExposureOffset.hpp:6


depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19