diff options
Diffstat (limited to 'profile.h')
| -rw-r--r-- | profile.h | 29 |
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("")}}; -}; |
