Package spyre :: Module spyre :: Class RovingCameraY
[frames | no frames]

Type RovingCameraY

 Camera --+    
          |    
BasicCamera --+
              |
             RovingCameraY

Known Subclasses:
RovingCameraFrustumY, RovingCameraOrthoY

A roving camera moves around the scene, panning on xz plane. Used with PedestrianInterfaceY.
Method Summary
  __init__(self, engine, eye, center, up, elev)
  calc(self)
calculate center position from eye pos
  refresh(self)
Refresh the position of the camera.
    Inherited from Camera
  displayBackground(self)
Clear the display, or alternate prelim treatment.
  displayViewport(self)
Push the viewport params to OpenGL.
  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

calc(self)

calculate center position from eye pos

refresh(self)

Refresh the position of the camera.
Overrides:
spyre.spyre.Camera.refresh (inherited documentation)

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