From fd3e1c11ef14b55751110954b84a181e5b884ee3 Mon Sep 17 00:00:00 2001 From: Max Breitenfeldt <git@mxbr.me> Date: Fri, 18 Jun 2021 11:31:17 +0200 Subject: [PATCH] Remove IPose Interface The interface is never exported and thous superfluous. --- Src/Model/TrackedComponents/pose/FishPose.h | 3 +-- Src/Model/TrackedComponents/pose/IPose.h | 29 --------------------- 2 files changed, 1 insertion(+), 31 deletions(-) delete mode 100644 Src/Model/TrackedComponents/pose/IPose.h diff --git a/Src/Model/TrackedComponents/pose/FishPose.h b/Src/Model/TrackedComponents/pose/FishPose.h index b556be7..30c5690 100644 --- a/Src/Model/TrackedComponents/pose/FishPose.h +++ b/Src/Model/TrackedComponents/pose/FishPose.h @@ -1,10 +1,9 @@ #pragma once -#include "IPose.h" #include <time.h> #include <opencv2/opencv.hpp> -class FishPose : public IPose +class FishPose { public: /** diff --git a/Src/Model/TrackedComponents/pose/IPose.h b/Src/Model/TrackedComponents/pose/IPose.h deleted file mode 100644 index 1d315ab..0000000 --- a/Src/Model/TrackedComponents/pose/IPose.h +++ /dev/null @@ -1,29 +0,0 @@ -#pragma once - -#include <opencv2/opencv.hpp> - -class IPose -{ -public: - virtual ~IPose() {} - - /** - * Gets the fish position as centimeter metric. - */ - virtual cv::Point2f position_cm() const = 0; - - /** - * Gets the fish position as pixel metric. - */ - virtual cv::Point position_px() const = 0; - - /** - * Gets the fish orientation in degree. - */ - virtual float orientation_deg() const = 0; - - /** - * Gets the fish orientation in radian. - */ - virtual float orientation_rad() const = 0; -}; -- GitLab