SimulationViewerEyeSim Class Reference

Simulate an eye-tracker recording. More...

#include <Neuro/SimulationViewerEyeSim.H>

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

List of all members.

Public Member Functions

Constructors and destructors

 SimulationViewerEyeSim (OptionManager &mgr, const std::string &descrName="EyeSim Simulation Viewer", const std::string &tagName="SimulationViewerEyeSim")
 Constructor. See ModelComponent.H.
virtual ~SimulationViewerEyeSim ()
 Destructor.

Protected Member Functions

virtual void onSimEventWTAwinner (SimEventQueue &q, rutz::shared_ptr< SimEventWTAwinner > &e)
 Overload of callback defined in SimulationViewerStd.
virtual void start1 ()
 Get started.
virtual void stop1 ()
 get stopped

Protected Attributes

OModelParam< std::stringitsEyeFname
 Name of a calibrated eye movement file.
OModelParam< SimTimeitsEyePeriod
 Period at which eye movement samples should be read in.
OModelParam< int > itsEyeTrash
 Number of initial eye movement samples before stimulus starts.

Detailed Description

Simulate an eye-tracker recording.

This simulation viewer has for main purpose to output a text file that is in the same format as what we would get from a human eye tracker device (.eye file). Thus it allows us to generate and save eye movement scanpaths that come from the model but are in the same format as human recordings. In turn, these scanpaths can then be compared to actual human scanpaths. SimulationViewerEyeSim derived from SimulationViewerStd and hence inherits all its behavior, simply adding provision for generating and saving the .eye scanpath files.

Definition at line 55 of file SimulationViewerEyeSim.H.


Constructor & Destructor Documentation

SimulationViewerEyeSim::SimulationViewerEyeSim ( OptionManager mgr,
const std::string descrName = "EyeSim Simulation Viewer",
const std::string tagName = "SimulationViewerEyeSim" 
)

Constructor. See ModelComponent.H.

Definition at line 50 of file SimulationViewerEyeSim.C.

SimulationViewerEyeSim::~SimulationViewerEyeSim (  )  [virtual]

Destructor.

Definition at line 61 of file SimulationViewerEyeSim.C.


Member Function Documentation

void SimulationViewerEyeSim::onSimEventWTAwinner ( SimEventQueue q,
rutz::shared_ptr< SimEventWTAwinner > &  e 
) [protected, virtual]

Overload of callback defined in SimulationViewerStd.

Definition at line 102 of file SimulationViewerEyeSim.C.

References eye(), and Point2D< T >::i.

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

Get started.

Reimplemented from SimModule.

Definition at line 65 of file SimulationViewerEyeSim.C.

References OModelParam< T >::getVal(), itsEyeFname, and itsEyeTrash.

void SimulationViewerEyeSim::stop1 (  )  [protected, virtual]

get stopped

Reimplemented from ModelComponent.

Definition at line 83 of file SimulationViewerEyeSim.C.

References Point2D< T >::i, and Point2D< T >::isValid().


Member Data Documentation

Name of a calibrated eye movement file.

Definition at line 77 of file SimulationViewerEyeSim.H.

Referenced by start1().

Period at which eye movement samples should be read in.

Definition at line 80 of file SimulationViewerEyeSim.H.

Number of initial eye movement samples before stimulus starts.

Definition at line 83 of file SimulationViewerEyeSim.H.

Referenced by start1().


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