/[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 947 by jongui, Mon Jan 29 07:22:43 2007 UTC revision 948 by jongui, Thu Feb 1 07:23:34 2007 UTC
# Line 17  class ImageReader: Line 17  class ImageReader:
17          @type format: String          @type format: String
18          @param format: Format of the image          @param format: Format of the image
19          """          """
20          print "Imgae Reader"  
21          self.__format = format          self.__format = format
22          self.__vtk_image_reader = self.getImageReader()          self.__vtk_image_reader = self.getImageReader()
23    
# Line 43  class ImageReader: Line 43  class ImageReader:
43    
44      def setFileName(self, file_name):      def setFileName(self, file_name):
45          """          """
46            Set the image file name to be read.
47    
48          @type file_name: String          @type file_name: String
49          @param file_name: Image file name from which data is to be read          @param file_name: Image file name from which data is to be read
50          """          """
51          print "image reader set file name"  
52          self.__vtk_image_reader.SetFileName(file_name)          self.__vtk_image_reader.SetFileName(file_name)
53    
54      def _getOutput(self):      def _getOutput(self):
55          print "return image reader..."          """
56            Return the output of hte image reader.
57    
58            @rtype: vtkImageData
59            @return: Image Data
60            """
61    
62          return self.__vtk_image_reader.GetOutput()          return self.__vtk_image_reader.GetOutput()
63    

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

  ViewVC Help
Powered by ViewVC 1.1.26