summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_base/ftnoir_tracker_base.h
blob: 8415e38c8cf350c1b373c910f9477600b782804d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once
#include "ftnoir_tracker_base_global.h"
#include "ftnoir_tracker_types.h"
#include <QFrame>

struct ITracker
{
    virtual ~ITracker() = 0;
    virtual void StartTracker( QFrame* frame ) = 0;
    virtual void GetHeadPoseData(double *data) = 0;
    virtual int preferredHz() { return 200; }
};

inline ITracker::~ITracker() { }

struct ITrackerDialog
{
    virtual ~ITrackerDialog() {}
    virtual void registerTracker(ITracker *tracker) = 0;
	virtual void unRegisterTracker() = 0;
};