Skip to content
Snippets Groups Projects
Commit 4bc0cdee authored by calrama's avatar calrama
Browse files

Update the tracking interface somewhat.

parent d3cf128a
No related branches found
No related tags found
No related merge requests found
Pipeline #62071 passed
Pipeline: utility

#62074

    #pragma once
    #include "QObject"
    #include <QObject>
    #include <QVector>
    #include <QMap>
    #include "Interfaces/IController/IController.h"
    #include "Interfaces/IModel/IModelDataExporter.h"
    ......@@ -18,7 +20,7 @@ public:
    {
    }
    virtual void createPlugin() = 0;
    virtual void init() = 0;
    /**
    * Hook for the tracker options to add to the GUI
    ......@@ -45,13 +47,14 @@ private:
    virtual void connectInterfaces();
    Q_SIGNALS:
    void emitCvMat(cv::Mat mat, QString name);
    void trackingImageNamesChanged(QVector<QString> imageNames);
    void trackingImagesChanged(QMap<QString, cv::Mat> images);
    /**
    * Will be sent when tracking is doen to multiple components of the core
    * app An example is the visualisation which is then updated
    */
    void emitTrackingDone(uint framenumber);
    void emitChangeDisplayImage(QString str);
    void emitCorePermission(std::pair<ENUMS::COREPERMISSIONS, bool>);
    public Q_SLOTS:
    ......@@ -62,10 +65,6 @@ public Q_SLOTS:
    * tracking arena boundary
    */
    virtual void receiveAreaDescriptor(IModelAreaDescriptor* areaDescr);
    // private Q_SLOTS:
    // virtual void receiveCvMatFromController(cv::Mat mat,
    // QString name) = 0;
    };
    #define IBioTrackerPlugin_iid "de.fu-berlin.mi.biorobotics.IBioTrackerPlugin"
    ......
    ......@@ -13,5 +13,4 @@ public:
    signals:
    void emitTrackingDone();
    void emitChangeDisplayImage(QString str);
    };
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment