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

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

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

revision 844 by jongui, Wed Sep 6 07:52:12 2006 UTC revision 845 by jongui, Fri Sep 8 07:13:01 2006 UTC
# Line 13  class Map(Common): Line 13  class Map(Common):
13    
14      def __init__(self, scene, data_collector, lut = None):      def __init__(self, scene, data_collector, lut = None):
15          """          """
16          @type scene: L{OpenScene <scene.Scene>} object          @type scene: L{Scene <scene.Scene>} object
17          @param scene: Scene in which components are to be added to          @param scene: Scene in which components are to be added to
18          @type data_collector: L{DataCollector <datacollector.DataCollector>}          @type data_collector: L{DataCollector <datacollector.DataCollector>}
19              object              object
# Line 31  class Map(Common): Line 31  class Map(Common):
31    
32    
33  from map import Map  from map import Map
34  from plane import Plane  from geo import Plane
35    
36  class MapOnPlane(Map, Plane):  class MapOnPlane(Map, Plane):
37      """      """
38      shows scalar data by color on a given plane      Class that shows a scalar field on a given plane.
39      """      """
40    
41      def __init__(self, scene, data_collector):      def __init__(self, scene, data_collector, lut = None):
42            """
43            @type scene: L{Scene <scene.Scene>} object
44            @param scene: Scene in which components are to be added to
45            @type data_collector: L{DataCollector <datacollector.DataCollector>}
46                object
47            @param data_collector: Source of data for visualzation
48            """
49    
50          Common.__init__(self, scene, data_collector)          Common.__init__(self, scene, data_collector)
51    
52          Plane.__init__(self, scene, data_collector,          Plane.__init__(self, scene, data_collector,

Legend:
Removed from v.844  
changed lines
  Added in v.845

  ViewVC Help
Powered by ViewVC 1.1.26