ch.unizh.ini.friend.stimulus
Class SpotStimulus
java.lang.Object
ch.unizh.ini.friend.stimulus.AbstractStimulus
ch.unizh.ini.friend.stimulus.ConcreteStimulus
ch.unizh.ini.friend.stimulus.SpotStimulus
- All Implemented Interfaces:
- Updateable, Stimulus, Cloneable
public class SpotStimulus
- extends ConcreteStimulus
A stimulus consisting of a single bar.
- Since:
- $Revision: 1.2 $
- Author:
- tobi
Field Summary |
static float |
DIAMETER
default diameter of bar: 1.0f |
static int |
NSIDES
number of side of the polygon making up the stimulus: 6 |
Constructor Summary |
SpotStimulus()
Creates a new instance of BarStimulus with default size. |
SpotStimulus(float diameter)
Creates a new instance of SpotStimulus with the given diameter. |
Methods inherited from class ch.unizh.ini.friend.stimulus.AbstractStimulus |
addShape, brightenBackground, brightenForeground, clearShapes, compute, darkenBackground, darkenForeground, expand, fatten, flipContrast, getBackgroundExcitationDensity, getForegroundExcitationDensity, getShapes, getTransformedShapes, getTransforms, isVisible, lengthen, removeShape, rotate, rotateCCW, rotateCW, setBackgroundExcitationDensity, setForegroundExcitationDensity, setShapes, setTransforms, setVisible, shorten, shrink, thin, toString |
DIAMETER
public static final float DIAMETER
- default diameter of bar: 1.0f
- See Also:
- Constant Field Values
NSIDES
public static final int NSIDES
- number of side of the polygon making up the stimulus: 6
- See Also:
- Constant Field Values
SpotStimulus
public SpotStimulus()
- Creates a new instance of BarStimulus with default size.
SpotStimulus
public SpotStimulus(float diameter)
- Creates a new instance of
SpotStimulus
with the given diameter.
- Parameters:
diameter
- diameter of spot in screen coordinate units- See Also:
TangentScreen.SCREEN_DIMENSION