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

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

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

revision 2344 by jfenwick, Mon Mar 30 02:13:58 2009 UTC revision 2365 by gross, Mon Apr 6 01:25:25 2009 UTC
# Line 31  __url__="https://launchpad.net/escript-f Line 31  __url__="https://launchpad.net/escript-f
31  __author__="John Ngui, john.ngui@uq.edu.au"  __author__="John Ngui, john.ngui@uq.edu.au"
32    
33    
 import vtk  
34  from mapper import DataSetMapper  from mapper import DataSetMapper
35  from actor import Actor2D, Actor3D  from actor import Actor2D, Actor3D
36  from lookuptable import LookupTable  from lookuptable import LookupTable
37  from constant import Viewport, Color, Lut, LegendType  from constant import Viewport, Color, Lut, LegendType
38  from scalarbar import ScalarBar  from scalarbar import ScalarBar
39  from esys.escript import getMPISizeWorld  from esys.escript import getMPISizeWorld
40    if getMPISizeWorld()==1: import vtk
41    
42  # NOTE: ScalarBarModule, DataSetMapper and Actor3D were inherited to allow  # NOTE: ScalarBarModule, DataSetMapper and Actor3D were inherited to allow
43  # access to their public methods from the driver.  # access to their public methods from the driver.

Legend:
Removed from v.2344  
changed lines
  Added in v.2365

  ViewVC Help
Powered by ViewVC 1.1.26