/[escript]/trunk/pyvisi/py_src/light.py
ViewVC logotype

Diff of /trunk/pyvisi/py_src/light.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 948 by jongui, Thu Feb 1 07:23:34 2007 UTC revision 1004 by jongui, Thu Mar 1 04:57:31 2007 UTC
# Line 70  class Light: Line 70  class Light:
70    
71          self.__vtk_light.SetPosition(position._getGlobalPosition())          self.__vtk_light.SetPosition(position._getGlobalPosition())
72    
73      # Elevation and azimuth was set to zero so that users do not necessarily      # Elevation and azimuth is set to zero so that users do not necessarily
74      # need to always change both at the same time.      # have to change both at the same time.
75      def setAngle(self, elevation = 0, azimuth = 0):      def setAngle(self, elevation = 0, azimuth = 0):
76          """          """
77          Set the position and focal point of the light based on the specified          An alternative to set the position and focal point of the light
78          elevation and azimuth degrees.          based on the specified elevation and azimuth degrees.
79    
80          @type elevation: Number          @type elevation: Number
81          @param elevation: Degree to rotate the light to the top and bottom          @param elevation: Degree to rotate the light to the top and bottom

Legend:
Removed from v.948  
changed lines
  Added in v.1004

  ViewVC Help
Powered by ViewVC 1.1.26