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

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

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

revision 1189 by jongui, Thu Jun 7 05:31:25 2007 UTC revision 1199 by jongui, Wed Jun 20 05:01:30 2007 UTC
# Line 1  Line 1 
1  """  """
2  @author: John NGUI  @var __author__: name of author
3    @var __copyright__: copyrights
4    @var __license__: licence agreement
5    @var __url__: url entry point on documentation
6    @var __version__: version
7    @var __date__: date of the version
8  """  """
9    
10    __author__="John Ngui, john.ngui@uq.edu.au"
11    __copyright__="""  Copyright (c) 2006 by ACcESS MNRF
12                        http://www.access.edu.au
13                    Primary Business: Queensland, Australia"""
14    __license__="""Licensed under the Open Software License version 3.0
15                 http://www.opensource.org/licenses/osl-3.0.php"""
16    __url__="http://www.iservo.edu.au/esys"
17    __version__="$Revision$"
18    __date__="$Date$"
19    
20    
21  import vtk  import vtk
22  from mapper import DataSetMapper  from mapper import DataSetMapper
23  from lookuptable import LookupTable  from lookuptable import LookupTable
# Line 38  class Velocity(DataSetMapper, Actor3D, A Line 54  class Velocity(DataSetMapper, Actor3D, A
54          source is cell data, a conversion to point data may or may not be          source is cell data, a conversion to point data may or may not be
55          required, in order for the object to be rendered correctly.          required, in order for the object to be rendered correctly.
56          If a conversion is needed, the 'cell_to_point' flag must be set to          If a conversion is needed, the 'cell_to_point' flag must be set to
57          'True', otherwise 'False' (which is the default).          'True', otherwise 'False' (which is the default). On occasions, an
58            inaccurate object may be rendered from cell data even after conversion.
59    
60          @type scene: L{Scene <scene.Scene>} object          @type scene: L{Scene <scene.Scene>} object
61          @param scene: Scene in which objects are to be rendered on          @param scene: Scene in which objects are to be rendered on
# Line 211  class VelocityOnPlaneCut(DataSetMapper, Line 228  class VelocityOnPlaneCut(DataSetMapper,
228          source is cell data, a conversion to point data may or may not be          source is cell data, a conversion to point data may or may not be
229          required, in order for the object to be rendered correctly.          required, in order for the object to be rendered correctly.
230          If a conversion is needed, the 'cell_to_point' flag must be set to          If a conversion is needed, the 'cell_to_point' flag must be set to
231          'True', otherwise 'False' (which is the default).          'True', otherwise 'False' (which is the default). On occasions, an
232            inaccurate object may be rendered from cell data even after conversion.
233    
234          @type scene: L{Scene <scene.Scene>} object          @type scene: L{Scene <scene.Scene>} object
235          @param scene: Scene in which objects are to be rendered on          @param scene: Scene in which objects are to be rendered on
# Line 389  class VelocityOnPlaneClip(DataSetMapper, Line 407  class VelocityOnPlaneClip(DataSetMapper,
407          source is cell data, a conversion to point data may or may not be          source is cell data, a conversion to point data may or may not be
408          required, in order for the object to be rendered correctly.          required, in order for the object to be rendered correctly.
409          If a conversion is needed, the 'cell_to_point' flag must be set to          If a conversion is needed, the 'cell_to_point' flag must be set to
410          'True', otherwise 'False' (which is the default).          'True', otherwise 'False' (which is the default). On occasions, an
411            inaccurate object may be rendered from cell data even after conversion.
412    
413          @type scene: L{Scene <scene.Scene>} object          @type scene: L{Scene <scene.Scene>} object
414          @param scene: Scene in which objects are to be rendered on          @param scene: Scene in which objects are to be rendered on

Legend:
Removed from v.1189  
changed lines
  Added in v.1199

  ViewVC Help
Powered by ViewVC 1.1.26