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

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

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

revision 1056 by jongui, Thu Mar 22 06:52:08 2007 UTC revision 1057 by jongui, Thu Mar 22 23:57:37 2007 UTC
# Line 11  from sphere import Sphere Line 11  from sphere import Sphere
11  from normals import Normals  from normals import Normals
12  from glyph import  TensorGlyph  from glyph import  TensorGlyph
13  from outline import Outline  from outline import Outline
14  from point import StructuredPoints, MaskPoints  from point import MaskPoints
 from probe import Probe  
15  from average import CellDataToPointData  from average import CellDataToPointData
16    
17  # NOTE: DataSetMapper, Actor3D, Sphere, Normals, TensorGlyph  # NOTE: DataSetMapper, Actor3D, Sphere, Normals, TensorGlyph
# Line 179  class EllipsoidOnPlaneCut(DataSetMapper, Line 178  class EllipsoidOnPlaneCut(DataSetMapper,
178          Transform.__init__(self)              Transform.__init__(self)    
179          Plane.__init__(self, Transform._getTransform(self))          Plane.__init__(self, Transform._getTransform(self))
180    
         #StructuredPoints.__init__(self, data_collector._getOutput())  
         #Probe.__init__(self, data_collector._getOutput(),  
         #       StructuredPoints._getStructuredPoints(self))  
   
181          if(cell_to_point == True): # Converts cell data to point data.          if(cell_to_point == True): # Converts cell data to point data.
182              c2p = CellDataToPointData(data_collector._getOutput())              c2p = CellDataToPointData(data_collector._getOutput())
183              Cutter.__init__(self, c2p._getOutput(), Plane._getPlane(self))                Cutter.__init__(self, c2p._getOutput(), Plane._getPlane(self))  
# Line 192  class EllipsoidOnPlaneCut(DataSetMapper, Line 187  class EllipsoidOnPlaneCut(DataSetMapper,
187    
188          MaskPoints.__init__(self, Cutter._getOutput(self))          MaskPoints.__init__(self, Cutter._getOutput(self))
189    
         #Cutter.__init__(self, Probe._getOutput(self),  
         #       Plane._getPlane(self))    
   
190          Sphere.__init__(self)          Sphere.__init__(self)
191    
         #TensorGlyph.__init__(self, Cutter._getOutput(self),  
192          TensorGlyph.__init__(self, MaskPoints._getOutput(self),          TensorGlyph.__init__(self, MaskPoints._getOutput(self),
193                  Sphere._getOutput(self))                  Sphere._getOutput(self))
194          Normals.__init__(self, TensorGlyph._getOutput(self))          Normals.__init__(self, TensorGlyph._getOutput(self))
195    
196    
197    
198    
199          DataSetMapper.__init__(self, Normals._getOutput(self),          DataSetMapper.__init__(self, Normals._getOutput(self),
200                  lookup_table._getLookupTable())                  lookup_table._getLookupTable())
201          DataSetMapper._setScalarRange(self, data_collector._getScalarRange())          DataSetMapper._setScalarRange(self, data_collector._getScalarRange())

Legend:
Removed from v.1056  
changed lines
  Added in v.1057

  ViewVC Help
Powered by ViewVC 1.1.26