Package spyre :: Module stereoscopic :: Class StereoEngine
[frames | no frames]

Type StereoEngine

object --+    
         |    
    Object --+
             |
            StereoEngine

Known Subclasses:
StereoEngineED, StereoEngineRB

Abstract class for Engine. This class (or its subclass) wraps a non-stereo engine,

A StereoEngine subclass will typically be the only class you use directly from this module.

A StereoEngine will set up all the code necessary to maintain the stereo visuals.

The behavior of your program will depend on the selection of non-stereo cameras, interfaces, engine (and timekeeper and studio) you set up before wrapping the engine with StereoEngine.
Method Summary
  __init__(self, engine)
Initialize new instance.
  __getattr__(self, attname)
Pass attribute requests through to engine component.
  __setattr__(self, attname, val)
Pass attribute assignments through to engine component.
  go(self)
Main loop.
  setup(self)
Do setup after all components are initialized.
    Inherited from Object
  display(self)
Display the object using OpenGL This method must be overridden.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
NoneType defaultStereoInterface = None                                                                  
    Inherited from Object
NoneType engine: makes engine accessible to displayable objects.
list opengl_state_dependent = []
float runTime: how long has engine been running?
int runTurn: how many frames have elapsed?

Method Details

__init__(self, engine)
(Constructor)

Initialize new instance.
Parameters:
engine - a non-stereo engine
Overrides:
spyre.spyre.Object.__init__

__getattr__(self, attname)
(Qualification operator)

Pass attribute requests through to engine component.

__setattr__(self, attname, val)

Pass attribute assignments through to engine component.
Overrides:
__builtin__.object.__setattr__

go(self)

Main loop.

setup(self)

Do setup after all components are initialized.

Class Variable Details

defaultStereoInterface

Type:
NoneType
Value:
None                                                                  

Generated by Epydoc 2.1 on Sat Jan 07 17:58:16 2006 http://epydoc.sf.net