| Home | Trees | Index | Help |
|
|---|
| Package VisionEgg :: Module Textures :: Class TextureStimulus3D |
|
object --+
|
ClassWithParameters --+
|
Stimulus --+
|
TextureStimulusBaseClass --+
|
TextureStimulus3D
A textured rectangle placed arbitrarily in 3 space.
Parameters
==========
depth_test -- perform depth test? (Boolean)
Default: True
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)
on -- (Boolean)
Default: True
texture -- source of texture data (Instance of <class 'VisionEgg.Textures.Texture'>)
Inherited from TextureStimulusBaseClass
Default: (determined at instantiation)
texture_mag_filter -- OpenGL filter enum (Integer)
Inherited from TextureStimulusBaseClass
Default: GL_LINEAR
texture_min_filter -- OpenGL filter enum (Integer)
Inherited from TextureStimulusBaseClass
Default: (GL enum determined at instantiation)
texture_wrap_s -- OpenGL texture wrap enum (Integer)
Inherited from TextureStimulusBaseClass
Default: (GL enum determined at instantiation)
texture_wrap_t -- OpenGL texture wrap enum (Integer)
Inherited from TextureStimulusBaseClass
Default: (GL enum determined at instantiation)
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)
Constant Parameters
===================
internal_format -- format with which OpenGL uses texture data (OpenGL data type enum) (Integer)
Default: GL_RGB
mipmaps_enabled -- Are mipmaps enabled? (Boolean)
Default: True
shrink_texture_ok -- Allow automatic shrinking of texture if too big? (Boolean)
Default: False
| Method Summary | |
|---|---|
Draw the stimulus. | |
| Inherited from TextureStimulusBaseClass | |
Instantiate and get ready to draw. | |
| 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', 'textu...
|
member_descriptor |
constant_parameters = <member 'constant_parameters' of '...
|
member_descriptor |
parameters = <member 'parameters' of 'TextureStimulus3D'...
|
dict |
parameters_and_defaults = {'on': (True, <class 'VisionEg...
|
member_descriptor |
texture_object = <member 'texture_object' of 'TextureSti...
|
| Inherited from TextureStimulusBaseClass | |
dict |
constant_parameters_and_defaults = {'shrink_texture_ok':...
|
| Method Details |
|---|
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
|
texture_object
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.0 on Fri Sep 19 18:29:40 2003 | http://epydoc.sf.net |