mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 23:33:48 +02:00
Tidy eye tracker interface
This commit is contained in:
parent
fefddb631f
commit
b5fbfc645f
1 changed files with 7 additions and 8 deletions
|
@ -29,10 +29,14 @@ class EyeTracker : public QObject, public Dependency {
|
|||
public:
|
||||
~EyeTracker();
|
||||
|
||||
bool isTracking() { return _isEnabled; }
|
||||
bool isSimulating() { return _isSimulating; }
|
||||
void init();
|
||||
void setEnabled(bool enabled, bool simulate);
|
||||
void reset();
|
||||
|
||||
glm::vec3 getLookAtPosition() { return _lookAtPosition; } // From mid eye point in head frame.
|
||||
bool isTracking() const { return _isEnabled; }
|
||||
bool isSimulating() const { return _isSimulating; }
|
||||
|
||||
glm::vec3 getLookAtPosition() const { return _lookAtPosition; } // From mid eye point in head frame.
|
||||
|
||||
#ifdef HAVE_IVIEWHMD
|
||||
void processData(smi_CallbackDataStruct* data);
|
||||
|
@ -40,11 +44,6 @@ public:
|
|||
void calibrate(int points);
|
||||
#endif
|
||||
|
||||
public slots:
|
||||
void init();
|
||||
void setEnabled(bool enabled, bool simulate);
|
||||
void reset();
|
||||
|
||||
private:
|
||||
QString smiReturnValueToString(int value);
|
||||
|
||||
|
|
Loading…
Reference in a new issue