/[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

temp_trunk_copy/pyvisi/py_src/legend.py revision 1384 by phornby, Fri Jan 11 02:29:38 2008 UTC trunk/pyvisi/py_src/legend.py revision 2365 by gross, Mon Apr 6 01:25:25 2009 UTC
# Line 1  Line 1 
1    
2    ########################################################
3    #
4    # Copyright (c) 2003-2008 by University of Queensland
5    # Earth Systems Science Computational Center (ESSCC)
6    # http://www.uq.edu.au/esscc
7    #
8    # Primary Business: Queensland, Australia
9    # Licensed under the Open Software License version 3.0
10    # http://www.opensource.org/licenses/osl-3.0.php
11    #
12    ########################################################
13    
14    __copyright__="""Copyright (c) 2003-2008 by University of Queensland
15    Earth Systems Science Computational Center (ESSCC)
16    http://www.uq.edu.au/esscc
17    Primary Business: Queensland, Australia"""
18    __license__="""Licensed under the Open Software License version 3.0
19    http://www.opensource.org/licenses/osl-3.0.php"""
20    __url__="https://launchpad.net/escript-finley"
21    
22  """  """
23  @var __author__: name of author  @var __author__: name of author
24  @var __copyright__: copyrights  @var __copyright__: copyrights
# Line 8  Line 29 
29  """  """
30    
31  __author__="John Ngui, john.ngui@uq.edu.au"  __author__="John Ngui, john.ngui@uq.edu.au"
 __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"""  
 __url__="http://www.iservo.edu.au/esys"  
 __version__="$Revision$"  
 __date__="$Date$"  
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
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.1384  
changed lines
  Added in v.2365

  ViewVC Help
Powered by ViewVC 1.1.26