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

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

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

revision 839 by jongui, Wed Sep 6 04:53:50 2006 UTC revision 840 by jongui, Wed Sep 6 07:52:12 2006 UTC
# Line 63  class Arrows(Common): Line 63  class Arrows(Common):
63            
64          eval("self.vtk_glyph.SetColorModeToColorBy%s()" % color_mode)          eval("self.vtk_glyph.SetColorModeToColorBy%s()" % color_mode)
65    
66  """  
67  class ArrowsOnPlane:  from arrows import Arrows
68  shows a vector field by arrows on a plane  from plane import Plane
69  """      
70  pass  class ArrowsOnPlane(Arrows, Plane):
71        """
72        shows a vector field by arrows on a plane
73        """
74    
75        def __init__(self, scene, data_collector):
76            Common.__init__(self, scene, data_collector)        
77            self.vtk_glyph = None
78            self.setArrows()
79    
80            Plane.__init__(self, scene, data_collector,
81                "self.vtk_glyph.GetOutput()")
82    

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

  ViewVC Help
Powered by ViewVC 1.1.26