mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 17:10:45 +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:
|
public:
|
||||||
~EyeTracker();
|
~EyeTracker();
|
||||||
|
|
||||||
bool isTracking() { return _isEnabled; }
|
void init();
|
||||||
bool isSimulating() { return _isSimulating; }
|
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
|
#ifdef HAVE_IVIEWHMD
|
||||||
void processData(smi_CallbackDataStruct* data);
|
void processData(smi_CallbackDataStruct* data);
|
||||||
|
@ -40,11 +44,6 @@ public:
|
||||||
void calibrate(int points);
|
void calibrate(int points);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
public slots:
|
|
||||||
void init();
|
|
||||||
void setEnabled(bool enabled, bool simulate);
|
|
||||||
void reset();
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QString smiReturnValueToString(int value);
|
QString smiReturnValueToString(int value);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue