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

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

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

revision 838 by jongui, Mon Sep 4 22:20:28 2006 UTC revision 839 by jongui, Wed Sep 6 04:53:50 2006 UTC
# Line 1  Line 1 
1  """  """
2  Class that deals with data for the visualization.  @author: John Ngui
3    @author: Lutz Gross
4  """  """
5    
6  import vtk  import vtk
7  from common import *  from common import *
8    from colormap import ColorMap
9    
10  class DataCollector(Common):  class DataCollector(Common):
11      """      """
12      @author: John Ngui      Class that deals with data for the visualization.
     @author: Lutz Gross  
13      """      """
14    
15      def __init__(self, open_scene, outline = True):      def __init__(self, scene, outline = True):
16          """          """
17          Initialize all the instance variables.          Initialize all the instance variables.
18    
19          @type open_scene: L{OpenScene <openscene.OpenScene>} object          @type scene: L{OpenScene <scene.Scene>} object
20          @param open_scene: Scene in which components are to be added to          @param scene: Scene in which components are to be added to
21          @type outline: Boolean (I{True or False})          @type outline: Boolean (I{True or False})
22          @param outline: Determines the outline for the rendered object          @param outline: Determines the outline for the rendered object
23          """          """
24    
25          self.open_scene = open_scene              self.scene = scene  
26          self.outline = True          self.outline = True
27          self.file_name = None          self.file_name = None
28          self.vtk_outline = None          self.vtk_outline = None

Legend:
Removed from v.838  
changed lines
  Added in v.839

  ViewVC Help
Powered by ViewVC 1.1.26