| Home | Trees | Index | Help |
|
|---|
| Package VisionEgg :: Module SphereMap :: Class SphereGrating |
|
object --+
|
ClassWithParameters --+
|
Stimulus --+
|
LuminanceGratingCommon --+
|
SphereGrating
Map 2D sinusoidal grating onto sphere.
Parameters
==========
bit_depth -- precision with which grating is calculated and sent to OpenGL (UnsignedInteger)
Inherited from VisionEgg.Gratings.LuminanceGratingCommon
Default: 8
check_texture_size -- (Boolean)
Default: True
contrast -- (Real)
Default: 1.0
grating_center_azimuth -- (Real)
Default: 0.0
grating_center_elevation -- (Real)
Default: 0.0
ignore_time -- (Boolean)
Default: False
lowpass_cutoff_cycles_per_texel -- (Real)
Default: 0.15
min_filter -- OpenGL filter enum (Integer)
Default: GL_LINEAR
num_samples -- (UnsignedInteger)
Default: 1024
on -- (Boolean)
Default: True
orientation -- (Real)
Default: 0.0
phase_at_t0 -- (Real)
Default: 0.0
radius -- (Real)
Default: 1.0
slices -- (UnsignedInteger)
Default: 30
spatial_freq_cpd -- (Real)
Default: 0.0277777777778
stacks -- (UnsignedInteger)
Default: 30
t0_time_sec_absolute -- (Real)
Default: (determined at instantiation)
temporal_freq_hz -- (Real)
Default: 5.0
| Method Summary | |
|---|---|
Instantiate and get ready to draw. | |
Redraw the scene on every frame. | |
| Inherited from LuminanceGratingCommon | |
Calculate a number of parameters dependent on bit depth. | |
| Inherited from ClassWithParameters | |
| |
| |
Set a parameter with type-checked value This is the slow but safe way to set parameters. | |
Perform type check on all parameters... | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name... | |
x.__getattribute__('name') <==> x.name... | |
x.__hash__() <==> hash(x)... | |
helper for pickle... | |
helper for pickle... | |
x.__repr__() <==> repr(x)... | |
x.__setattr__('name', value) <==> x.name = value... | |
x.__str__() <==> str(x)... | |
| Inherited from type | |
T.__new__(S, ...) -> a new object with type S, a subtype of T... | |
| Class Variable Summary | |
|---|---|
tuple |
__slots__ = ('parameters', 'constant_parameters', 'gl_in...
|
member_descriptor |
cached_bit_depth = <member 'cached_bit_depth' of 'Sphere...
|
member_descriptor |
cached_display_list_id = <member 'cached_display_list_id...
|
member_descriptor |
constant_parameters = <member 'constant_parameters' of '...
|
member_descriptor |
format = <member 'format' of 'SphereGrating' objects>
|
member_descriptor |
gl_internal_format = <member 'gl_internal_format' of 'Sp...
|
member_descriptor |
gl_type = <member 'gl_type' of 'SphereGrating' objects>
|
member_descriptor |
max_int_val = <member 'max_int_val' of 'SphereGrating' o...
|
member_descriptor |
numeric_type = <member 'numeric_type' of 'SphereGrating'...
|
member_descriptor |
parameters = <member 'parameters' of 'SphereGrating' obj...
|
dict |
parameters_and_defaults = {'temporal_freq_hz': (5.0, <cl...
|
member_descriptor |
texture_object_id = <member 'texture_object_id' of 'Sphe...
|
| Inherited from ClassWithParameters | |
ParameterDefinition |
constant_parameters_and_defaults = {}
|
| Method Details |
|---|
__init__(self,
**kw)
|
draw(self)Redraw the scene on every frame.
|
| Class Variable Details |
|---|
__slots__
|
cached_bit_depth
|
cached_display_list_id
|
constant_parameters
|
format
|
gl_internal_format
|
gl_type
|
max_int_val
|
numeric_type
|
parameters
|
texture_object_id
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.0 on Fri Sep 19 18:29:37 2003 | http://epydoc.sf.net |