Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
TobiiStream(String socket)
a Constructor, usually called at the beginning of execution so
it starts listening for the Tobii gaze data stream.
|
Modifier and Type | Method and Description |
---|---|
boolean |
gazePresent()
Returns true if the eye-tracker is capturing
the user's gaze
|
float |
getGazeX()
Returns the user's gaze position (X)
|
float |
getGazeY()
Returns the user's gaze position (Y)
|
float |
getHeadPositionX()
Returns the user's head position (X)
|
float |
getHeadPositionY()
Returns the user's head position (Y)
|
float |
getHeadPositionZ()
Returns the user's head position (Z)
|
float |
getHeadRotationX()
Returns the user's head rotation (X)
|
float |
getHeadRotationY()
Returns the user's head rotation (Y)
|
float |
getHeadRotationZ()
Returns the user's head rotation (Z)
|
float |
getLeftEyeNormX()
Returns the user's left eye position (normalized X)
|
float |
getLeftEyeNormY()
Returns the user's left eye position (normalized Y)
|
float |
getLeftEyeNormZ()
Returns the user's left eye position (normalized Z)
|
float |
getLeftEyeX()
Returns the user's left eye position.
|
float |
getLeftEyeY()
Returns the user's left eye position.
|
float |
getLeftEyeZ()
Returns the user's left eye position.
|
float |
getRightEyeNormX()
Returns the user's right eye position (normalized X)
|
float |
getRightEyeNormY()
Returns the user's right eye position (normalized Y)
|
float |
getRightEyeNormZ()
Returns the user's right eye position (normalized Z)
|
float |
getRightEyeX()
Returns the user's right eye position.
|
float |
getRightEyeY()
Returns the user's right eye position.
|
float |
getRightEyeZ()
Returns the user's right eye position.
|
double |
getTimestamp()
Returns the timestamp for the latest event
|
boolean |
leftEyePresent()
Returns true if the eye-tracker is capturing
the user's left eye
|
boolean |
rightEyePresent()
Returns true if the eye-tracker is capturing
the user's right eye
|
void |
run()
Thread that listens for gaze data from the TobiiStream.exe
|
void |
start()
Starts the thread that listens for gaze data streams
|
void |
terminate()
Ends the thread that listens for GazeDataStreams.
|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, stop, suspend, toString, yield
public TobiiStream(String socket)
socket
- public float getGazeX()
public float getGazeY()
public double getTimestamp()
public boolean gazePresent()
public boolean leftEyePresent()
public float getLeftEyeX()
public float getLeftEyeY()
public float getLeftEyeZ()
public float getLeftEyeNormX()
public float getLeftEyeNormY()
public float getLeftEyeNormZ()
public boolean rightEyePresent()
public float getRightEyeX()
public float getRightEyeY()
public float getRightEyeZ()
public float getRightEyeNormX()
public float getRightEyeNormY()
public float getRightEyeNormZ()
public float getHeadPositionX()
public float getHeadPositionY()
public float getHeadPositionZ()
public float getHeadRotationX()
public float getHeadRotationY()
public float getHeadRotationZ()
public void start()
public void run()
public void terminate()
Processing Library GazeTrack by Augusto Esteves. (c) Augusto Esteves