summaryrefslogtreecommitdiff
path: root/profile.h
diff options
context:
space:
mode:
authorNikita Kostovsky <nikita@kostovsky.me>2025-02-21 07:27:00 +0100
committerNikita Kostovsky <nikita@kostovsky.me>2025-02-21 07:27:00 +0100
commitd12498504c279a0a85bbfb024f7903e34dbe07db (patch)
tree0df9f3f8bf27470ac211a57bb8e44be0aa2f6138 /profile.h
parent27637ab117d8738236f6ab155300ff6e79e4843b (diff)
broken img calc; change dir struct
Diffstat (limited to 'profile.h')
-rw-r--r--profile.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/profile.h b/profile.h
deleted file mode 100644
index 0e2f839..0000000
--- a/profile.h
+++ /dev/null
@@ -1,29 +0,0 @@
-#pragma once
-
-#include <QJsonObject>
-#include <QPointF>
-
-#include "calibration.h"
-#include "pixels.h"
-
-class Profile
-{
-public:
- using PointsMm = std::array<QPointF, img_width>;
-
-public:
- // TODO: make private/protected
- explicit Profile(const Pixels& pixels,
- const CalibrationTablePtr calibrationTableZ,
- const CalibrationTablePtr calibrationTableX);
-
-public:
- const Counters& counters() const;
- const PointsMm& pointsMm() const;
-
- operator const QJsonObject() const;
-
-private:
- Counters m_counters{};
- PointsMm m_pointsMm{QPointF{std::nan(""), std::nan("")}};
-};