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

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

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

revision 1147 by ksteube, Wed May 16 06:39:11 2007 UTC revision 1148 by jongui, Wed May 16 22:45:33 2007 UTC
# Line 10  class ImageReslice: Line 10  class ImageReslice:
10      (no interaction capability) images.      (no interaction capability) images.
11      """      """
12    
13      def __init__(self, object):      def __init__(self):
14          """          """
15          Initialise the image reslice.          Initialise the image reslice.
   
         @type object: vtkImageData  
         @param object: Image Data  
16          """          """
17    
         self.__object = object  
18          self.__vtk_image_reslice = vtk.vtkImageReslice()          self.__vtk_image_reslice = vtk.vtkImageReslice()
19    
20          self.__setupImageReslice()      def _setupImageReslice(self, object):
   
     def __setupImageReslice(self):  
21          """          """
22          Setup the image reslice.          Setup the image reslice.
23    
24            @type object: vtkImageData
25            @param object: Image Data
26          """          """
27    
28            self.__object = object
29          self.__setInput()          self.__setInput()
30    
31      def __setInput(self):      def __setInput(self):
# Line 58  class ImageReslice: Line 56  class ImageReslice:
56              size = (1 - size) + 1              size = (1 - size) + 1
57              self.__vtk_image_reslice.SetOutputSpacing(size, size, size)              self.__vtk_image_reslice.SetOutputSpacing(size, size, size)
58    
59      def _getOutput(self):      def _getImageResliceOutput(self):
60          """          """
61          Return the output of the image reslice.          Return the output of the image reslice.
62    

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

  ViewVC Help
Powered by ViewVC 1.1.26