/[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 792 by gross, Fri Jul 28 10:37:16 2006 UTC revision 835 by jongui, Mon Sep 4 22:20:28 2006 UTC
# Line 1  Line 1 
1  """  """
2  class that shows scalar data by color on the domain surface  Class that shows a scalar field by a surface map.
   
 @var __author__: name of author  
 @var __license__: licence agreement  
 @var __copyright__: copyrights  
 @var __url__: url entry point on documentation  
 @var __version__: version  
 @var __date__: date of the version  
3  """  """
 __copyright__="""  Copyright (c) 2006 by ACcESS MNRF  
                     http://www.access.edu.au  
                 Primary Business: Queensland, Australia"""  
 __license__="""Licensed under the Open Software License version 3.0  
              http://www.opensource.org/licenses/osl-3.0.php"""  
 __author__="Paul Cochrane, L. Gross"  
 __url__="http://www.iservo.edu.au/esys"  
 __version__="$Revision:$"  
 __date__="$Date:$"  
4    
5  from common import Component  import vtk
6    from common import *
7    
8    class Map(Common):
9        """
10        @author: John Ngui
11        @author: Lutz Gross
12        """
13    
14  class Map(Component):      def __init__(self, open_scene, data_collector):
15      """          """
16      shows scalar data by color on the domain surface          @type open_scene: L{OpenScene <openscene.OpenScene>} object
17      """          @param open_scene: Scene in which components are to be added to
18      pass          @type data_collector: L{DataCollector <datacollector.DataCollector>}
19                object
20            @param data_collector: Source of data for visualization
21            """
22    
23            Common.__init__(self, open_scene, data_collector)
24            Common.setMapper(self, "self.data_collector.getReader().GetOutput()")
25            Common.setActor(self)
26            Common.addActor(self)
27    
28  class MapOnPlane(Component):  """
29      """  class MapOnPlane():
30      shows scalar data by color on a given plane  shows scalar data by color on a given plane
31      """  """
32      pass  pass

Legend:
Removed from v.792  
changed lines
  Added in v.835

  ViewVC Help
Powered by ViewVC 1.1.26