Trees | Index | Help |
|
---|
Package spyre :: Module stereoscopic :: Class StereoCamera |
|
object
--+ |StereoBaseCamera
--+ | StereoCamera
StereoRedBlueCamera
,
StereoTopBottomCamera
Camera for stereo camera functionality. Initialize with a non-stereo camera.
This class wraps the original (non-stereo) camera instance, passing
most method calls through to it. It implicitly creates a second camera
for second eye, using a SubordinateEyeCamera
and installs that
camera in the engine.
calc
methods maintain the position of this
camera and also of the subordinate camera.
Method Summary | |
---|---|
Initialize newly constructed camera. | |
Delegate most attribute lookups. | |
Delegate most attribute lookups. | |
Recalc position, and pass on to subordinate camera. | |
Calculate the two eye pos's. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__str__() <==> str(x) |
Method Details |
---|
__init__(self,
camera,
interOc=None)
Initialize newly constructed camera.
|
__getattr__(self,
attname)
Delegate most attribute lookups.
|
__setattr__(self, attname, val)Delegate most attribute lookups.
|
calc(self)Recalc position, and pass on to subordinate camera.
|
calcEyes(self)Calculate the two eye pos's.
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Jan 07 17:58:16 2006 | http://epydoc.sf.net |