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

Diff of /trunk/pyvisi/py_src/point.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 949 by jongui, Fri Feb 2 05:33:05 2007 UTC
# Line 118  class StructuredPoints: Line 118  class StructuredPoints:
118    
119      def __setExtent(self, x0, x1, y0, y1, z0, z1):      def __setExtent(self, x0, x1, y0, y1, z0, z1):
120          """          """
121          Set the extent in the order of x, y, z axes.          Set the extent in the order of x, y and z axes.
122    
123          @type x0: Index of the first point on the x-axis          @type x0: Number
124            @param x0: Index of the first point on the x-axis
125            @type x1: Number
126          @param x1: Index of the last point on the x-axis          @param x1: Index of the last point on the x-axis
127          @type y0: Index of the first point on the y-axis          @type y0: Number
128            @param y0: Index of the first point on the y-axis
129            @type y1: Number
130          @param y1: Index of the last point on the y-axis          @param y1: Index of the last point on the y-axis
131          @type z0: Index of the first point on the z-axis          @type z0: Number
132            @param z0: Index of the first point on the z-axis
133            @type z1: Number
134          @param z1: Index of the last point on the z-axis          @param z1: Index of the last point on the z-axis
135          """          """
136    
         # NOTE: setExtent and setUpdateExtent MUST be used together.  
137          #self.__vtk_structured_points.SetExtent(x0, x1, y0, y1, z0, z1)          #self.__vtk_structured_points.SetExtent(x0, x1, y0, y1, z0, z1)
138    
139      def __setUpdateExtent(self, x0, x1, y0, y1, z0, z1):      def __setUpdateExtent(self, x0, x1, y0, y1, z0, z1):
140          """          """
141          Set the update extent in the oder of x, y, z axes.          Set the update extent in the oder of x, y and z axes.
142    
143          @type x0: Number          @type x0: Number
144            @param x0: Index of the first point on the x-axis
145            @type x1: Number
146          @param x1: Index of the last point on the x-axis          @param x1: Index of the last point on the x-axis
147          @type y0: Number          @type y0: Number
148            @param y0: Index of the first point on the y-axis
149            @type y1: Number
150          @param y1: Index of the last point on the y-axis          @param y1: Index of the last point on the y-axis
151          @type z0: Number          @type z0: Number
152            @param z0: Index of the first point on the z-axis
153            @type z1: Number
154          @param z1: Index of the last point on the z-axis          @param z1: Index of the last point on the z-axis
155          """          """
156    
157          # NOTE: setUpdateExtent and setExtent MUST be used together.          self.__vtk_structured_points.SetUpdateExtent(x0, x1, y0, y1, z0, z1)
         #self.__vtk_structured_points.SetUpdateExtent(x0, x1, y0, y1, z0, z1)  
158    
159      def setDimension(self, x, y, z):      def setDimension(self, x, y, z):
160          """          """

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

  ViewVC Help
Powered by ViewVC 1.1.26