EyeTrackerTIL Class Reference

Interface to eye-tracker used in Tadashi Isa's lab. More...

#include <Psycho/EyeTrackerTIL.H>

Inheritance diagram for EyeTrackerTIL:
Inheritance graph
[legend]
Collaboration diagram for EyeTrackerTIL:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 EyeTrackerTIL (OptionManager &mgr, const std::string &descrName="Eye Tracker TIL", const std::string &tagName="EyeTrackerTIL")
 Constructor.
virtual ~EyeTrackerTIL ()
 Destructor.
virtual bool isFixating ()
 Is the subject fixating?
virtual bool isSaccade ()
 Is the subject in a saccde?
virtual Point2D< int > getEyePos () const
 Get current eye position.
virtual Point2D< int > getFixationPos () const
 Get current fixation position.
virtual CalibrationTransform::Data getCalibrationSet (nub::soft_ref< PsychoDisplay > d) const
 Get the calibration set.

Protected Member Functions

virtual void startTracking ()
 Start the tracker.
virtual void stopTracking ()
 Stop the tracker.
virtual void start1 ()
 device filename for parallel port
virtual void start2 ()
 get started

Protected Attributes

OModelParam< std::stringitsParDev

Detailed Description

Interface to eye-tracker used in Tadashi Isa's lab.

This is a monkey scleral search coil type, with trigger and fixation detection over the parallel port.

Definition at line 48 of file EyeTrackerTIL.H.


Constructor & Destructor Documentation

EyeTrackerTIL::EyeTrackerTIL ( OptionManager mgr,
const std::string descrName = "Eye Tracker TIL",
const std::string tagName = "EyeTrackerTIL" 
)

Constructor.

Definition at line 48 of file EyeTrackerTIL.C.

References ModelComponent::addSubComponent().

EyeTrackerTIL::~EyeTrackerTIL (  )  [virtual]

Destructor.

Definition at line 59 of file EyeTrackerTIL.C.


Member Function Documentation

CalibrationTransform::Data EyeTrackerTIL::getCalibrationSet ( nub::soft_ref< PsychoDisplay d  )  const [virtual]

Get the calibration set.

Implements EyeTracker.

Definition at line 120 of file EyeTrackerTIL.C.

Point2D< int > EyeTrackerTIL::getEyePos (  )  const [virtual]

Get current eye position.

Not supported by this tracker.

Implements EyeTracker.

Definition at line 106 of file EyeTrackerTIL.C.

Point2D< int > EyeTrackerTIL::getFixationPos (  )  const [virtual]

Get current fixation position.

Not supported by this tracker.

Implements EyeTracker.

Definition at line 113 of file EyeTrackerTIL.C.

bool EyeTrackerTIL::isFixating (  )  [virtual]

Is the subject fixating?

When fixation is achieved PAPEROUT goes to 1 on the parallel port.

Implements EyeTracker.

Definition at line 92 of file EyeTrackerTIL.C.

bool EyeTrackerTIL::isSaccade (  )  [virtual]

Is the subject in a saccde?

Not availible for TIL eye tracker

Implements EyeTracker.

Definition at line 99 of file EyeTrackerTIL.C.

void EyeTrackerTIL::start1 (  )  [protected, virtual]

device filename for parallel port

get started

Reimplemented from EyeTracker.

Definition at line 63 of file EyeTrackerTIL.C.

References OModelParam< T >::getVal().

void EyeTrackerTIL::start2 (  )  [protected, virtual]

get started

Reimplemented from ModelComponent.

Definition at line 72 of file EyeTrackerTIL.C.

void EyeTrackerTIL::startTracking (  )  [protected, virtual]

Start the tracker.

Tracking is started by setting the session number on bits D0-D6 of the parallel port then asserting D7 until stopped.

Implements EyeTracker.

Definition at line 79 of file EyeTrackerTIL.C.

References EyeTracker::getSession().

void EyeTrackerTIL::stopTracking (  )  [protected, virtual]

Stop the tracker.

Tracking is stopped by resetting D7 on the parallel port.

Implements EyeTracker.

Definition at line 86 of file EyeTrackerTIL.C.


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:43:20 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3