From ad001563fda4a9061909bd09dcf51238138014d6 Mon Sep 17 00:00:00 2001 From: Nikita Kostovsky Date: Fri, 19 Sep 2025 14:28:21 +0200 Subject: initial commit --- src/opticaldesign.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/opticaldesign.cpp (limited to 'src/opticaldesign.cpp') diff --git a/src/opticaldesign.cpp b/src/opticaldesign.cpp new file mode 100644 index 0000000..01f6050 --- /dev/null +++ b/src/opticaldesign.cpp @@ -0,0 +1,14 @@ +#include "opticaldesign.h" + +// qt +#include + +void OpticalDesign::calculate() const +{ + const auto F = get_focalDistanceMm(); + const auto w = get_sensorPixelsWidth(); + const auto h = get_sensorPixelsHeight(); + const auto wMm = get_sensorWidthMm(); + const auto hMm = get_sensorHeightMm(); + const auto oAngle = get_opticalAxisAngleDegrees(); +} -- cgit v1.2.3-70-g09d2