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

Type SubordinateEyeCameraRB

      Camera --+        
               |        
     BasicCamera --+    
                   |    
      object --+   |    
               |   |    
StereoBaseCamera --+    
                   |    
SubordinateEyeCamera --+
                       |
                      SubordinateEyeCameraRB

Known Subclasses:
SubordinateEyeCamFrustumRB, SubordinateEyeCamOrthoRB

Camera for other eye, only shows red component. Should be subclassed to add frustum or ortho projection.
Method Summary
  displayBackground(self)
Clear openGL depth buffer and setup color blending.
    Inherited from BasicCamera
  __init__(self, engine, eye, center, up, left, right, bottom, top, near, far)
Initialize new camera.
    Inherited from Camera
  displayViewport(self)
Push the viewport params to OpenGL.
  refresh(self)
Refresh the position of the camera.
  restoreInit(self)
Restore previously saved initialization state.
  saveInit(self)
Save state of initialization internally for later restoration.
  setup(self)
Overridable for things to be done before use, but after engine and interface are initialized.
  setViewport(self, left, top, right, bottom)
Record desired viewport (left, top, right, bottom).
  zoomIn(self, factor)
Zoom in.
  zoomOut(self, factor)
Zoom out.
    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)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Property Summary
    Inherited from Camera
  center: Track center position
  eye: Track eye position

Instance Variable Summary
    Inherited from Camera
  objects: Each camera keeps a list of displayable objects.

Method Details

displayBackground(self)

Clear openGL depth buffer and setup color blending.
Overrides:
spyre.spyre.Camera.displayBackground

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