summaryrefslogtreecommitdiff
path: root/src/opticaldesign.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/opticaldesign.cpp')
-rw-r--r--src/opticaldesign.cpp14
1 files changed, 14 insertions, 0 deletions
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 <QSize>
+
+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();
+}