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

Diff of /trunk/pyvisi/py_src/texture.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 9  class Texture: Line 9  class Texture:
9      Class that defines the texture for the rendered object.      Class that defines the texture for the rendered object.
10      """      """
11    
12      def __init__(self, image):      def __init__(self):
13          """          """
14          Initialise the texture.          Initialise the texture.
15            """
16    
17            self.__vtk_texture = vtk.vtkTexture()
18    
19        def _setupTexture(self, image):
20            """
21            Setup the texture.
22    
23          @type image: vtkImageData          @type image: vtkImageData
24          @param image: Image from which data is to be read          @param image: Image from which data is to be read
25          """          """
26    
27          self.__image = image          self.__image = image
         self.__vtk_texture = vtk.vtkTexture()  
   
28          self.__setInput()            self.__setInput()  
29    
30      def __setInput(self):      def __setInput(self):

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

  ViewVC Help
Powered by ViewVC 1.1.26