| Home | Trees | Index | Help |
|
|---|
| Package VisionEgg :: Module MoreStimuli :: Class Rectangle3D |
|
object --+
|
ClassWithParameters --+
|
Stimulus --+
|
Rectangle3D
Solid color rectangle positioned explicitly by four vertices.
Parameters
==========
color -- (AnyOf(Sequence3 of Real or Sequence4 of Real))
Default: (1.0, 1.0, 1.0, 1.0)
on -- (Boolean)
Default: True
vertex1 -- units: eye coordinates (AnyOf(Sequence3 of Real or Sequence4 of Real))
Default: (-10.0, 0.0, -10.0)
vertex2 -- units: eye coordinates (AnyOf(Sequence3 of Real or Sequence4 of Real))
Default: (-10.0, 0.0, 10.0)
vertex3 -- units: eye coordinates (AnyOf(Sequence3 of Real or Sequence4 of Real))
Default: (10.0, 0.0, 10.0)
vertex4 -- units: eye coordinates (AnyOf(Sequence3 of Real or Sequence4 of Real))
Default: (10.0, 0.0, -10.0)
| Method Summary | |
|---|---|
Instantiate and get ready to draw. | |
Draw the stimulus. | |
| 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')
|
member_descriptor |
constant_parameters = <member 'constant_parameters' of '...
|
member_descriptor |
parameters = <member 'parameters' of 'Rectangle3D' objec...
|
dict |
parameters_and_defaults = {'on': (True, <class 'VisionEg...
|
| Inherited from ClassWithParameters | |
ParameterDefinition |
constant_parameters_and_defaults = {}
|
| Method Details |
|---|
__init__(self,
**kw)
|
draw(self)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 |
|---|
__slots__
|
constant_parameters
|
parameters
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.0 on Fri Sep 19 18:29:38 2003 | http://epydoc.sf.net |