Fixed saccade controller. More...
#include <Neuro/SaccadeControllers.H>
Public Member Functions | |
FixedSaccadeController (OptionManager &mgr, const SaccadeBodyPart bodypart) | |
Constructor. | |
virtual | ~FixedSaccadeController () |
Destructor. | |
Protected Member Functions | |
virtual void | doEvolve (SimEventQueue &q) |
evolve one time step | |
virtual void | computeWhenNewPercept (SimEventQueue &q) |
This method is called each time a new percept has arrived. | |
virtual void | computeWhenResetPos (SimEventQueue &q) |
This method is called each time a reset is made. | |
virtual Point2D< int > | computeWhenNewDecision (SaccadeState &sacstate, bool &blinkstate, SimEventQueue &q) |
This method is called each time a new decision is requested. |
Fixed saccade controller.
FixedSaccadeController holds fixation at a fixed point, ignoring its percepts. Useful to render the difference between covert and overt attention evident in the model. Also useful for creating foveated displays with fixed viewpoint. Like with all saccade controllers, the fixation point may externally be changed using resetPos().
Definition at line 117 of file SaccadeControllers.H.
FixedSaccadeController::FixedSaccadeController | ( | OptionManager & | mgr, | |
const SaccadeBodyPart | bodypart | |||
) |
Constructor.
Definition at line 149 of file SaccadeControllers.C.
FixedSaccadeController::~FixedSaccadeController | ( | ) | [virtual] |
Destructor.
Definition at line 156 of file SaccadeControllers.C.
Point2D< int > FixedSaccadeController::computeWhenNewDecision | ( | SaccadeState & | sacstate, | |
bool & | blinkstate, | |||
SimEventQueue & | q | |||
) | [protected, virtual] |
This method is called each time a new decision is requested.
Implements SaccadeController.
Definition at line 177 of file SaccadeControllers.C.
References Point2D< T >::isValid(), SACSTATE_FIX, and SACSTATE_UNK.
void FixedSaccadeController::computeWhenNewPercept | ( | SimEventQueue & | q | ) | [protected, virtual] |
This method is called each time a new percept has arrived.
Implements SaccadeController.
Definition at line 164 of file SaccadeControllers.C.
void FixedSaccadeController::computeWhenResetPos | ( | SimEventQueue & | q | ) | [protected, virtual] |
This method is called each time a reset is made.
Implements SaccadeController.
Definition at line 168 of file SaccadeControllers.C.
References SaccadeController::getPreviousPercept(), and WTAwinner::p.
void FixedSaccadeController::doEvolve | ( | SimEventQueue & | q | ) | [protected, virtual] |
evolve one time step
Implements SaccadeController.
Definition at line 160 of file SaccadeControllers.C.