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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 835 - (hide annotations)
Mon Sep 4 22:20:28 2006 UTC (14 years, 10 months ago) by jongui
File MIME type: text/x-python
File size: 745 byte(s)
Added more docstrings and updated the way positions, focal point and view angle are specified.


1 gross 792 """
2 jongui 835 Class that shows a scalar field by a surface map.
3 gross 792 """
4    
5 jongui 822 import vtk
6 jongui 828 from common import *
7 gross 792
8 jongui 828 class Map(Common):
9 jongui 835 """
10     @author: John Ngui
11     @author: Lutz Gross
12     """
13 gross 792
14 jongui 827 def __init__(self, open_scene, data_collector):
15 jongui 835 """
16     @type open_scene: L{OpenScene <openscene.OpenScene>} object
17     @param open_scene: Scene in which components are to be added to
18     @type data_collector: L{DataCollector <datacollector.DataCollector>}
19     object
20     @param data_collector: Source of data for visualization
21     """
22    
23 jongui 828 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 jongui 822
28     """
29     class MapOnPlane():
30     shows scalar data by color on a given plane
31     """
32     pass

  ViewVC Help
Powered by ViewVC 1.1.26