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

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

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

revision 860 by jongui, Thu Sep 28 08:17:29 2006 UTC revision 861 by jongui, Fri Sep 29 06:54:46 2006 UTC
# Line 62  class Transform: Line 62  class Transform:
62          self.vtk_transform = vtk.vtkTransform()          self.vtk_transform = vtk.vtkTransform()
63          # Set the transformation to occur after any transformations          # Set the transformation to occur after any transformations
64          # represented by the current matrix.              # represented by the current matrix.    
65          self.vtk_transform.PostMultiply()          #self.vtk_transform.PostMultiply()
66    
67      def translate(self, x_offset, y_offset, z_offset):      def translate(self, x_offset, y_offset, z_offset):
68          """          """
# Line 153  class Transform: Line 153  class Transform:
153          """          """
154    
155          self.translate(0, offset, 0)          self.translate(0, offset, 0)
156          self.rotateX(-89.9)          self.rotateX(89.9)
157            
158      def getTransform(self):      def getTransform(self):
159          """          """

Legend:
Removed from v.860  
changed lines
  Added in v.861

  ViewVC Help
Powered by ViewVC 1.1.26