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

Type StereoInterface

object --+    
         |    
    Object --+
             |
            StereoInterface

Known Subclasses:
StereoRedBlueInterface, StereoTopBottomInterface

The interface for stereo renderers. Initialize with a non-stereo interface, such as PanningInterface, and that interface provides the interface behavior.

The setup method replaces non-stereo cameras in the engine wiht stereo cameras (and paired subordinate cameras).

This class is typically not used directly, though it can be, and will work with regular engines, if care is taken to install stereo interface in the engine. More typically, the engine will be wrapped by a stereo engine and that stereo engine wil handle setting up stereo interfaces and stereo cameras.
Method Summary
  __init__(self, interface)
Initialize new instance.
  __getattr__(self, attname)
Delegate most attribute lookups.
  __setattr__(self, attname, val)
Delegate most attribute lookups.
  setup(self)
Setup interface after all components exist.
    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
type defaultStereoCamera = spyre.stereoscopic.StereoTopBottomCamera
    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, interface)
(Constructor)

Initialize new instance.
Overrides:
spyre.spyre.Object.__init__

__getattr__(self, attname)
(Qualification operator)

Delegate most attribute lookups.

__setattr__(self, attname, val)

Delegate most attribute lookups.
Overrides:
__builtin__.object.__setattr__

setup(self)

Setup interface after all components exist.

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