/[escript]/temp_trunk_copy/pyvisi/py_src/warp.py
ViewVC logotype

Diff of /temp_trunk_copy/pyvisi/py_src/warp.py

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

trunk/pyvisi/py_src/warp.py revision 1148 by jongui, Wed May 16 22:45:33 2007 UTC temp_trunk_copy/pyvisi/py_src/warp.py revision 1384 by phornby, Fri Jan 11 02:29:38 2008 UTC
# Line 1  Line 1 
1  """  """
2  @author: John NGUI  @var __author__: name of author
3    @var __copyright__: copyrights
4    @var __license__: licence agreement
5    @var __url__: url entry point on documentation
6    @var __version__: version
7    @var __date__: date of the version
8  """  """
9    
10    __author__="John Ngui, john.ngui@uq.edu.au"
11    __copyright__="""  Copyright (c) 2006 by ACcESS MNRF
12                        http://www.access.edu.au
13                    Primary Business: Queensland, Australia"""
14    __license__="""Licensed under the Open Software License version 3.0
15                 http://www.opensource.org/licenses/osl-3.0.php"""
16    __url__="http://www.iservo.edu.au/esys"
17    __version__="$Revision$"
18    __date__="$Date$"
19    
20    
21  import vtk  import vtk
22  from constant import WarpMode  from constant import WarpMode
23    
# Line 28  class Warp: Line 44  class Warp:
44          Setup the warp.          Setup the warp.
45    
46          @type object: vtkPolyData, etc          @type object: vtkPolyData, etc
47          @param object: Input for the warp scalar/vector          @param object: Input for the warp scalar or warp vector
48          """          """
49    
50          self.__object = object          self.__object = object
# Line 46  class Warp: Line 62  class Warp:
62          Set the displacement scale factor.          Set the displacement scale factor.
63    
64          @type scale_factor: Number          @type scale_factor: Number
65          @param scale_factor: Scale factor of the displacement          @param scale_factor: Scale factor for the displacement
66          """          """
67    
68          self.__vtk_warp.SetScaleFactor(scale_factor)          self.__vtk_warp.SetScaleFactor(scale_factor)

Legend:
Removed from v.1148  
changed lines
  Added in v.1384

  ViewVC Help
Powered by ViewVC 1.1.26