Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

psycho-obfba2.C File Reference


Detailed Description

Psychophysics display

Definition in file psycho-obfba2.C.

#include "Component/ModelManager.H"
#include "Image/CutPaste.H"
#include "Image/DrawOps.H"
#include "Image/FilterOps.H"
#include "Image/Image.H"
#include "Image/Kernels.H"
#include "Psycho/PsychoDisplay.H"
#include "GUI/GUIOpts.H"
#include "Psycho/Staircase.H"
#include "Raster/Raster.H"
#include "Util/MathFunctions.H"
#include "Util/Timer.H"
#include <deque>
#include <fstream>

Include dependency graph for psycho-obfba2.C:

Go to the source code of this file.

Classes

struct  PsychoTask
 A summary struct to handle task settings. More...

Defines

#define GABORSD   15.0F
#define GABORPER   15.0F
#define NFSETUP   12*60
#define NFINIT   36
#define NFSTIM   37
#define NFIPI   15
#define NFISI   55
#define NTRIAL   12

Enumerations

enum  TaskType { None = 0, Orientation = 1, Drift = 2, Blank = 3 }
 Types of tasks. More...

Functions

void parseTaskDefinition (const std::string &arg, PsychoTask &p, const std::string name)
 Parse task definitions given at command line.
int main (const int argc, char **argv)
 Psychophysics display.

Variables

const bool blocking = false
 Set this to true if you want to block until responses are given.
bool shadow = true
 Set this to true if you want to add drop shadows.


Enumeration Type Documentation

enum TaskType
 

Types of tasks.

Definition at line 91 of file psycho-obfba2.C.


Function Documentation

int main const int  argc,
char **  argv
 

Psychophysics display.

Definition at line 166 of file psycho-obfba2.C.

References PsychoTask::ampl, base, blocking, border, c, Image< T >::clear(), drawCross(), PsychoTask::drift, GABORPER, GABORSD, Timer::get(), Image< T >::getDims(), Image< T >::getHeight(), Timer::getReset(), Image< T >::getWidth(), h, i, Point2D< T >::i, inplacePaste(), Point2D< T >::j, LFATAL, LINFO, mask, MC_RECURSE, aux::msg(), MYLOGVERB, NFINIT, NFIPI, NFISI, NFSETUP, NFSTIM, NO_INIT, NTRIAL, OPT_SDLdisplayDims, OPT_SDLdisplayRefreshUsec, p, parseTaskDefinition(), randomDouble(), randomUpToIncluding(), Raster::ReadRGB(), REPORT_CURRENT_EXCEPTION, Timer::reset(), nub::soft_ref< T >::reset(), s, PsychoTask::s, PsychoTask::theta, tim, PsychoTask::tt, and w.

void parseTaskDefinition const std::string arg,
PsychoTask p,
const std::string  name
 

Parse task definitions given at command line.

Definition at line 103 of file psycho-obfba2.C.

References PsychoTask::ampl, PsychoTask::drift, LFATAL, PsychoTask::s, PsychoTask::theta, and PsychoTask::tt.

Referenced by main().


Variable Documentation

const bool blocking = false
 

Set this to true if you want to block until responses are given.

Definition at line 85 of file psycho-obfba2.C.

Referenced by KeyBoard::getKey(), KeyBoard::KeyBoard(), and main().

bool shadow = true
 

Set this to true if you want to add drop shadows.

Definition at line 88 of file psycho-obfba2.C.


Generated on Sun Nov 22 13:43:25 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4