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

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

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

revision 1037 by jongui, Fri Mar 16 05:00:32 2007 UTC revision 1110 by jongui, Thu Apr 19 05:24:28 2007 UTC
# Line 15  class ImageReader: Line 15  class ImageReader:
15          """          """
16          Initialise the image reader.          Initialise the image reader.
17    
18          @type format: String          @type format:  L{ImageFormat <constant.ImageFormat>} constant
19          @param format: Format of the image          @param format: Format of the image
20          """          """
21    
22          self.__format = format          self.__format = format
23          self.__vtk_image_reader = self.getImageReader()          self.__vtk_image_reader = self.__getImageReader()
24    
25      def getImageReader(self):      def __getImageReader(self):
26          """          """
27          Return the corresponding image reader based on the supplied image          Return the corresponding image reader based on the supplied image
28          format.          format.
# Line 57  class ImageReader: Line 57  class ImageReader:
57          Return the output of the image reader.          Return the output of the image reader.
58    
59          @rtype: vtkImageData          @rtype: vtkImageData
60          @return: Image Data          @return: Image data
61          """          """
62    
63          return self.__vtk_image_reader.GetOutput()          return self.__vtk_image_reader.GetOutput()

Legend:
Removed from v.1037  
changed lines
  Added in v.1110

  ViewVC Help
Powered by ViewVC 1.1.26