Vizard 7 » Reference » Input Devices » Other devices » Arrington Research Eye Tracker
7.6

Arrington Research Eye Tracker

This plug-in provides support for the Arrington Research ViewPoint EyeTracker software.

Note: This plug-in is not supported on 64-bit versions of Vizard

Initialization

The Arrington plug-in is implemented as a Vizard extension. In order to use the plug-in you must first run the ViewPoint software. The plug-in communicates with the ViewPoint software through the VPX_InterApp.dll file that is located in your ViewPoint application directory. In order for the plug-in to find this file, the ViewPoint application directory must be located on the system path or the Vizard script must be placed within the ViewPoint application directory.

 

The Arrington extension object has the following methods/constants:

Method

Description

<arrington>.addEyeTracker( eye = <arrington>.EYE_A )

Returns an eye tracker object that contains the gaze position of the specified eye from the Arrington ViewPoint application. See below for available eye flags.

<arrington>.commandEyeTracker(command)

Send a command string to the ViewPoint application. See the documentation for the ViewPoint SDK for available commands.

<arrington>.EYE_A

<arrington>.EYE_B

Flags representing the different eyes that are available through the ViewPoint application.

<arrington>.SMOOTHED

<arrington>.RAW

Flags that can be passed to the getPosition() method of the eye tracker objects. Specifies whether to return the smoothed or raw gaze point. The default flags is SMOOTHED.

The Arrington eye tracker objects are standard extension sensors, which provide the gaze position through the position data. The gaze position is normalized from 0-1, relative to the lower left corner of the screen.

Example

The following example shows how to connect to an Arrington eye tracker and print the smoothed and raw gaze position.

#Create arrington extension
arrington = viz.add('arrington.dle')

#Connect to eye tracker
tracker = arrington.addEyeTracker()

#Print smoothed gaze position (default)
print(tracker.getPosition())

#Print raw gaze position
print(tracker.getPosition(arrington.RAW))