~ubuntu-branches/ubuntu/hardy/mayavi2/hardy-backports

« back to all changes in this revision

Viewing changes to enthought.mayavi/enthought/mayavi/html/_sources/auto/mlab_camera.txt

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2008-07-25 09:03:34 UTC
  • mfrom: (2.2.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080725090334-1hbb9fn8b3as5qy0
Tags: 2.2.0-1~hardy1
Automated backport upload; no source changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
 
 
3
.. currentmodule:: enthought.mayavi.mlab
 
4
 
 
5
Camera handling functions
 
6
=========================
 
7
 
 
8
roll
 
9
~~~~
 
10
 
 
11
.. function:: roll(roll=None)
 
12
 
 
13
    Sets or returns the absolute roll angle of the camera
 
14
    
 
15
 
 
16
    
 
17
 
 
18
 
 
19
view
 
20
~~~~
 
21
 
 
22
.. function:: view(azimuth=None, elevation=None, distance=None, focalpoint=None)
 
23
 
 
24
    Sets the view point for the camera.
 
25
    
 
26
     view(azimuth=None, elevation=None, distance=None, focalpoint=None)
 
27
    
 
28
    azimuth: angle in the horizontal plane
 
29
    elevation: elevation angle of the camera relative to the vertical
 
30
    distance: distance to the focal point
 
31
    focalpoint: (x, y, z) position of the focal point.
 
32
    If some parameters are not passed, they are left unchanged. The
 
33
    function tries to guess the roll angle appropriate for the view.
 
34
    see also: roll.
 
35
 
 
36
    
 
37