EyeTrackerDML Class Reference

Interface to eye-tracker used in Doug Munoz' lab. More...

#include <Psycho/EyeTrackerDML.H>

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

List of all members.

Public Member Functions

 EyeTrackerDML (OptionManager &mgr, const std::string &descrName="Eye Tracker DML", const std::string &tagName="EyeTrackerDML")
 Constructor.
virtual ~EyeTrackerDML ()
 Destructor.
virtual void startTracking ()
 Start the tracker.
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 stopTracking ()
 Stop the tracker.
virtual bool isFixating ()
 Is the subject fixating?
virtual bool isSaccade ()
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 Doug Munoz' lab.

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

Definition at line 48 of file EyeTrackerDML.H.


Constructor & Destructor Documentation

EyeTrackerDML::EyeTrackerDML ( OptionManager mgr,
const std::string descrName = "Eye Tracker DML",
const std::string tagName = "EyeTrackerDML" 
)

Constructor.

Definition at line 48 of file EyeTrackerDML.C.

References ModelComponent::addSubComponent().

EyeTrackerDML::~EyeTrackerDML (  )  [virtual]

Destructor.

Definition at line 59 of file EyeTrackerDML.C.


Member Function Documentation

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

Get the calibration set.

Not implemented here

Implements EyeTracker.

Definition at line 123 of file EyeTrackerDML.C.

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

Get current eye position.

Not supported by this tracker.

Implements EyeTracker.

Definition at line 108 of file EyeTrackerDML.C.

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

Get current fixation position.

Not supported by this tracker.

Implements EyeTracker.

Definition at line 115 of file EyeTrackerDML.C.

bool EyeTrackerDML::isFixating (  )  [protected, virtual]

Is the subject fixating?

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

Implements EyeTracker.

Definition at line 94 of file EyeTrackerDML.C.

bool EyeTrackerDML::isSaccade (  )  [protected, virtual]

are we in a Saccade? Aloways returns false for this implementation

Implements EyeTracker.

Definition at line 101 of file EyeTrackerDML.C.

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

device filename for parallel port

get started

Reimplemented from EyeTracker.

Definition at line 63 of file EyeTrackerDML.C.

References OModelParam< T >::getVal().

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

get started

Reimplemented from ModelComponent.

Definition at line 72 of file EyeTrackerDML.C.

void EyeTrackerDML::startTracking (  )  [virtual]

Start the tracker.

Tracking is started by setting the session number on bits D0-D6 of the parallel port then emitting a brief pulse on D7.

Implements EyeTracker.

Definition at line 79 of file EyeTrackerDML.C.

References EyeTracker::getSession().

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

Stop the tracker.

Tracking is stopped by emitting a brief pulse on D7 of the parallel port.

Implements EyeTracker.

Definition at line 87 of file EyeTrackerDML.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