/[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 992 by jongui, Fri Feb 23 03:35:33 2007 UTC revision 994 by jongui, Fri Feb 23 07:00:54 2007 UTC
# Line 81  class Velocity(DataSetMapper, Actor3D, A Line 81  class Velocity(DataSetMapper, Actor3D, A
81          # scalar and an active vector attribute may be specified at the same          # scalar and an active vector attribute may be specified at the same
82          # time. One may be for the color mode and the other for the          # time. One may be for the color mode and the other for the
83          # scaling mode.          # scaling mode.
84          if(vector != None):          #if(vector != None):
85              data_collector._setActiveVector(vector)          #   data_collector._setActiveVector(vector)
86          if(scalar != None):          #if(scalar != None):
87              data_collector._setActiveScalar(scalar)          #   data_collector._setActiveScalar(scalar)
88    
89          # NOTE: Lookup table color mapping (color or grey scale) MUST be set          # NOTE: Lookup table color mapping (color or grey scale) MUST be set
90          # before DataSetMapper. If it is done after DataSetMapper, no effect          # before DataSetMapper. If it is done after DataSetMapper, no effect
# Line 202  class VelocityOnPlaneCut(DataSetMapper, Line 202  class VelocityOnPlaneCut(DataSetMapper,
202          # scalar and an active vector attribute may be specified at the same          # scalar and an active vector attribute may be specified at the same
203          # time. One may be for the color mode and the other for the          # time. One may be for the color mode and the other for the
204          # scaling mode.          # scaling mode.
205          if(vector != None):          #if(vector != None):
206              data_collector._setActiveVector(vector)          #   data_collector._setActiveVector(vector)
207          if(scalar != None):          #if(scalar != None):
208              data_collector._setActiveScalar(scalar)          #   data_collector._setActiveScalar(scalar)
209    
210          # NOTE: Lookup table color mapping (color or grey scale) MUST be set          # NOTE: Lookup table color mapping (color or grey scale) MUST be set
211          # before DataSetMapper. If it is done after DataSetMapper, no effect          # before DataSetMapper. If it is done after DataSetMapper, no effect
# Line 327  class VelocityOnPlaneClip(DataSetMapper, Line 327  class VelocityOnPlaneClip(DataSetMapper,
327          # scalar and an active vector attribute may be specified at the same          # scalar and an active vector attribute may be specified at the same
328          # time. One may be for the color mode and the other for the          # time. One may be for the color mode and the other for the
329          # scaling mode.          # scaling mode.
330          if(vector != None):          #if(vector != None):
331              data_collector._setActiveVector(vector)          #   data_collector._setActiveVector(vector)
332          if(scalar != None):          #if(scalar != None):
333              data_collector._setActiveScalar(scalar)          #   data_collector._setActiveScalar(scalar)
334    
335          # NOTE: Lookup table color mapping (color or grey scale) MUST be set          # NOTE: Lookup table color mapping (color or grey scale) MUST be set
336          # before DataSetMapper. If it is done after DataSetMapper, no effect          # before DataSetMapper. If it is done after DataSetMapper, no effect

Legend:
Removed from v.992  
changed lines
  Added in v.994

  ViewVC Help
Powered by ViewVC 1.1.26