| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
ClassWithParameters --+
|
Core.Stimulus --+
|
LuminanceGratingCommon --+
|
SinGrating3D
Sine wave grating stimulus texture mapped onto quad in 3D
This is a general-purpose, realtime sine-wave luminace grating
generator. This 3D version doesn't support an orientation
parameter. This could be implemented, but for now should be done
by orienting the quad in 3D.
Parameters
==========
bit_depth -- precision with which grating is calculated and sent to OpenGL (UnsignedInteger)
Inherited from LuminanceGratingCommon
Default: 8
color1 -- (AnyOf(Sequence3 of Real or Sequence4 of Real))
Default: (1.0, 1.0, 1.0)
color2 -- optional color with which to perform interpolation with color1 in RGB space (AnyOf(Sequence3 of Real or Sequence4 of Real))
Default: (determined at runtime)
contrast -- (Real)
Default: 1.0
depth -- (Real)
Default: (determined at runtime)
depth_test -- perform depth test? (Boolean)
Default: True
ignore_time -- (Boolean)
Default: False
lowerleft -- vertex position (units: eye coordinates) (AnyOf(Sequence3 of Real or Sequence4 of Real))
Default: (0.0, 0.0, -1.0)
lowerright -- vertex position (units: eye coordinates) (AnyOf(Sequence3 of Real or Sequence4 of Real))
Default: (1.0, 0.0, -1.0)
mask -- optional masking function (Instance of <class 'VisionEgg.Textures.Mask2D'>)
Default: (determined at runtime)
max_alpha -- (Real)
Default: 1.0
num_samples -- (UnsignedInteger)
Default: 512
on -- draw stimulus? (Boolean)
Default: True
pedestal -- (Real)
Default: 0.5
phase_at_t0 -- (Real)
Default: 0.0
recalculate_phase_tolerance -- (Real)
Default: (determined at runtime)
size -- defines coordinate size of grating (in eye coordinates) (Sequence2 of Real)
Default: (1.0, 1.0)
spatial_freq -- frequency defined relative to coordinates defined in size parameter (units; cycles/eye_coord_unit) (Real)
Default: 4.0
t0_time_sec_absolute -- (Real)
Default: (determined at runtime)
temporal_freq_hz -- (Real)
Default: 5.0
upperleft -- vertex position (units: eye coordinates) (AnyOf(Sequence3 of Real or Sequence4 of Real))
Default: (0.0, 1.0, -1.0)
upperright -- vertex position (units: eye coordinates) (AnyOf(Sequence3 of Real or Sequence4 of Real))
Default: (1.0, 1.0, -1.0)
| Instance Methods | |||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
| Class Variables | |
parameters_and_defaults = VisionEgg.ParameterDefinition({'on':
|
|
|
Inherited from |
|
| Properties | |
|
Inherited from |
| Method Details |
Instantiate and get ready to draw. Set parameter values and create anything needed to draw the stimulus including OpenGL state variables such display lists and texture objects.
|
Draw the stimulus. (Called by Viewport instance.) This method is called every frame. This method actually performs the OpenGL calls to draw the stimulus.
|
| Class Variable Details |
parameters_and_defaults
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Sat Jun 7 09:06:46 2008 | http://epydoc.sourceforge.net |