Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > contrib-backports > by-pkgid > 5a28ce08f20e322d24ac159a4334c346 > files > 2465

python-enthought-mayavi2-2.2.0-1mdv2008.1.x86_64.rpm



.. currentmodule:: enthought.mayavi.mlab

Camera handling functions
=========================

roll
~~~~

.. function:: roll(roll=None)

    Sets or returns the absolute roll angle of the camera
    

    


view
~~~~

.. function:: view(azimuth=None, elevation=None, distance=None, focalpoint=None)

    Sets the view point for the camera.
    
     view(azimuth=None, elevation=None, distance=None, focalpoint=None)
    
    azimuth: angle in the horizontal plane
    elevation: elevation angle of the camera relative to the vertical
    distance: distance to the focal point
    focalpoint: (x, y, z) position of the focal point.
    If some parameters are not passed, they are left unchanged. The
    function tries to guess the roll angle appropriate for the view.
    see also: roll.