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

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

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

revision 1109 by jongui, Tue Apr 10 04:27:31 2007 UTC revision 1110 by jongui, Thu Apr 19 05:24:28 2007 UTC
# Line 16  from transform import Transform, Transfo Line 16  from transform import Transform, Transfo
16  class Image(DataSetMapper, Actor3D, Texture, PlaneSource, Transform,  class Image(DataSetMapper, Actor3D, Texture, PlaneSource, Transform,
17          TransformFilter):          TransformFilter):
18      """      """
19      Class that displays an image which can be scaled (upwards and downwards).      Class that displays an image which can be scaled (upwards and downwards)
20      The image can also be translated and rotated along the X, Y and Z axes.      and has interaction capability. The image can also be translated and
21        rotated along the X, Y and Z axes.
22    
23      @bug: Translating an image works differently (opposite) compared to      @bug: Translating an image works differently (opposite) compared to
24      translating a plane. For example, a positive translation along the      translating a plane. For example, a positive translation along the
# Line 30  class Image(DataSetMapper, Actor3D, Text Line 31  class Image(DataSetMapper, Actor3D, Text
31      def __init__(self, scene, image_reader, viewport = Viewport.SOUTH_WEST):      def __init__(self, scene, image_reader, viewport = Viewport.SOUTH_WEST):
32          """          """
33          @type scene: L{Scene <scene.Scene>} object          @type scene: L{Scene <scene.Scene>} object
34          @param scene: Scene in which objects are to be rendered on          @param scene: Scene in which the image is to be displayed
35          @type image_reader: L{ImageReader <imagereader.ImageReader>}          @type image_reader: L{ImageReader <imagereader.ImageReader>}
36                  object                  object
37          @param image_reader: Deal with source of image for vizualisation          @param image_reader: Deal with source of data for vizualisation
38          @type viewport: L{Viewport <constant.Viewport>} constant            @type viewport: L{Viewport <constant.Viewport>} constant  
39          @param viewport: Viewport in which objects are to be rendered on          @param viewport: Viewport in which the image is to be displayed
40          """          """
41    
42          # ----- Image -----          # ----- Image -----

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

  ViewVC Help
Powered by ViewVC 1.1.26