| Home | Trees | Index | Help |
|
|---|
| Package VisionEgg :: Module Textures :: Class Mask2D |
|
object --+
|
ClassWithParameters --+
|
Mask2D
A mask for windowing a portion of a texture.
Thanks to the author, Jon Peirce, of the AlphaStim class from the
PsychoPy package from which the idea to do this came.
Constant Parameters
===================
function -- 'gaussian' or 'circle' (String)
Default: gaussian
num_samples -- size of mask texture data (units: number of texels) (Sequence2 of Real)
Default: (256, 256)
radius_parameter -- radius for circle, sigma for gaussian (Real)
Default: 25.0
| Method Summary | |
|---|---|
Create self.parameters and set values. | |
draw_masked_quad(self,
lt,
rt,
bt,
tt,
le,
re,
be,
te,
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 | |
|---|---|
dict |
constant_parameters_and_defaults = {'function': ('gaussi...
|
| Inherited from ClassWithParameters | |
tuple |
__slots__ = ('parameters', 'constant_parameters')
|
member_descriptor |
constant_parameters = <member 'constant_parameters' of '...
|
member_descriptor |
parameters = <member 'parameters' of 'ClassWithParameter...
|
ParameterDefinition |
parameters_and_defaults = {}
|
| Method Details |
|---|
__init__(self,
**kw)
|
| Class Variable Details |
|---|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.0 on Fri Sep 19 18:29:39 2003 | http://epydoc.sf.net |